From 6e48659e77e9305bd2155d6006b6705b6b95eb8e Mon Sep 17 00:00:00 2001 From: Jian Hui Date: Tue, 28 Jul 2026 10:57:27 +0800 Subject: [PATCH] feat: upgrade private endpoint api version to 2025-07-01 --- .../test_acr_with_private_endpoint.yaml | 8 +- .../test_batch_privateendpoint_cmd.yaml | 4 +- ...st_cognitiveservices_private_endpoint.yaml | 6 +- ...eservices_private_endpoint_connection.yaml | 6 +- .../test_cosmosdb_private_endpoint.yaml | 4 +- .../recordings/test_eh_privateendpoint.yaml | 4 +- .../latest/recordings/test_identity_hub.yaml | 4 +- .../test_hsm_private_endpoint_connection.yaml | 6 +- ..._keyvault_private_endpoint_connection.yaml | 4 +- .../test_volume_create_with_cmk.yaml | 4 +- .../network/private_endpoint/_create.py | 1383 +++++++++-------- .../network/private_endpoint/_delete.py | 6 +- .../latest/network/private_endpoint/_list.py | 1282 +++++++-------- .../latest/network/private_endpoint/_show.py | 1249 +++++++-------- .../network/private_endpoint/_update.py | 1376 ++++++++-------- .../latest/network/private_endpoint/_wait.py | 1247 +++++++-------- .../test_abs_privatendpoint_with_default.yaml | 8 +- ...t_appgw_private_endpoint_with_default.yaml | 6 +- ...ivate_endpoint_with_overwrite_default.yaml | 6 +- ...test_chsm_private_endpoint_connection.yaml | 6 +- .../test_disk_access_private_endpoint.yaml | 4 +- ...test_hsm_private_endpoint_connection2.yaml | 6 +- .../test_mariadb_private_link_scenario.yaml | 12 +- .../test_mysql_private_link_scenario.yaml | 12 +- .../test_network_private_endpoint_asg.yaml | 12 +- ...st_network_private_endpoint_edge_zone.yaml | 4 +- ...st_network_private_endpoint_ip_config.yaml | 12 +- ...work_private_endpoint_ip_version_type.yaml | 24 +- ...ivate_endpoint_private_dns_zone_group.yaml | 6 +- .../test_network_private_endpoints.yaml | 12 +- ...test_private_endpoint_connection_acfr.yaml | 8 +- .../test_private_endpoint_connection_acr.yaml | 8 +- ...test_private_endpoint_connection_apim.yaml | 8 +- ...endpoint_connection_app_configuration.yaml | 4 +- ...ate_endpoint_connection_batch_account.yaml | 4 +- ..._private_endpoint_connection_cosmosdb.yaml | 4 +- ...nt_connection_cosmosdb_mongo_clusters.yaml | 4 +- ...endpoint_connection_cosmosdb_postgres.yaml | 4 +- ...vate_endpoint_connection_digitaltwins.yaml | 4 +- ...ivate_endpoint_connection_disk_access.yaml | 4 +- ...int_connection_durable_task_scheduler.yaml | 6 +- ...endpoint_connection_event_grid_domain.yaml | 6 +- ...oint_connection_event_grid_namespaces.yaml | 6 +- ...nection_event_grid_partner_namespaces.yaml | 6 +- ..._endpoint_connection_event_grid_topic.yaml | 6 +- ..._private_endpoint_connection_eventhub.yaml | 4 +- ...endpoint_connection_horizondb_cluster.yaml | 4 +- ..._private_endpoint_connection_keyvault.yaml | 4 +- ...test_private_endpoint_connection_maps.yaml | 8 +- ...ate_endpoint_connection_media_service.yaml | 4 +- ...oint_connection_mysql_flexible_server.yaml | 4 +- ...t_connection_postgres_flexible_server.yaml | 4 +- ...point_connection_powerbi_ignoreReject.yaml | 4 +- ...nection_resourcemanagementprivatelink.yaml | 4 +- ...st_private_endpoint_connection_search.yaml | 4 +- ...ivate_endpoint_connection_service_bus.yaml | 4 +- ...rivate_endpoint_connection_sql_server.yaml | 4 +- ...e_endpoint_connection_storage_account.yaml | 4 +- ...endpoint_connection_synapse_workspace.yaml | 4 +- ...st_private_endpoint_connection_webapp.yaml | 8 +- .../recordings/test_private_endpoint_pls.yaml | 8 +- .../test_private_link_resource_hdinsight.yaml | 4 +- .../tests/latest/test_network_commands.py | 89 ++ ...flexible_server_private_endpoint_mgmt.yaml | 12 +- ...test_private_endpoint_connection_crud.yaml | 4 +- .../recordings/test_sb_privateendpoint.yaml | 4 +- .../test_signalr_private_endpoint_2.yaml | 4 +- ...test_storage_account_private_endpoint.yaml | 4 +- 68 files changed, 3663 insertions(+), 3339 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_with_private_endpoint.yaml b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_with_private_endpoint.yaml index 6baf9904b0e..71bc3f94d7f 100644 --- a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_with_private_endpoint.yaml +++ b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_with_private_endpoint.yaml @@ -598,7 +598,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.13.12 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005?api-version=2025-07-01 response: body: string: '{"name":"priv_endpoint000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005","etag":"W/\"9ebc6fa1-7ab6-4b24-8e7a-1aec1d03b385\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2","properties":{"provisioningState":"Updating","resourceGuid":"d0a19229-3089-4655-b1b8-e3ffc110aacb","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"priv_endpointconn000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005/manualPrivateLinkServiceConnections/priv_endpointconn000006","etag":"W/\"9ebc6fa1-7ab6-4b24-8e7a-1aec1d03b385\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/testreg000002","groupIds":["registry"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -809,7 +809,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.13.12 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005?api-version=2025-07-01 response: body: string: '{"name":"priv_endpoint000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005","etag":"W/\"8a2025e3-1ac7-4472-97ea-4e6e71420c3e\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2","properties":{"provisioningState":"Succeeded","resourceGuid":"d0a19229-3089-4655-b1b8-e3ffc110aacb","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"priv_endpointconn000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005/manualPrivateLinkServiceConnections/priv_endpointconn000006","etag":"W/\"8a2025e3-1ac7-4472-97ea-4e6e71420c3e\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/testreg000002","groupIds":["registry"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000003/subnets/testsubnet000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000005.nic.10884058-9428-4847-91e6-69e9dceb3038"}],"customDnsConfigs":[],"ipVersionType":"IPv4"}}' @@ -1361,7 +1361,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.13.12 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007?api-version=2025-07-01 response: body: string: '{"name":"priv_endpoint000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007","etag":"W/\"9ba1e0c8-692f-43b3-9d80-0569fad06a8d\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2","properties":{"provisioningState":"Updating","resourceGuid":"17c0b07d-5a4c-4b94-b437-4a171b1167ab","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"priv_endpointconn000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007/manualPrivateLinkServiceConnections/priv_endpointconn000008","etag":"W/\"9ba1e0c8-692f-43b3-9d80-0569fad06a8d\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/testreg000002","groupIds":["registry"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -1572,7 +1572,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.13.12 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007?api-version=2025-07-01 response: body: string: '{"name":"priv_endpoint000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007","etag":"W/\"6db6d748-8b29-4e5f-b3df-13d847b85d06\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2","properties":{"provisioningState":"Succeeded","resourceGuid":"17c0b07d-5a4c-4b94-b437-4a171b1167ab","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"priv_endpointconn000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007/manualPrivateLinkServiceConnections/priv_endpointconn000008","etag":"W/\"6db6d748-8b29-4e5f-b3df-13d847b85d06\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/testreg000002","groupIds":["registry"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000003/subnets/testsubnet000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000007.nic.b91e095b-cc94-4e5b-a047-11dc4b084d3d"}],"customDnsConfigs":[],"ipVersionType":"IPv4"}}' diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_privateendpoint_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_privateendpoint_cmd.yaml index fd95e0db83b..d13adfc7605 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_privateendpoint_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_privateendpoint_cmd.yaml @@ -840,7 +840,7 @@ interactions: User-Agent: - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26120-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/clibatchtestpe000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/clibatchtestpe000005?api-version=2025-07-01 response: body: string: '{"name":"clibatchtestpe000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/clibatchtestpe000005","etag":"W/\"c5ec2499-48ae-4d13-b68c-34712f8f62de\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2","properties":{"provisioningState":"Updating","resourceGuid":"18d01f82-91f0-4f24-9823-4c82aaecacc0","privateLinkServiceConnections":[{"name":"clibatchtestpe000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/clibatchtestpe000005/privateLinkServiceConnections/clibatchtestpe000005","etag":"W/\"c5ec2499-48ae-4d13-b68c-34712f8f62de\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","groupIds":["batchAccount"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1092,7 +1092,7 @@ interactions: User-Agent: - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26120-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/clibatchtestpe000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/clibatchtestpe000005?api-version=2025-07-01 response: body: string: '{"name":"clibatchtestpe000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/clibatchtestpe000005","etag":"W/\"4f72e7dc-462f-4845-9de0-85e8da08b040\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2","properties":{"provisioningState":"Succeeded","resourceGuid":"18d01f82-91f0-4f24-9823-4c82aaecacc0","privateLinkServiceConnections":[{"name":"clibatchtestpe000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/clibatchtestpe000005/privateLinkServiceConnections/clibatchtestpe000005","etag":"W/\"4f72e7dc-462f-4845-9de0-85e8da08b040\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","groupIds":["batchAccount"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clibatchtestvn000004/subnets/default"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/clibatchtestpe000005.nic.f8b75101-46df-4239-8ca0-8e29563370a3"}],"customDnsConfigs":[{"fqdn":"clibatchtestacct000003.eastus2.batch.azure.com","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/recordings/test_cognitiveservices_private_endpoint.yaml b/src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/recordings/test_cognitiveservices_private_endpoint.yaml index 063ba2c19f6..caa3f16f66c 100644 --- a/src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/recordings/test_cognitiveservices_private_endpoint.yaml +++ b/src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/recordings/test_cognitiveservices_private_endpoint.yaml @@ -991,7 +991,7 @@ interactions: User-Agent: - AZURECLI/2.78.0 azsdk-python-core/1.35.0 Python/3.12.3 (Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002?api-version=2025-07-01 response: body: string: '{"name":"pecs_cli_test_000002","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002","etag":"W/\"06cf2f89-4b5b-44e4-bb68-f58d2a9e2046\"","type":"Microsoft.Network/privateEndpoints","location":"southcentralus","properties":{"provisioningState":"Updating","resourceGuid":"aeb447cb-3c4f-4b7f-9ca5-6f3720cd39fc","privateLinkServiceConnections":[{"name":"pecs_cli_test_000002","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002/privateLinkServiceConnections/pecs_cli_test_000002","etag":"W/\"06cf2f89-4b5b-44e4-bb68-f58d2a9e2046\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.CognitiveServices/accounts/cs_cli_test_000002","groupIds":["account"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1202,7 +1202,7 @@ interactions: User-Agent: - AZURECLI/2.78.0 azsdk-python-core/1.35.0 Python/3.12.3 (Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002?api-version=2025-07-01 response: body: string: '{"name":"pecs_cli_test_000002","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002","etag":"W/\"67aa0298-51c0-488d-8d25-7bf61c78c64e\"","type":"Microsoft.Network/privateEndpoints","location":"southcentralus","properties":{"provisioningState":"Succeeded","resourceGuid":"aeb447cb-3c4f-4b7f-9ca5-6f3720cd39fc","privateLinkServiceConnections":[{"name":"pecs_cli_test_000002","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002/privateLinkServiceConnections/pecs_cli_test_000002","etag":"W/\"67aa0298-51c0-488d-8d25-7bf61c78c64e\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.CognitiveServices/accounts/cs_cli_test_000002","groupIds":["account"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cs_cli_test_000002/subnets/default"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/pecs_cli_test_000002.nic.e6ec532f-c05b-479c-9b21-0433b0ec9f49"}],"customDnsConfigs":[{"fqdn":"csclitest000003.cognitiveservices.azure.com","ipAddresses":["10.0.0.4"]}]}}' @@ -1362,7 +1362,7 @@ interactions: User-Agent: - AZURECLI/2.78.0 azsdk-python-core/1.35.0 Python/3.12.3 (Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/recordings/test_cognitiveservices_private_endpoint_connection.yaml b/src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/recordings/test_cognitiveservices_private_endpoint_connection.yaml index dbf2c210eac..c16a4ed2a61 100644 --- a/src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/recordings/test_cognitiveservices_private_endpoint_connection.yaml +++ b/src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/recordings/test_cognitiveservices_private_endpoint_connection.yaml @@ -926,7 +926,7 @@ interactions: User-Agent: - AZURECLI/2.78.0 azsdk-python-core/1.35.0 Python/3.12.3 (Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002?api-version=2025-07-01 response: body: string: '{"name":"pecs_cli_test_000002","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002","etag":"W/\"490b50ba-094b-4a53-8a42-1ea65a984fe1\"","type":"Microsoft.Network/privateEndpoints","location":"southcentralus","properties":{"provisioningState":"Updating","resourceGuid":"629bde1d-9695-4bf4-b5ae-06ed6779e610","privateLinkServiceConnections":[{"name":"pecs_cli_test_000002","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002/privateLinkServiceConnections/pecs_cli_test_000002","etag":"W/\"490b50ba-094b-4a53-8a42-1ea65a984fe1\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.CognitiveServices/accounts/cs_cli_test_000002","groupIds":["account"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1137,7 +1137,7 @@ interactions: User-Agent: - AZURECLI/2.78.0 azsdk-python-core/1.35.0 Python/3.12.3 (Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002?api-version=2025-07-01 response: body: string: '{"name":"pecs_cli_test_000002","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002","etag":"W/\"62362306-4173-4b08-8e4a-f8996a40da58\"","type":"Microsoft.Network/privateEndpoints","location":"southcentralus","properties":{"provisioningState":"Succeeded","resourceGuid":"629bde1d-9695-4bf4-b5ae-06ed6779e610","privateLinkServiceConnections":[{"name":"pecs_cli_test_000002","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002/privateLinkServiceConnections/pecs_cli_test_000002","etag":"W/\"62362306-4173-4b08-8e4a-f8996a40da58\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.CognitiveServices/accounts/cs_cli_test_000002","groupIds":["account"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cs_cli_test_000002/subnets/default"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/pecs_cli_test_000002.nic.f830dab4-5d7c-41cb-b707-4d7e7c37dffe"}],"customDnsConfigs":[{"fqdn":"csclitest000003.cognitiveservices.azure.com","ipAddresses":["10.0.0.4"]}]}}' @@ -1789,7 +1789,7 @@ interactions: User-Agent: - AZURECLI/2.78.0 azsdk-python-core/1.35.0 Python/3.12.3 (Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/pecs_cli_test_000002?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_private_endpoint.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_private_endpoint.yaml index e8f556ec80a..438e7c2f73d 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_private_endpoint.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_private_endpoint.yaml @@ -823,7 +823,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.14.3 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"8797be1e-36ef-4039-be0d-d272a8fdf32e\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2","properties":{"provisioningState":"Updating","resourceGuid":"4298c481-8467-4fee-b686-a56b69c85e41","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"8797be1e-36ef-4039-be0d-d272a8fdf32e\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002","groupIds":["Sql"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1416,7 +1416,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.14.3 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"7c90ef12-15e2-4bb8-b75e-d5052c44fd7e\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2","properties":{"provisioningState":"Succeeded","resourceGuid":"4298c481-8467-4fee-b686-a56b69c85e41","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"7c90ef12-15e2-4bb8-b75e-d5052c44fd7e\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002","groupIds":["Sql"],"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.f7aafb6e-17c6-43aa-b64a-a5efeca57c60"}],"customDnsConfigs":[{"fqdn":"cli-test-cosmosdb-pe-000002.documents.azure.com","ipAddresses":["10.0.0.4"]},{"fqdn":"cli-test-cosmosdb-pe-000002-eastus2.documents.azure.com","ipAddresses":["10.0.0.5"]}],"ipVersionType":"IPv4"}}' diff --git a/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/recordings/test_eh_privateendpoint.yaml b/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/recordings/test_eh_privateendpoint.yaml index 4363b061182..c0ccb5ad8e7 100644 --- a/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/recordings/test_eh_privateendpoint.yaml +++ b/src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/recordings/test_eh_privateendpoint.yaml @@ -717,7 +717,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_network000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_network000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_network000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"62f0446b-5a6f-4477-be67-90d7b6a6f765\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"ee69bc71-b30b-450f-8623-d6db23ea801f","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_network000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"62f0446b-5a6f-4477-be67-90d7b6a6f765\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_network000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000002","groupIds":["namespace"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -959,7 +959,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_network000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_network000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_network000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"0dfebba5-fdcb-4af6-befb-0d10c69026ee\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"ee69bc71-b30b-450f-8623-d6db23ea801f","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_network000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"0dfebba5-fdcb-4af6-befb-0d10c69026ee\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_network000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000002","groupIds":["namespace"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_network000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_network000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.b19ef055-8262-46fe-aec1-d38b69bbb2bb"}],"customDnsConfigs":[{"fqdn":"eventhubs-nscli000002.servicebus.windows.net","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_identity_hub.yaml b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_identity_hub.yaml index fe205ec0f8f..95651f803d8 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_identity_hub.yaml +++ b/src/azure-cli/azure/cli/command_modules/iot/tests/latest/recordings/test_identity_hub.yaml @@ -5387,7 +5387,7 @@ interactions: - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.13.7 (Linux-6.8.0-1034-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint?api-version=2025-07-01 response: body: string: '{"name":"iot-private-endpoint","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint","etag":"W/\"f1c5f436-0b8f-4128-8e6f-3a0104231507\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Updating","resourceGuid":"db70b121-2c2c-48d8-8fdd-5decdec92252","privateLinkServiceConnections":[{"name":"iot-private-endpoint-connection","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint/privateLinkServiceConnections/iot-private-endpoint-connection","etag":"W/\"f1c5f436-0b8f-4128-8e6f-3a0104231507\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identitytesthub000003","groupIds":["iotHub"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -5706,7 +5706,7 @@ interactions: - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.13.7 (Linux-6.8.0-1034-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint?api-version=2025-07-01 response: body: string: '{"name":"iot-private-endpoint","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint","etag":"W/\"b40cf280-69b5-439e-a9e5-2a10bbf77176\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Succeeded","resourceGuid":"db70b121-2c2c-48d8-8fdd-5decdec92252","privateLinkServiceConnections":[{"name":"iot-private-endpoint-connection","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/iot-private-endpoint/privateLinkServiceConnections/iot-private-endpoint-connection","etag":"W/\"b40cf280-69b5-439e-a9e5-2a10bbf77176\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Devices/IotHubs/identitytesthub000003","groupIds":["iotHub"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/test-iot-vnet/subnets/subnet1"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/iot-private-endpoint.nic.99d6dbf4-8a8f-4946-ba06-197b24d9cdf0"}],"customDnsConfigs":[{"fqdn":"identitytesthub000003.azure-devices.net","ipAddresses":["10.0.0.4"]},{"fqdn":"iothub-ns-identityte-60085763-5fa1a64808.servicebus.windows.net","ipAddresses":["10.0.0.5"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/keyvault/tests/latest/recordings/test_hsm_private_endpoint_connection.yaml b/src/azure-cli/azure/cli/command_modules/keyvault/tests/latest/recordings/test_hsm_private_endpoint_connection.yaml index 3812d77d063..7a62a31c2d9 100644 --- a/src/azure-cli/azure/cli/command_modules/keyvault/tests/latest/recordings/test_hsm_private_endpoint_connection.yaml +++ b/src/azure-cli/azure/cli/command_modules/keyvault/tests/latest/recordings/test_hsm_private_endpoint_connection.yaml @@ -452,7 +452,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.13.11 (Windows-11-10.0.23570-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"1f0a5bda-4cfb-4134-b99e-7392f5b0e16c\"","type":"Microsoft.Network/privateEndpoints","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"a0e45de2-be48-4808-ad8d-18c9fc66f88f","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"1f0a5bda-4cfb-4134-b99e-7392f5b0e16c\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.KeyVault/managedHSMs/cli-test-hsm-pec-000002","groupIds":["managedhsm"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -867,7 +867,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.13.11 (Windows-11-10.0.23570-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"e0866428-7484-49f5-941b-3f7528a059e4\"","type":"Microsoft.Network/privateEndpoints","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"a0e45de2-be48-4808-ad8d-18c9fc66f88f","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"e0866428-7484-49f5-941b-3f7528a059e4\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.KeyVault/managedHSMs/cli-test-hsm-pec-000002","groupIds":["managedhsm"],"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.16bcd828-d7da-417c-9d24-22351a217694"}],"customDnsConfigs":[{"fqdn":"cli-test-hsm-pec-000002.managedhsm.azure.net","ipAddresses":["10.0.0.4"]}]}}' @@ -2570,7 +2570,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.13.11 (Windows-11-10.0.23570-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/keyvault/tests/latest/recordings/test_keyvault_private_endpoint_connection.yaml b/src/azure-cli/azure/cli/command_modules/keyvault/tests/latest/recordings/test_keyvault_private_endpoint_connection.yaml index a398cc57d94..3b1c1cdf951 100644 --- a/src/azure-cli/azure/cli/command_modules/keyvault/tests/latest/recordings/test_keyvault_private_endpoint_connection.yaml +++ b/src/azure-cli/azure/cli/command_modules/keyvault/tests/latest/recordings/test_keyvault_private_endpoint_connection.yaml @@ -452,7 +452,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.13.11 (Windows-11-10.0.23570-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"624bef07-f502-44d9-983c-d667bc00be0b\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2","properties":{"provisioningState":"Updating","resourceGuid":"5b1e1837-8f85-4293-bd76-d8dba2a9163b","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"624bef07-f502-44d9-983c-d667bc00be0b\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.KeyVault/vaults/cli-test-kv-pec-000002","groupIds":["vault"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -663,7 +663,7 @@ interactions: User-Agent: - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.13.11 (Windows-11-10.0.23570-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"0d8226fe-ae70-4195-a232-a3461d664c14\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2","properties":{"provisioningState":"Succeeded","resourceGuid":"5b1e1837-8f85-4293-bd76-d8dba2a9163b","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"0d8226fe-ae70-4195-a232-a3461d664c14\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.KeyVault/vaults/cli-test-kv-pec-000002","groupIds":["vault"],"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pec000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.fe491406-14dd-4d68-9ebc-50949db0073d"}],"customDnsConfigs":[{"fqdn":"cli-test-kv-pec-000002.vault.azure.net","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_volume_create_with_cmk.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_volume_create_with_cmk.yaml index ec6b40a3b00..675e9269eeb 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_volume_create_with_cmk.yaml +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_volume_create_with_cmk.yaml @@ -1053,7 +1053,7 @@ interactions: User-Agent: - AZURECLI/2.88.0 azsdk-python-core/1.39.0 Python/3.13.14 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_volume_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000008?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_volume_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000008?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_volume_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000008","etag":"W/\"0451a026-81dd-40de-9f78-11de3de38fcf\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","tags":{"CreatedOnDate":"2026-07-21T22:00:42.6679687Z"},"properties":{"provisioningState":"Updating","resourceGuid":"04e2d070-577c-4572-86b0-c5311aa338aa","privateLinkServiceConnections":[{"name":"cli-pe-000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_volume_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000008/privateLinkServiceConnections/cli-pe-000008","etag":"W/\"0451a026-81dd-40de-9f78-11de3de38fcf\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_volume_000001/providers/Microsoft.KeyVault/vaults/clikv000006","groupIds":["vault"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1273,7 +1273,7 @@ interactions: User-Agent: - AZURECLI/2.88.0 azsdk-python-core/1.39.0 Python/3.13.14 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_volume_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000008?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_volume_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000008?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_volume_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000008","etag":"W/\"cb28f827-f333-47a6-a236-c201c70ff9d6\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","tags":{"CreatedOnDate":"2026-07-21T22:00:42.6679687Z"},"properties":{"provisioningState":"Succeeded","resourceGuid":"04e2d070-577c-4572-86b0-c5311aa338aa","privateLinkServiceConnections":[{"name":"cli-pe-000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_volume_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000008/privateLinkServiceConnections/cli-pe-000008","etag":"W/\"cb28f827-f333-47a6-a236-c201c70ff9d6\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_volume_000001/providers/Microsoft.KeyVault/vaults/clikv000006","groupIds":["vault"],"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_volume_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-cmp-sn-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_volume_000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000008.nic.b2fbccf5-ece3-44d6-b7b2-3cfc6c2829e1"}],"customDnsConfigs":[{"fqdn":"clikv000006.vault.azure.net","ipAddresses":["10.0.2.4"]}],"ipVersionType":"IPv4"}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_create.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_create.py index 15b512dd3fb..2bc18a7b476 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_create.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_create.py @@ -28,9 +28,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2025-05-01", + "version": "2025-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privateendpoints/{}", "2025-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privateendpoints/{}", "2025-07-01"], ] } @@ -76,9 +76,6 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema.subnet_id = AAZResourceIdArg( options=["--subnet-id"], help="Resource ID.Name or ID of an existing subnet. If name specified, also specify --vnet-name. If you want to use an existing subnet in other resource group or subscription, please provide the ID instead of the name of the subnet and do not specify the--vnet-name.", - fmt=AAZResourceIdArgFormat( - template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/subnets/{}", - ), ) _args_schema.tags = AAZDictArg( options=["--tags"], @@ -105,9 +102,6 @@ def _build_arguments_schema(cls, *args, **kwargs): _element.id = AAZResourceIdArg( options=["id"], help="Resource ID.", - fmt=AAZResourceIdArgFormat( - template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/applicationSecurityGroups/{}", - ), ) # define Arg Group "ExtendedLocation" @@ -125,6 +119,12 @@ def _build_arguments_schema(cls, *args, **kwargs): # define Arg Group "Properties" _args_schema = cls._args_schema + _args_schema.billing_sku = AAZStrArg( + options=["--billing-sku"], + arg_group="Properties", + help="The billing sku of the private endpoint.", + enum={"Fixed": "Fixed", "PayAsYouGo": "PayAsYouGo"}, + ) _args_schema.ip_version_type = AAZStrArg( options=["--ip-version-type"], arg_group="Properties", @@ -162,7 +162,7 @@ def _build_arguments_schema(cls, *args, **kwargs): arg_group="Properties", help="Reference to an existing service gateway.", ) - cls._build_args_sub_resource_create(_args_schema.service_gateway) + cls._build_args_common_sub_resource_create(_args_schema.service_gateway) _args_schema.sharing_scope = AAZStrArg( options=["--sharing-scope"], arg_group="Properties", @@ -172,11 +172,11 @@ def _build_arguments_schema(cls, *args, **kwargs): manual_private_link_service_connections = cls._args_schema.manual_private_link_service_connections manual_private_link_service_connections.Element = AAZObjectArg() - cls._build_args_private_link_service_connection_create(manual_private_link_service_connections.Element) + cls._build_args_common_private_link_service_connection_create(manual_private_link_service_connections.Element) private_link_service_connections = cls._args_schema.private_link_service_connections private_link_service_connections.Element = AAZObjectArg() - cls._build_args_private_link_service_connection_create(private_link_service_connections.Element) + cls._build_args_common_private_link_service_connection_create(private_link_service_connections.Element) application_gateway_ip_configurations = cls._args_schema.application_gateway_ip_configurations application_gateway_ip_configurations.Element = AAZObjectArg() @@ -194,7 +194,7 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["subnet"], help="Reference to the subnet resource. A subnet from where application gateway gets its private address.", ) - cls._build_args_sub_resource_create(_element.subnet) + cls._build_args_common_sub_resource_create(_element.subnet) ipam_pool_prefix_allocations = cls._args_schema.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectArg() @@ -243,72 +243,81 @@ def _build_arguments_schema(cls, *args, **kwargs): # define Arg Group "Subnet" return cls._args_schema - _args_application_security_group_create = None + _args_common_application_security_group_create = None @classmethod - def _build_args_application_security_group_create(cls, _schema): - if cls._args_application_security_group_create is not None: - _schema.id = cls._args_application_security_group_create.id + def _build_args_common_application_security_group_create(cls, _schema): + if cls._args_common_application_security_group_create is not None: + _schema.location = cls._args_common_application_security_group_create.location + _schema.tags = cls._args_common_application_security_group_create.tags return - cls._args_application_security_group_create = AAZObjectArg() + cls._args_common_application_security_group_create = AAZObjectArg() - application_security_group_create = cls._args_application_security_group_create - application_security_group_create.id = AAZResourceIdArg( - options=["id"], - help="Resource ID.", - fmt=AAZResourceIdArgFormat( - template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/applicationSecurityGroups/{}", + common_application_security_group_create = cls._args_common_application_security_group_create + common_application_security_group_create.location = AAZResourceLocationArg( + options=["l", "location"], + help="Resource location.", + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", ), ) + common_application_security_group_create.tags = AAZDictArg( + options=["tags"], + help="Resource tags.", + ) + + tags = cls._args_common_application_security_group_create.tags + tags.Element = AAZStrArg() - _schema.id = cls._args_application_security_group_create.id + _schema.location = cls._args_common_application_security_group_create.location + _schema.tags = cls._args_common_application_security_group_create.tags - _args_private_link_service_connection_create = None + _args_common_private_link_service_connection_create = None @classmethod - def _build_args_private_link_service_connection_create(cls, _schema): - if cls._args_private_link_service_connection_create is not None: - _schema.group_ids = cls._args_private_link_service_connection_create.group_ids - _schema.id = cls._args_private_link_service_connection_create.id - _schema.name = cls._args_private_link_service_connection_create.name - _schema.private_link_service_connection_state = cls._args_private_link_service_connection_create.private_link_service_connection_state - _schema.private_link_service_id = cls._args_private_link_service_connection_create.private_link_service_id - _schema.request_message = cls._args_private_link_service_connection_create.request_message + def _build_args_common_private_link_service_connection_create(cls, _schema): + if cls._args_common_private_link_service_connection_create is not None: + _schema.group_ids = cls._args_common_private_link_service_connection_create.group_ids + _schema.id = cls._args_common_private_link_service_connection_create.id + _schema.name = cls._args_common_private_link_service_connection_create.name + _schema.private_link_service_connection_state = cls._args_common_private_link_service_connection_create.private_link_service_connection_state + _schema.private_link_service_id = cls._args_common_private_link_service_connection_create.private_link_service_id + _schema.request_message = cls._args_common_private_link_service_connection_create.request_message return - cls._args_private_link_service_connection_create = AAZObjectArg() + cls._args_common_private_link_service_connection_create = AAZObjectArg() - private_link_service_connection_create = cls._args_private_link_service_connection_create - private_link_service_connection_create.id = AAZStrArg( + common_private_link_service_connection_create = cls._args_common_private_link_service_connection_create + common_private_link_service_connection_create.id = AAZStrArg( options=["id"], help="Resource ID.", ) - private_link_service_connection_create.name = AAZStrArg( + common_private_link_service_connection_create.name = AAZStrArg( options=["name"], help="The name of the resource that is unique within a resource group. This name can be used to access the resource.", ) - private_link_service_connection_create.group_ids = AAZListArg( + common_private_link_service_connection_create.group_ids = AAZListArg( options=["group-ids"], help="The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.", ) - private_link_service_connection_create.private_link_service_connection_state = AAZObjectArg( + common_private_link_service_connection_create.private_link_service_connection_state = AAZObjectArg( options=["private-link-service-connection-state"], help="A collection of read-only information about the state of the connection to the remote resource.", ) - private_link_service_connection_create.private_link_service_id = AAZStrArg( + common_private_link_service_connection_create.private_link_service_id = AAZStrArg( options=["private-link-service-id"], help="The resource id of private link service.", ) - private_link_service_connection_create.request_message = AAZStrArg( + common_private_link_service_connection_create.request_message = AAZStrArg( options=["request-message"], help="A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.", ) - group_ids = cls._args_private_link_service_connection_create.group_ids + group_ids = cls._args_common_private_link_service_connection_create.group_ids group_ids.Element = AAZStrArg() - private_link_service_connection_state = cls._args_private_link_service_connection_create.private_link_service_connection_state + private_link_service_connection_state = cls._args_common_private_link_service_connection_create.private_link_service_connection_state private_link_service_connection_state.actions_required = AAZStrArg( options=["actions-required"], help="A message indicating if changes on the service provider require any updates on the consumer.", @@ -322,30 +331,30 @@ def _build_args_private_link_service_connection_create(cls, _schema): help="Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", ) - _schema.group_ids = cls._args_private_link_service_connection_create.group_ids - _schema.id = cls._args_private_link_service_connection_create.id - _schema.name = cls._args_private_link_service_connection_create.name - _schema.private_link_service_connection_state = cls._args_private_link_service_connection_create.private_link_service_connection_state - _schema.private_link_service_id = cls._args_private_link_service_connection_create.private_link_service_id - _schema.request_message = cls._args_private_link_service_connection_create.request_message + _schema.group_ids = cls._args_common_private_link_service_connection_create.group_ids + _schema.id = cls._args_common_private_link_service_connection_create.id + _schema.name = cls._args_common_private_link_service_connection_create.name + _schema.private_link_service_connection_state = cls._args_common_private_link_service_connection_create.private_link_service_connection_state + _schema.private_link_service_id = cls._args_common_private_link_service_connection_create.private_link_service_id + _schema.request_message = cls._args_common_private_link_service_connection_create.request_message - _args_sub_resource_create = None + _args_common_sub_resource_create = None @classmethod - def _build_args_sub_resource_create(cls, _schema): - if cls._args_sub_resource_create is not None: - _schema.id = cls._args_sub_resource_create.id + def _build_args_common_sub_resource_create(cls, _schema): + if cls._args_common_sub_resource_create is not None: + _schema.id = cls._args_common_sub_resource_create.id return - cls._args_sub_resource_create = AAZObjectArg() + cls._args_common_sub_resource_create = AAZObjectArg() - sub_resource_create = cls._args_sub_resource_create - sub_resource_create.id = AAZStrArg( + common_sub_resource_create = cls._args_common_sub_resource_create + common_sub_resource_create.id = AAZStrArg( options=["id"], help="Resource ID.", ) - _schema.id = cls._args_sub_resource_create.id + _schema.id = cls._args_common_sub_resource_create.id def _execute_operations(self): self.pre_operations() @@ -428,7 +437,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -466,6 +475,7 @@ def content(self): properties = _builder.get(".properties") if properties is not None: properties.set_prop("applicationSecurityGroups", AAZListType, ".asgs") + properties.set_prop("billingSku", AAZStrType, ".billing_sku") properties.set_prop("customNetworkInterfaceName", AAZStrType, ".nic_name") properties.set_prop("ipConfigurations", AAZListType, ".ip_configs") properties.set_prop("ipVersionType", AAZStrType, ".ip_version_type") @@ -498,11 +508,11 @@ def content(self): manual_private_link_service_connections = _builder.get(".properties.manualPrivateLinkServiceConnections") if manual_private_link_service_connections is not None: - _CreateHelper._build_schema_private_link_service_connection_create(manual_private_link_service_connections.set_elements(AAZObjectType, ".")) + _CreateHelper._build_schema_common_private_link_service_connection_create(manual_private_link_service_connections.set_elements(AAZObjectType, ".")) private_link_service_connections = _builder.get(".properties.privateLinkServiceConnections") if private_link_service_connections is not None: - _CreateHelper._build_schema_private_link_service_connection_create(private_link_service_connections.set_elements(AAZObjectType, ".")) + _CreateHelper._build_schema_common_private_link_service_connection_create(private_link_service_connections.set_elements(AAZObjectType, ".")) subnet = _builder.get(".properties.subnet") if subnet is not None: @@ -514,7 +524,7 @@ def content(self): properties.set_prop("applicationGatewayIPConfigurations", AAZListType, ".application_gateway_ip_configurations") properties.set_prop("defaultOutboundAccess", AAZBoolType, ".default_outbound_access") properties.set_prop("ipamPoolPrefixAllocations", AAZListType, ".ipam_pool_prefix_allocations") - _CreateHelper._build_schema_sub_resource_create(properties.set_prop("serviceGateway", AAZObjectType, ".service_gateway")) + _CreateHelper._build_schema_common_sub_resource_create(properties.set_prop("serviceGateway", AAZObjectType, ".service_gateway")) properties.set_prop("sharingScope", AAZStrType, ".sharing_scope") application_gateway_ip_configurations = _builder.get(".properties.subnet.properties.applicationGatewayIPConfigurations") @@ -529,7 +539,7 @@ def content(self): properties = _builder.get(".properties.subnet.properties.applicationGatewayIPConfigurations[].properties") if properties is not None: - _CreateHelper._build_schema_sub_resource_create(properties.set_prop("subnet", AAZObjectType, ".subnet")) + _CreateHelper._build_schema_common_sub_resource_create(properties.set_prop("subnet", AAZObjectType, ".subnet")) ipam_pool_prefix_allocations = _builder.get(".properties.subnet.properties.ipamPoolPrefixAllocations") if ipam_pool_prefix_allocations is not None: @@ -566,7 +576,7 @@ def _build_schema_on_200_201(cls): return cls._schema_on_200_201 cls._schema_on_200_201 = AAZObjectType() - _CreateHelper._build_schema_private_endpoint_read(cls._schema_on_200_201) + _CreateHelper._build_schema_common_private_endpoint_read(cls._schema_on_200_201) return cls._schema_on_200_201 @@ -575,13 +585,18 @@ class _CreateHelper: """Helper class for Create""" @classmethod - def _build_schema_application_security_group_create(cls, _builder): + def _build_schema_common_application_security_group_create(cls, _builder): if _builder is None: return - _builder.set_prop("id", AAZStrType, ".id") + _builder.set_prop("location", AAZStrType, ".location") + _builder.set_prop("tags", AAZDictType, ".tags") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") @classmethod - def _build_schema_private_link_service_connection_create(cls, _builder): + def _build_schema_common_private_link_service_connection_create(cls, _builder): if _builder is None: return _builder.set_prop("id", AAZStrType, ".id") @@ -606,45 +621,45 @@ def _build_schema_private_link_service_connection_create(cls, _builder): private_link_service_connection_state.set_prop("status", AAZStrType, ".status") @classmethod - def _build_schema_sub_resource_create(cls, _builder): + def _build_schema_common_sub_resource_create(cls, _builder): if _builder is None: return _builder.set_prop("id", AAZStrType, ".id") - _schema_application_security_group_read = None + _schema_common_application_security_group_read = None @classmethod - def _build_schema_application_security_group_read(cls, _schema): - if cls._schema_application_security_group_read is not None: - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + def _build_schema_common_application_security_group_read(cls, _schema): + if cls._schema_common_application_security_group_read is not None: + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type return - cls._schema_application_security_group_read = _schema_application_security_group_read = AAZObjectType() + cls._schema_common_application_security_group_read = _schema_common_application_security_group_read = AAZObjectType() - application_security_group_read = _schema_application_security_group_read - application_security_group_read.etag = AAZStrType( + common_application_security_group_read = _schema_common_application_security_group_read + common_application_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.id = AAZStrType() - application_security_group_read.location = AAZStrType() - application_security_group_read.name = AAZStrType( + common_application_security_group_read.id = AAZStrType() + common_application_security_group_read.location = AAZStrType() + common_application_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.properties = AAZObjectType( + common_application_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - application_security_group_read.tags = AAZDictType() - application_security_group_read.type = AAZStrType( + common_application_security_group_read.tags = AAZDictType() + common_application_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_application_security_group_read.properties + properties = _schema_common_application_security_group_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -654,69 +669,72 @@ def _build_schema_application_security_group_read(cls, _schema): flags={"read_only": True}, ) - tags = _schema_application_security_group_read.tags + tags = _schema_common_application_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type - _schema_extended_location_read = None + _schema_common_extended_location_read = None @classmethod - def _build_schema_extended_location_read(cls, _schema): - if cls._schema_extended_location_read is not None: - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + def _build_schema_common_extended_location_read(cls, _schema): + if cls._schema_common_extended_location_read is not None: + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type return - cls._schema_extended_location_read = _schema_extended_location_read = AAZObjectType() + cls._schema_common_extended_location_read = _schema_common_extended_location_read = AAZObjectType() - extended_location_read = _schema_extended_location_read - extended_location_read.name = AAZStrType() - extended_location_read.type = AAZStrType() + common_extended_location_read = _schema_common_extended_location_read + common_extended_location_read.name = AAZStrType() + common_extended_location_read.type = AAZStrType() - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type - _schema_frontend_ip_configuration_read = None + _schema_common_frontend_ip_configuration_read = None @classmethod - def _build_schema_frontend_ip_configuration_read(cls, _schema): - if cls._schema_frontend_ip_configuration_read is not None: - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + def _build_schema_common_frontend_ip_configuration_read(cls, _schema): + if cls._schema_common_frontend_ip_configuration_read is not None: + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones return - cls._schema_frontend_ip_configuration_read = _schema_frontend_ip_configuration_read = AAZObjectType() + cls._schema_common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read = AAZObjectType() - frontend_ip_configuration_read = _schema_frontend_ip_configuration_read - frontend_ip_configuration_read.etag = AAZStrType( + common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read + common_frontend_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.id = AAZStrType() - frontend_ip_configuration_read.name = AAZStrType() - frontend_ip_configuration_read.properties = AAZObjectType( + common_frontend_ip_configuration_read.id = AAZStrType() + common_frontend_ip_configuration_read.name = AAZStrType() + common_frontend_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - frontend_ip_configuration_read.type = AAZStrType( + common_frontend_ip_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.zones = AAZListType() + common_frontend_ip_configuration_read.zones = AAZListType() - properties = _schema_frontend_ip_configuration_read.properties + properties = _schema_common_frontend_ip_configuration_read.properties + properties.ddos_settings = AAZObjectType( + serialized_name="ddosSettings", + ) properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.inbound_nat_pools = AAZListType( serialized_name="inboundNatPools", flags={"read_only": True}, @@ -749,66 +767,72 @@ def _build_schema_frontend_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) + + ddos_settings = _schema_common_frontend_ip_configuration_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) - inbound_nat_pools = _schema_frontend_ip_configuration_read.properties.inbound_nat_pools + inbound_nat_pools = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_pools inbound_nat_pools.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_pools.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_pools.Element) - inbound_nat_rules = _schema_frontend_ip_configuration_read.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancing_rules = _schema_frontend_ip_configuration_read.properties.load_balancing_rules + load_balancing_rules = _schema_common_frontend_ip_configuration_read.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_frontend_ip_configuration_read.properties.outbound_rules + outbound_rules = _schema_common_frontend_ip_configuration_read.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - zones = _schema_frontend_ip_configuration_read.zones + zones = _schema_common_frontend_ip_configuration_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones - _schema_ip_configuration_read = None + _schema_common_ip_configuration_read = None @classmethod - def _build_schema_ip_configuration_read(cls, _schema): - if cls._schema_ip_configuration_read is not None: - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + def _build_schema_common_ip_configuration_read(cls, _schema): + if cls._schema_common_ip_configuration_read is not None: + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties return - cls._schema_ip_configuration_read = _schema_ip_configuration_read = AAZObjectType( + cls._schema_common_ip_configuration_read = _schema_common_ip_configuration_read = AAZObjectType( flags={"read_only": True} ) - ip_configuration_read = _schema_ip_configuration_read - ip_configuration_read.etag = AAZStrType( + common_ip_configuration_read = _schema_common_ip_configuration_read + common_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - ip_configuration_read.id = AAZStrType() - ip_configuration_read.name = AAZStrType() - ip_configuration_read.properties = AAZObjectType( + common_ip_configuration_read.id = AAZStrType() + common_ip_configuration_read.name = AAZStrType() + common_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_ip_configuration_read.properties + properties = _schema_common_ip_configuration_read.properties properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", ) @@ -822,41 +846,43 @@ def _build_schema_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties - _schema_network_interface_ip_configuration_read = None + _schema_common_network_interface_ip_configuration_read = None @classmethod - def _build_schema_network_interface_ip_configuration_read(cls, _schema): - if cls._schema_network_interface_ip_configuration_read is not None: - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + def _build_schema_common_network_interface_ip_configuration_read(cls, _schema): + if cls._schema_common_network_interface_ip_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type return - cls._schema_network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read = AAZObjectType() + cls._schema_common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read = AAZObjectType() - network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read - network_interface_ip_configuration_read.etag = AAZStrType( + common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read + common_network_interface_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_ip_configuration_read.id = AAZStrType() - network_interface_ip_configuration_read.name = AAZStrType() - network_interface_ip_configuration_read.properties = AAZObjectType( + common_network_interface_ip_configuration_read.id = AAZStrType() + common_network_interface_ip_configuration_read.name = AAZStrType() + common_network_interface_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_ip_configuration_read.type = AAZStrType() + common_network_interface_ip_configuration_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_network_interface_ip_configuration_read.properties + properties = _schema_common_network_interface_ip_configuration_read.properties properties.application_gateway_backend_address_pools = AAZListType( serialized_name="applicationGatewayBackendAddressPools", ) @@ -866,7 +892,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.load_balancer_backend_address_pools = AAZListType( serialized_name="loadBalancerBackendAddressPools", ) @@ -898,17 +924,17 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) properties.virtual_network_taps = AAZListType( serialized_name="virtualNetworkTaps", ) - application_gateway_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools + application_gateway_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools application_gateway_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -921,7 +947,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties properties.backend_addresses = AAZListType( serialized_name="backendAddresses", ) @@ -934,27 +960,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - backend_addresses = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses + backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element _element.fqdn = AAZStrType() _element.ip_address = AAZStrType( serialized_name="ipAddress", ) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - application_security_groups = _schema_network_interface_ip_configuration_read.properties.application_security_groups + application_security_groups = _schema_common_network_interface_ip_configuration_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - load_balancer_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools + load_balancer_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools load_balancer_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -967,7 +993,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties properties.backend_ip_configurations = AAZListType( serialized_name="backendIPConfigurations", flags={"read_only": True}, @@ -991,7 +1017,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="outboundRule", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.outbound_rule) + cls._build_schema_common_sub_resource_read(properties.outbound_rule) properties.outbound_rules = AAZListType( serialized_name="outboundRules", flags={"read_only": True}, @@ -1009,26 +1035,26 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancer_backend_addresses = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses + load_balancer_backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses load_balancer_backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element _element.name = AAZStrType() _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties properties.admin_state = AAZStrType( serialized_name="adminState", ) @@ -1042,23 +1068,23 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.load_balancer_frontend_ip_configuration = AAZObjectType( serialized_name="loadBalancerFrontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.load_balancer_frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.load_balancer_frontend_ip_configuration) properties.network_interface_ip_configuration = AAZObjectType( serialized_name="networkInterfaceIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.network_interface_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.network_interface_ip_configuration) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - inbound_nat_rules_port_mapping = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping + inbound_nat_rules_port_mapping = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping inbound_nat_rules_port_mapping.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element _element.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -1069,27 +1095,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="inboundNatRuleName", ) - load_balancing_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules + load_balancing_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules + outbound_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - tunnel_interfaces = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces + tunnel_interfaces = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces tunnel_interfaces.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element _element.identifier = AAZIntType() _element.port = AAZIntType() _element.protocol = AAZStrType() _element.type = AAZStrType() - load_balancer_inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules + load_balancer_inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules load_balancer_inbound_nat_rules.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1102,16 +1128,16 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties properties.backend_address_pool = AAZObjectType( serialized_name="backendAddressPool", ) - cls._build_schema_sub_resource_read(properties.backend_address_pool) + cls._build_schema_common_sub_resource_read(properties.backend_address_pool) properties.backend_ip_configuration = AAZObjectType( serialized_name="backendIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_network_interface_ip_configuration_read(properties.backend_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.backend_ip_configuration) properties.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -1124,7 +1150,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.frontend_ip_configuration = AAZObjectType( serialized_name="frontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.frontend_ip_configuration) properties.frontend_port = AAZIntType( serialized_name="frontendPort", ) @@ -1143,7 +1169,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - private_link_connection_properties = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties + private_link_connection_properties = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties private_link_connection_properties.fqdns = AAZListType( flags={"read_only": True}, ) @@ -1156,47 +1182,47 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - fqdns = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns + fqdns = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns fqdns.Element = AAZStrType() - virtual_network_taps = _schema_network_interface_ip_configuration_read.properties.virtual_network_taps + virtual_network_taps = _schema_common_network_interface_ip_configuration_read.properties.virtual_network_taps virtual_network_taps.Element = AAZObjectType() - cls._build_schema_virtual_network_tap_read(virtual_network_taps.Element) + cls._build_schema_common_virtual_network_tap_read(virtual_network_taps.Element) - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type - _schema_network_interface_tap_configuration_read = None + _schema_common_network_interface_tap_configuration_read = None @classmethod - def _build_schema_network_interface_tap_configuration_read(cls, _schema): - if cls._schema_network_interface_tap_configuration_read is not None: - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + def _build_schema_common_network_interface_tap_configuration_read(cls, _schema): + if cls._schema_common_network_interface_tap_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type return - cls._schema_network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read = AAZObjectType() + cls._schema_common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read = AAZObjectType() - network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read - network_interface_tap_configuration_read.etag = AAZStrType( + common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read + common_network_interface_tap_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_tap_configuration_read.id = AAZStrType() - network_interface_tap_configuration_read.name = AAZStrType() - network_interface_tap_configuration_read.properties = AAZObjectType( + common_network_interface_tap_configuration_read.id = AAZStrType() + common_network_interface_tap_configuration_read.name = AAZStrType() + common_network_interface_tap_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_tap_configuration_read.type = AAZStrType( + common_network_interface_tap_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_tap_configuration_read.properties + properties = _schema_common_network_interface_tap_configuration_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -1204,53 +1230,53 @@ def _build_schema_network_interface_tap_configuration_read(cls, _schema): properties.virtual_network_tap = AAZObjectType( serialized_name="virtualNetworkTap", ) - cls._build_schema_virtual_network_tap_read(properties.virtual_network_tap) + cls._build_schema_common_virtual_network_tap_read(properties.virtual_network_tap) - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type - _schema_network_interface_read = None + _schema_common_network_interface_read = None @classmethod - def _build_schema_network_interface_read(cls, _schema): - if cls._schema_network_interface_read is not None: - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + def _build_schema_common_network_interface_read(cls, _schema): + if cls._schema_common_network_interface_read is not None: + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type return - cls._schema_network_interface_read = _schema_network_interface_read = AAZObjectType() + cls._schema_common_network_interface_read = _schema_common_network_interface_read = AAZObjectType() - network_interface_read = _schema_network_interface_read - network_interface_read.etag = AAZStrType( + common_network_interface_read = _schema_common_network_interface_read + common_network_interface_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_read.extended_location = AAZObjectType( + common_network_interface_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(network_interface_read.extended_location) - network_interface_read.id = AAZStrType() - network_interface_read.location = AAZStrType() - network_interface_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_network_interface_read.extended_location) + common_network_interface_read.id = AAZStrType() + common_network_interface_read.location = AAZStrType() + common_network_interface_read.name = AAZStrType( flags={"read_only": True}, ) - network_interface_read.properties = AAZObjectType( + common_network_interface_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_read.tags = AAZDictType() - network_interface_read.type = AAZStrType( + common_network_interface_read.tags = AAZDictType() + common_network_interface_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties + properties = _schema_common_network_interface_read.properties properties.auxiliary_mode = AAZStrType( serialized_name="auxiliaryMode", ) @@ -1271,7 +1297,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="dscpConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.dscp_configuration) + cls._build_schema_common_sub_resource_read(properties.dscp_configuration) properties.enable_accelerated_networking = AAZBoolType( serialized_name="enableAcceleratedNetworking", ) @@ -1295,7 +1321,7 @@ def _build_schema_network_interface_read(cls, _schema): properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.nic_type = AAZStrType( serialized_name="nicType", ) @@ -1306,7 +1332,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_link_service = AAZObjectType( serialized_name="privateLinkService", ) @@ -1326,7 +1352,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="virtualMachine", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.virtual_machine) + cls._build_schema_common_sub_resource_read(properties.virtual_machine) properties.vnet_encryption_supported = AAZBoolType( serialized_name="vnetEncryptionSupported", flags={"read_only": True}, @@ -1335,7 +1361,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="workloadType", ) - dns_settings = _schema_network_interface_read.properties.dns_settings + dns_settings = _schema_common_network_interface_read.properties.dns_settings dns_settings.applied_dns_servers = AAZListType( serialized_name="appliedDnsServers", flags={"read_only": True}, @@ -1355,27 +1381,27 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - applied_dns_servers = _schema_network_interface_read.properties.dns_settings.applied_dns_servers + applied_dns_servers = _schema_common_network_interface_read.properties.dns_settings.applied_dns_servers applied_dns_servers.Element = AAZStrType() - dns_servers = _schema_network_interface_read.properties.dns_settings.dns_servers + dns_servers = _schema_common_network_interface_read.properties.dns_settings.dns_servers dns_servers.Element = AAZStrType() - hosted_workloads = _schema_network_interface_read.properties.hosted_workloads + hosted_workloads = _schema_common_network_interface_read.properties.hosted_workloads hosted_workloads.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(ip_configurations.Element) - private_link_service = _schema_network_interface_read.properties.private_link_service + private_link_service = _schema_common_network_interface_read.properties.private_link_service private_link_service.etag = AAZStrType( flags={"read_only": True}, ) private_link_service.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_link_service.extended_location) + cls._build_schema_common_extended_location_read(private_link_service.extended_location) private_link_service.id = AAZStrType() private_link_service.location = AAZStrType() private_link_service.name = AAZStrType( @@ -1389,7 +1415,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties properties.access_mode = AAZStrType( serialized_name="accessMode", ) @@ -1426,19 +1452,19 @@ def _build_schema_network_interface_read(cls, _schema): ) properties.visibility = AAZObjectType() - auto_approval = _schema_network_interface_read.properties.private_link_service.properties.auto_approval + auto_approval = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval auto_approval.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions subscriptions.Element = AAZStrType() - fqdns = _schema_network_interface_read.properties.private_link_service.properties.fqdns + fqdns = _schema_common_network_interface_read.properties.private_link_service.properties.fqdns fqdns.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1451,7 +1477,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties properties.primary = AAZBoolType() properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", @@ -1467,20 +1493,20 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - load_balancer_frontend_ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations + load_balancer_frontend_ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations load_balancer_frontend_ip_configurations.Element = AAZObjectType() - cls._build_schema_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) + cls._build_schema_common_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) - network_interfaces = _schema_network_interface_read.properties.private_link_service.properties.network_interfaces + network_interfaces = _schema_common_network_interface_read.properties.private_link_service.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_endpoint_connections = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections + private_endpoint_connections = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1493,7 +1519,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties properties.link_identifier = AAZStrType( serialized_name="linkIdentifier", flags={"read_only": True}, @@ -1502,7 +1528,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_endpoint_location = AAZStrType( serialized_name="privateEndpointLocation", flags={"read_only": True}, @@ -1510,71 +1536,71 @@ def _build_schema_network_interface_read(cls, _schema): properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) - visibility = _schema_network_interface_read.properties.private_link_service.properties.visibility + visibility = _schema_common_network_interface_read.properties.private_link_service.properties.visibility visibility.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.visibility.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.visibility.subscriptions subscriptions.Element = AAZStrType() - tags = _schema_network_interface_read.properties.private_link_service.tags + tags = _schema_common_network_interface_read.properties.private_link_service.tags tags.Element = AAZStrType() - tap_configurations = _schema_network_interface_read.properties.tap_configurations + tap_configurations = _schema_common_network_interface_read.properties.tap_configurations tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(tap_configurations.Element) - tags = _schema_network_interface_read.tags + tags = _schema_common_network_interface_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type - _schema_network_security_group_read = None + _schema_common_network_security_group_read = None @classmethod - def _build_schema_network_security_group_read(cls, _schema): - if cls._schema_network_security_group_read is not None: - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + def _build_schema_common_network_security_group_read(cls, _schema): + if cls._schema_common_network_security_group_read is not None: + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type return - cls._schema_network_security_group_read = _schema_network_security_group_read = AAZObjectType() + cls._schema_common_network_security_group_read = _schema_common_network_security_group_read = AAZObjectType() - network_security_group_read = _schema_network_security_group_read - network_security_group_read.etag = AAZStrType( + common_network_security_group_read = _schema_common_network_security_group_read + common_network_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.id = AAZStrType() - network_security_group_read.location = AAZStrType() - network_security_group_read.name = AAZStrType( + common_network_security_group_read.id = AAZStrType() + common_network_security_group_read.location = AAZStrType() + common_network_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.properties = AAZObjectType( + common_network_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_security_group_read.tags = AAZDictType() - network_security_group_read.type = AAZStrType( + common_network_security_group_read.tags = AAZDictType() + common_network_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties + properties = _schema_common_network_security_group_read.properties properties.default_security_rules = AAZListType( serialized_name="defaultSecurityRules", flags={"read_only": True}, @@ -1605,14 +1631,14 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - default_security_rules = _schema_network_security_group_read.properties.default_security_rules + default_security_rules = _schema_common_network_security_group_read.properties.default_security_rules default_security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(default_security_rules.Element) + cls._build_schema_common_security_rule_read(default_security_rules.Element) - flow_logs = _schema_network_security_group_read.properties.flow_logs + flow_logs = _schema_common_network_security_group_read.properties.flow_logs flow_logs.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1630,7 +1656,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - identity = _schema_network_security_group_read.properties.flow_logs.Element.identity + identity = _schema_common_network_security_group_read.properties.flow_logs.Element.identity identity.principal_id = AAZStrType( serialized_name="principalId", flags={"read_only": True}, @@ -1644,10 +1670,10 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="userAssignedIdentities", ) - user_assigned_identities = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities + user_assigned_identities = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities user_assigned_identities.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element _element.client_id = AAZStrType( serialized_name="clientId", flags={"read_only": True}, @@ -1657,7 +1683,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties.flow_logs.Element.properties + properties = _schema_common_network_security_group_read.properties.flow_logs.Element.properties properties.enabled = AAZBoolType() properties.enabled_filtering_criteria = AAZStrType( serialized_name="enabledFilteringCriteria", @@ -1689,12 +1715,12 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"required": True}, ) - flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration + flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration flow_analytics_configuration.network_watcher_flow_analytics_configuration = AAZObjectType( serialized_name="networkWatcherFlowAnalyticsConfiguration", ) - network_watcher_flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration + network_watcher_flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration network_watcher_flow_analytics_configuration.enabled = AAZBoolType() network_watcher_flow_analytics_configuration.traffic_analytics_interval = AAZIntType( serialized_name="trafficAnalyticsInterval", @@ -1709,82 +1735,85 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="workspaceResourceId", ) - format = _schema_network_security_group_read.properties.flow_logs.Element.properties.format + format = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.format format.type = AAZStrType() format.version = AAZIntType() - retention_policy = _schema_network_security_group_read.properties.flow_logs.Element.properties.retention_policy + retention_policy = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.retention_policy retention_policy.days = AAZIntType() retention_policy.enabled = AAZBoolType() - tags = _schema_network_security_group_read.properties.flow_logs.Element.tags + tags = _schema_common_network_security_group_read.properties.flow_logs.Element.tags tags.Element = AAZStrType() - network_interfaces = _schema_network_security_group_read.properties.network_interfaces + network_interfaces = _schema_common_network_security_group_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - security_rules = _schema_network_security_group_read.properties.security_rules + security_rules = _schema_common_network_security_group_read.properties.security_rules security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(security_rules.Element) + cls._build_schema_common_security_rule_read(security_rules.Element) - subnets = _schema_network_security_group_read.properties.subnets + subnets = _schema_common_network_security_group_read.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_network_security_group_read.tags + tags = _schema_common_network_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type - _schema_private_endpoint_read = None + _schema_common_private_endpoint_read = None @classmethod - def _build_schema_private_endpoint_read(cls, _schema): - if cls._schema_private_endpoint_read is not None: - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + def _build_schema_common_private_endpoint_read(cls, _schema): + if cls._schema_common_private_endpoint_read is not None: + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type return - cls._schema_private_endpoint_read = _schema_private_endpoint_read = AAZObjectType() + cls._schema_common_private_endpoint_read = _schema_common_private_endpoint_read = AAZObjectType() - private_endpoint_read = _schema_private_endpoint_read - private_endpoint_read.etag = AAZStrType( + common_private_endpoint_read = _schema_common_private_endpoint_read + common_private_endpoint_read.etag = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.extended_location = AAZObjectType( + common_private_endpoint_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_endpoint_read.extended_location) - private_endpoint_read.id = AAZStrType() - private_endpoint_read.location = AAZStrType() - private_endpoint_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_private_endpoint_read.extended_location) + common_private_endpoint_read.id = AAZStrType() + common_private_endpoint_read.location = AAZStrType() + common_private_endpoint_read.name = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.properties = AAZObjectType( + common_private_endpoint_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_endpoint_read.tags = AAZDictType() - private_endpoint_read.type = AAZStrType( + common_private_endpoint_read.tags = AAZDictType() + common_private_endpoint_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties + properties = _schema_common_private_endpoint_read.properties properties.application_security_groups = AAZListType( serialized_name="applicationSecurityGroups", ) + properties.billing_sku = AAZStrType( + serialized_name="billingSku", + ) properties.custom_dns_configs = AAZListType( serialized_name="customDnsConfigs", ) @@ -1812,28 +1841,28 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - application_security_groups = _schema_private_endpoint_read.properties.application_security_groups + application_security_groups = _schema_common_private_endpoint_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - custom_dns_configs = _schema_private_endpoint_read.properties.custom_dns_configs + custom_dns_configs = _schema_common_private_endpoint_read.properties.custom_dns_configs custom_dns_configs.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.custom_dns_configs.Element + _element = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element _element.fqdn = AAZStrType() _element.ip_addresses = AAZListType( serialized_name="ipAddresses", ) - ip_addresses = _schema_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses + ip_addresses = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses ip_addresses.Element = AAZStrType() - ip_configurations = _schema_private_endpoint_read.properties.ip_configurations + ip_configurations = _schema_common_private_endpoint_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.ip_configurations.Element + _element = _schema_common_private_endpoint_read.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1845,7 +1874,7 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties.ip_configurations.Element.properties + properties = _schema_common_private_endpoint_read.properties.ip_configurations.Element.properties properties.group_id = AAZStrType( serialized_name="groupId", ) @@ -1856,88 +1885,88 @@ def _build_schema_private_endpoint_read(cls, _schema): serialized_name="privateIPAddress", ) - manual_private_link_service_connections = _schema_private_endpoint_read.properties.manual_private_link_service_connections + manual_private_link_service_connections = _schema_common_private_endpoint_read.properties.manual_private_link_service_connections manual_private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(manual_private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(manual_private_link_service_connections.Element) - network_interfaces = _schema_private_endpoint_read.properties.network_interfaces + network_interfaces = _schema_common_private_endpoint_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_link_service_connections = _schema_private_endpoint_read.properties.private_link_service_connections + private_link_service_connections = _schema_common_private_endpoint_read.properties.private_link_service_connections private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(private_link_service_connections.Element) - tags = _schema_private_endpoint_read.tags + tags = _schema_common_private_endpoint_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type - _schema_private_link_service_connection_state_read = None + _schema_common_private_link_service_connection_state_read = None @classmethod - def _build_schema_private_link_service_connection_state_read(cls, _schema): - if cls._schema_private_link_service_connection_state_read is not None: - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + def _build_schema_common_private_link_service_connection_state_read(cls, _schema): + if cls._schema_common_private_link_service_connection_state_read is not None: + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status return - cls._schema_private_link_service_connection_state_read = _schema_private_link_service_connection_state_read = AAZObjectType() + cls._schema_common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read = AAZObjectType() - private_link_service_connection_state_read = _schema_private_link_service_connection_state_read - private_link_service_connection_state_read.actions_required = AAZStrType( + common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read + common_private_link_service_connection_state_read.actions_required = AAZStrType( serialized_name="actionsRequired", ) - private_link_service_connection_state_read.description = AAZStrType() - private_link_service_connection_state_read.status = AAZStrType() + common_private_link_service_connection_state_read.description = AAZStrType() + common_private_link_service_connection_state_read.status = AAZStrType() - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status - _schema_private_link_service_connection_read = None + _schema_common_private_link_service_connection_read = None @classmethod - def _build_schema_private_link_service_connection_read(cls, _schema): - if cls._schema_private_link_service_connection_read is not None: - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + def _build_schema_common_private_link_service_connection_read(cls, _schema): + if cls._schema_common_private_link_service_connection_read is not None: + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type return - cls._schema_private_link_service_connection_read = _schema_private_link_service_connection_read = AAZObjectType() + cls._schema_common_private_link_service_connection_read = _schema_common_private_link_service_connection_read = AAZObjectType() - private_link_service_connection_read = _schema_private_link_service_connection_read - private_link_service_connection_read.etag = AAZStrType( + common_private_link_service_connection_read = _schema_common_private_link_service_connection_read + common_private_link_service_connection_read.etag = AAZStrType( flags={"read_only": True}, ) - private_link_service_connection_read.id = AAZStrType() - private_link_service_connection_read.name = AAZStrType() - private_link_service_connection_read.properties = AAZObjectType( + common_private_link_service_connection_read.id = AAZStrType() + common_private_link_service_connection_read.name = AAZStrType() + common_private_link_service_connection_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_link_service_connection_read.type = AAZStrType( + common_private_link_service_connection_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_link_service_connection_read.properties + properties = _schema_common_private_link_service_connection_read.properties properties.group_ids = AAZListType( serialized_name="groupIds", ) properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.private_link_service_id = AAZStrType( serialized_name="privateLinkServiceId", ) @@ -1949,58 +1978,58 @@ def _build_schema_private_link_service_connection_read(cls, _schema): serialized_name="requestMessage", ) - group_ids = _schema_private_link_service_connection_read.properties.group_ids + group_ids = _schema_common_private_link_service_connection_read.properties.group_ids group_ids.Element = AAZStrType() - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type - _schema_public_ip_address_read = None + _schema_common_public_ip_address_read = None @classmethod - def _build_schema_public_ip_address_read(cls, _schema): - if cls._schema_public_ip_address_read is not None: - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + def _build_schema_common_public_ip_address_read(cls, _schema): + if cls._schema_common_public_ip_address_read is not None: + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones return - cls._schema_public_ip_address_read = _schema_public_ip_address_read = AAZObjectType() + cls._schema_common_public_ip_address_read = _schema_common_public_ip_address_read = AAZObjectType() - public_ip_address_read = _schema_public_ip_address_read - public_ip_address_read.etag = AAZStrType( + common_public_ip_address_read = _schema_common_public_ip_address_read + common_public_ip_address_read.etag = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.extended_location = AAZObjectType( + common_public_ip_address_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(public_ip_address_read.extended_location) - public_ip_address_read.id = AAZStrType() - public_ip_address_read.location = AAZStrType() - public_ip_address_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_public_ip_address_read.extended_location) + common_public_ip_address_read.id = AAZStrType() + common_public_ip_address_read.location = AAZStrType() + common_public_ip_address_read.name = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.properties = AAZObjectType( + common_public_ip_address_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - public_ip_address_read.sku = AAZObjectType() - public_ip_address_read.tags = AAZDictType() - public_ip_address_read.type = AAZStrType( + common_public_ip_address_read.sku = AAZObjectType() + common_public_ip_address_read.tags = AAZDictType() + common_public_ip_address_read.type = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.zones = AAZListType() + common_public_ip_address_read.zones = AAZListType() - properties = _schema_public_ip_address_read.properties + properties = _schema_common_public_ip_address_read.properties properties.ddos_settings = AAZObjectType( serialized_name="ddosSettings", ) @@ -2020,14 +2049,14 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="ipConfiguration", flags={"read_only": True}, ) - cls._build_schema_ip_configuration_read(properties.ip_configuration) + cls._build_schema_common_ip_configuration_read(properties.ip_configuration) properties.ip_tags = AAZListType( serialized_name="ipTags", ) properties.linked_public_ip_address = AAZObjectType( serialized_name="linkedPublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.linked_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.linked_public_ip_address) properties.migration_phase = AAZStrType( serialized_name="migrationPhase", ) @@ -2047,7 +2076,7 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.resource_guid = AAZStrType( serialized_name="resourceGuid", flags={"read_only": True}, @@ -2055,18 +2084,22 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_public_ip_address = AAZObjectType( serialized_name="servicePublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.service_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.service_public_ip_address) - ddos_settings = _schema_public_ip_address_read.properties.ddos_settings + ddos_settings = _schema_common_public_ip_address_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) ddos_settings.ddos_protection_plan = AAZObjectType( serialized_name="ddosProtectionPlan", ) - cls._build_schema_sub_resource_read(ddos_settings.ddos_protection_plan) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_protection_plan) ddos_settings.protection_mode = AAZStrType( serialized_name="protectionMode", ) - dns_settings = _schema_public_ip_address_read.properties.dns_settings + dns_settings = _schema_common_public_ip_address_read.properties.dns_settings dns_settings.domain_name_label = AAZStrType( serialized_name="domainNameLabel", ) @@ -2078,16 +2111,16 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="reverseFqdn", ) - ip_tags = _schema_public_ip_address_read.properties.ip_tags + ip_tags = _schema_common_public_ip_address_read.properties.ip_tags ip_tags.Element = AAZObjectType() - _element = _schema_public_ip_address_read.properties.ip_tags.Element + _element = _schema_common_public_ip_address_read.properties.ip_tags.Element _element.ip_tag_type = AAZStrType( serialized_name="ipTagType", ) _element.tag = AAZStrType() - nat_gateway = _schema_public_ip_address_read.properties.nat_gateway + nat_gateway = _schema_common_public_ip_address_read.properties.nat_gateway nat_gateway.etag = AAZStrType( flags={"read_only": True}, ) @@ -2106,10 +2139,11 @@ def _build_schema_public_ip_address_read(cls, _schema): ) nat_gateway.zones = AAZListType() - properties = _schema_public_ip_address_read.properties.nat_gateway.properties + properties = _schema_common_public_ip_address_read.properties.nat_gateway.properties properties.idle_timeout_in_minutes = AAZIntType( serialized_name="idleTimeoutInMinutes", ) + properties.nat64 = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -2133,91 +2167,93 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.source_virtual_network = AAZObjectType( serialized_name="sourceVirtualNetwork", ) - cls._build_schema_sub_resource_read(properties.source_virtual_network) + cls._build_schema_common_sub_resource_read(properties.source_virtual_network) properties.subnets = AAZListType( flags={"read_only": True}, ) - public_ip_addresses = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses + public_ip_addresses = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses public_ip_addresses.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses.Element) - public_ip_addresses_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 + public_ip_addresses_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 public_ip_addresses_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses_v6.Element) - public_ip_prefixes = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes + public_ip_prefixes = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes public_ip_prefixes.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes.Element) - public_ip_prefixes_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 + public_ip_prefixes_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 public_ip_prefixes_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes_v6.Element) - subnets = _schema_public_ip_address_read.properties.nat_gateway.properties.subnets + subnets = _schema_common_public_ip_address_read.properties.nat_gateway.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_sub_resource_read(subnets.Element) + cls._build_schema_common_sub_resource_read(subnets.Element) - sku = _schema_public_ip_address_read.properties.nat_gateway.sku + sku = _schema_common_public_ip_address_read.properties.nat_gateway.sku sku.name = AAZStrType() - tags = _schema_public_ip_address_read.properties.nat_gateway.tags + tags = _schema_common_public_ip_address_read.properties.nat_gateway.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.properties.nat_gateway.zones + zones = _schema_common_public_ip_address_read.properties.nat_gateway.zones zones.Element = AAZStrType() - sku = _schema_public_ip_address_read.sku + sku = _schema_common_public_ip_address_read.sku sku.name = AAZStrType() sku.tier = AAZStrType() - tags = _schema_public_ip_address_read.tags + tags = _schema_common_public_ip_address_read.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.zones + zones = _schema_common_public_ip_address_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones - _schema_security_rule_read = None + _schema_common_security_rule_read = None @classmethod - def _build_schema_security_rule_read(cls, _schema): - if cls._schema_security_rule_read is not None: - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + def _build_schema_common_security_rule_read(cls, _schema): + if cls._schema_common_security_rule_read is not None: + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type return - cls._schema_security_rule_read = _schema_security_rule_read = AAZObjectType() + cls._schema_common_security_rule_read = _schema_common_security_rule_read = AAZObjectType() - security_rule_read = _schema_security_rule_read - security_rule_read.etag = AAZStrType( + common_security_rule_read = _schema_common_security_rule_read + common_security_rule_read.etag = AAZStrType( flags={"read_only": True}, ) - security_rule_read.id = AAZStrType() - security_rule_read.name = AAZStrType() - security_rule_read.properties = AAZObjectType( + common_security_rule_read.id = AAZStrType() + common_security_rule_read.name = AAZStrType() + common_security_rule_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - security_rule_read.type = AAZStrType() + common_security_rule_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_security_rule_read.properties + properties = _schema_common_security_rule_read.properties properties.access = AAZStrType( flags={"required": True}, ) @@ -2266,75 +2302,77 @@ def _build_schema_security_rule_read(cls, _schema): serialized_name="sourcePortRanges", ) - destination_address_prefixes = _schema_security_rule_read.properties.destination_address_prefixes + destination_address_prefixes = _schema_common_security_rule_read.properties.destination_address_prefixes destination_address_prefixes.Element = AAZStrType() - destination_application_security_groups = _schema_security_rule_read.properties.destination_application_security_groups + destination_application_security_groups = _schema_common_security_rule_read.properties.destination_application_security_groups destination_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(destination_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(destination_application_security_groups.Element) - destination_port_ranges = _schema_security_rule_read.properties.destination_port_ranges + destination_port_ranges = _schema_common_security_rule_read.properties.destination_port_ranges destination_port_ranges.Element = AAZStrType() - source_address_prefixes = _schema_security_rule_read.properties.source_address_prefixes + source_address_prefixes = _schema_common_security_rule_read.properties.source_address_prefixes source_address_prefixes.Element = AAZStrType() - source_application_security_groups = _schema_security_rule_read.properties.source_application_security_groups + source_application_security_groups = _schema_common_security_rule_read.properties.source_application_security_groups source_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(source_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(source_application_security_groups.Element) - source_port_ranges = _schema_security_rule_read.properties.source_port_ranges + source_port_ranges = _schema_common_security_rule_read.properties.source_port_ranges source_port_ranges.Element = AAZStrType() - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type - _schema_sub_resource_read = None + _schema_common_sub_resource_read = None @classmethod - def _build_schema_sub_resource_read(cls, _schema): - if cls._schema_sub_resource_read is not None: - _schema.id = cls._schema_sub_resource_read.id + def _build_schema_common_sub_resource_read(cls, _schema): + if cls._schema_common_sub_resource_read is not None: + _schema.id = cls._schema_common_sub_resource_read.id return - cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType( + cls._schema_common_sub_resource_read = _schema_common_sub_resource_read = AAZObjectType( flags={"read_only": True} ) - sub_resource_read = _schema_sub_resource_read - sub_resource_read.id = AAZStrType() + common_sub_resource_read = _schema_common_sub_resource_read + common_sub_resource_read.id = AAZStrType() - _schema.id = cls._schema_sub_resource_read.id + _schema.id = cls._schema_common_sub_resource_read.id - _schema_subnet_read = None + _schema_common_subnet_read = None @classmethod - def _build_schema_subnet_read(cls, _schema): - if cls._schema_subnet_read is not None: - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + def _build_schema_common_subnet_read(cls, _schema): + if cls._schema_common_subnet_read is not None: + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type return - cls._schema_subnet_read = _schema_subnet_read = AAZObjectType() + cls._schema_common_subnet_read = _schema_common_subnet_read = AAZObjectType() - subnet_read = _schema_subnet_read - subnet_read.etag = AAZStrType( + common_subnet_read = _schema_common_subnet_read + common_subnet_read.etag = AAZStrType( flags={"read_only": True}, ) - subnet_read.id = AAZStrType() - subnet_read.name = AAZStrType() - subnet_read.properties = AAZObjectType( + common_subnet_read.id = AAZStrType() + common_subnet_read.name = AAZStrType() + common_subnet_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - subnet_read.type = AAZStrType() + common_subnet_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties + properties = _schema_common_subnet_read.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2365,11 +2403,11 @@ def _build_schema_subnet_read(cls, _schema): properties.nat_gateway = AAZObjectType( serialized_name="natGateway", ) - cls._build_schema_sub_resource_read(properties.nat_gateway) + cls._build_schema_common_sub_resource_read(properties.nat_gateway) properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.private_endpoint_network_policies = AAZStrType( serialized_name="privateEndpointNetworkPolicies", ) @@ -2407,18 +2445,18 @@ def _build_schema_subnet_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.sharing_scope = AAZStrType( serialized_name="sharingScope", ) - address_prefixes = _schema_subnet_read.properties.address_prefixes + address_prefixes = _schema_common_subnet_read.properties.address_prefixes address_prefixes.Element = AAZStrType() - application_gateway_ip_configurations = _schema_subnet_read.properties.application_gateway_ip_configurations + application_gateway_ip_configurations = _schema_common_subnet_read.properties.application_gateway_ip_configurations application_gateway_ip_configurations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.application_gateway_ip_configurations.Element + _element = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2431,18 +2469,18 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.application_gateway_ip_configurations.Element.properties + properties = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) - delegations = _schema_subnet_read.properties.delegations + delegations = _schema_common_subnet_read.properties.delegations delegations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.delegations.Element + _element = _schema_common_subnet_read.properties.delegations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2453,7 +2491,7 @@ def _build_schema_subnet_read(cls, _schema): ) _element.type = AAZStrType() - properties = _schema_subnet_read.properties.delegations.Element.properties + properties = _schema_common_subnet_read.properties.delegations.Element.properties properties.actions = AAZListType( flags={"read_only": True}, ) @@ -2465,17 +2503,17 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceName", ) - actions = _schema_subnet_read.properties.delegations.Element.properties.actions + actions = _schema_common_subnet_read.properties.delegations.Element.properties.actions actions.Element = AAZStrType() - ip_allocations = _schema_subnet_read.properties.ip_allocations + ip_allocations = _schema_common_subnet_read.properties.ip_allocations ip_allocations.Element = AAZObjectType() - cls._build_schema_sub_resource_read(ip_allocations.Element) + cls._build_schema_common_sub_resource_read(ip_allocations.Element) - ip_configuration_profiles = _schema_subnet_read.properties.ip_configuration_profiles + ip_configuration_profiles = _schema_common_subnet_read.properties.ip_configuration_profiles ip_configuration_profiles.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ip_configuration_profiles.Element + _element = _schema_common_subnet_read.properties.ip_configuration_profiles.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2488,22 +2526,22 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.ip_configuration_profiles.Element.properties + properties = _schema_common_subnet_read.properties.ip_configuration_profiles.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - ip_configurations = _schema_subnet_read.properties.ip_configurations + ip_configurations = _schema_common_subnet_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_ip_configuration_read(ip_configurations.Element) - ipam_pool_prefix_allocations = _schema_subnet_read.properties.ipam_pool_prefix_allocations + ipam_pool_prefix_allocations = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element + _element = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element _element.allocated_address_prefixes = AAZListType( serialized_name="allocatedAddressPrefixes", flags={"read_only": True}, @@ -2515,20 +2553,20 @@ def _build_schema_subnet_read(cls, _schema): flags={"client_flatten": True}, ) - allocated_address_prefixes = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes + allocated_address_prefixes = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes allocated_address_prefixes.Element = AAZStrType() - pool = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool + pool = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool pool.id = AAZStrType() - private_endpoints = _schema_subnet_read.properties.private_endpoints + private_endpoints = _schema_common_subnet_read.properties.private_endpoints private_endpoints.Element = AAZObjectType() - cls._build_schema_private_endpoint_read(private_endpoints.Element) + cls._build_schema_common_private_endpoint_read(private_endpoints.Element) - resource_navigation_links = _schema_subnet_read.properties.resource_navigation_links + resource_navigation_links = _schema_common_subnet_read.properties.resource_navigation_links resource_navigation_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.resource_navigation_links.Element + _element = _schema_common_subnet_read.properties.resource_navigation_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2543,7 +2581,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.resource_navigation_links.Element.properties + properties = _schema_common_subnet_read.properties.resource_navigation_links.Element.properties properties.link = AAZStrType() properties.linked_resource_type = AAZStrType( serialized_name="linkedResourceType", @@ -2553,7 +2591,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - route_table = _schema_subnet_read.properties.route_table + route_table = _schema_common_subnet_read.properties.route_table route_table.etag = AAZStrType( flags={"read_only": True}, ) @@ -2570,10 +2608,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.route_table.properties + properties = _schema_common_subnet_read.properties.route_table.properties properties.disable_bgp_route_propagation = AAZBoolType( serialized_name="disableBgpRoutePropagation", ) + properties.disable_peering_route = AAZStrType( + serialized_name="disablePeeringRoute", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -2587,10 +2628,10 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - routes = _schema_subnet_read.properties.route_table.properties.routes + routes = _schema_common_subnet_read.properties.route_table.properties.routes routes.Element = AAZObjectType() - _element = _schema_subnet_read.properties.route_table.properties.routes.Element + _element = _schema_common_subnet_read.properties.route_table.properties.routes.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2599,9 +2640,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.route_table.properties.routes.Element.properties + properties = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2609,6 +2652,9 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="hasBgpOverride", flags={"read_only": True}, ) + properties.next_hop = AAZObjectType( + serialized_name="nextHop", + ) properties.next_hop_ip_address = AAZStrType( serialized_name="nextHopIpAddress", ) @@ -2621,17 +2667,26 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - subnets = _schema_subnet_read.properties.route_table.properties.subnets + next_hop = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop + next_hop.next_hop_ip_addresses = AAZListType( + serialized_name="nextHopIpAddresses", + flags={"required": True}, + ) + + next_hop_ip_addresses = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop.next_hop_ip_addresses + next_hop_ip_addresses.Element = AAZStrType() + + subnets = _schema_common_subnet_read.properties.route_table.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.route_table.tags + tags = _schema_common_subnet_read.properties.route_table.tags tags.Element = AAZStrType() - service_association_links = _schema_subnet_read.properties.service_association_links + service_association_links = _schema_common_subnet_read.properties.service_association_links service_association_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_association_links.Element + _element = _schema_common_subnet_read.properties.service_association_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2644,7 +2699,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_association_links.Element.properties + properties = _schema_common_subnet_read.properties.service_association_links.Element.properties properties.allow_delete = AAZBoolType( serialized_name="allowDelete", ) @@ -2658,13 +2713,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - locations = _schema_subnet_read.properties.service_association_links.Element.properties.locations + locations = _schema_common_subnet_read.properties.service_association_links.Element.properties.locations locations.Element = AAZStrType() - service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies + service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies service_endpoint_policies.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2684,7 +2739,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties properties.contextual_service_endpoint_policies = AAZListType( serialized_name="contextualServiceEndpointPolicies", ) @@ -2706,13 +2761,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - contextual_service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies + contextual_service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies contextual_service_endpoint_policies.Element = AAZStrType() - service_endpoint_policy_definitions = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions + service_endpoint_policy_definitions = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions service_endpoint_policy_definitions.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2721,9 +2776,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties properties.description = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", @@ -2734,82 +2791,82 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceResources", ) - service_resources = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources + service_resources = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources service_resources.Element = AAZStrType() - subnets = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.subnets + subnets = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.service_endpoint_policies.Element.tags + tags = _schema_common_subnet_read.properties.service_endpoint_policies.Element.tags tags.Element = AAZStrType() - service_endpoints = _schema_subnet_read.properties.service_endpoints + service_endpoints = _schema_common_subnet_read.properties.service_endpoints service_endpoints.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoints.Element + _element = _schema_common_subnet_read.properties.service_endpoints.Element _element.locations = AAZListType() _element.network_identifier = AAZObjectType( serialized_name="networkIdentifier", ) - cls._build_schema_sub_resource_read(_element.network_identifier) + cls._build_schema_common_sub_resource_read(_element.network_identifier) _element.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) _element.service = AAZStrType() - locations = _schema_subnet_read.properties.service_endpoints.Element.locations + locations = _schema_common_subnet_read.properties.service_endpoints.Element.locations locations.Element = AAZStrType() - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type - _schema_virtual_network_tap_read = None + _schema_common_virtual_network_tap_read = None @classmethod - def _build_schema_virtual_network_tap_read(cls, _schema): - if cls._schema_virtual_network_tap_read is not None: - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + def _build_schema_common_virtual_network_tap_read(cls, _schema): + if cls._schema_common_virtual_network_tap_read is not None: + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type return - cls._schema_virtual_network_tap_read = _schema_virtual_network_tap_read = AAZObjectType() + cls._schema_common_virtual_network_tap_read = _schema_common_virtual_network_tap_read = AAZObjectType() - virtual_network_tap_read = _schema_virtual_network_tap_read - virtual_network_tap_read.etag = AAZStrType( + common_virtual_network_tap_read = _schema_common_virtual_network_tap_read + common_virtual_network_tap_read.etag = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.id = AAZStrType() - virtual_network_tap_read.location = AAZStrType() - virtual_network_tap_read.name = AAZStrType( + common_virtual_network_tap_read.id = AAZStrType() + common_virtual_network_tap_read.location = AAZStrType() + common_virtual_network_tap_read.name = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.properties = AAZObjectType( + common_virtual_network_tap_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - virtual_network_tap_read.tags = AAZDictType() - virtual_network_tap_read.type = AAZStrType( + common_virtual_network_tap_read.tags = AAZDictType() + common_virtual_network_tap_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_virtual_network_tap_read.properties + properties = _schema_common_virtual_network_tap_read.properties properties.destination_load_balancer_front_end_ip_configuration = AAZObjectType( serialized_name="destinationLoadBalancerFrontEndIPConfiguration", ) - cls._build_schema_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) + cls._build_schema_common_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) properties.destination_network_interface_ip_configuration = AAZObjectType( serialized_name="destinationNetworkInterfaceIPConfiguration", ) - cls._build_schema_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) properties.destination_port = AAZIntType( serialized_name="destinationPort", ) @@ -2826,20 +2883,20 @@ def _build_schema_virtual_network_tap_read(cls, _schema): flags={"read_only": True}, ) - network_interface_tap_configurations = _schema_virtual_network_tap_read.properties.network_interface_tap_configurations + network_interface_tap_configurations = _schema_common_virtual_network_tap_read.properties.network_interface_tap_configurations network_interface_tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) - tags = _schema_virtual_network_tap_read.tags + tags = _schema_common_virtual_network_tap_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type __all__ = ["Create"] diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_delete.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_delete.py index 379a55c3de7..22b1adc9d14 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_delete.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_delete.py @@ -22,9 +22,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2025-05-01", + "version": "2025-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privateendpoints/{}", "2025-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privateendpoints/{}", "2025-07-01"], ] } @@ -142,7 +142,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_list.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_list.py index 8332b50b3f9..2616c3981b9 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_list.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_list.py @@ -22,10 +22,10 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2025-05-01", + "version": "2025-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/privateendpoints", "2025-05-01"], - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privateendpoints", "2025-05-01"], + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/privateendpoints", "2025-07-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privateendpoints", "2025-07-01"], ] } @@ -51,12 +51,12 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) - condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + condition_0 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + condition_1 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) if condition_0: - self.PrivateEndpointsList(ctx=self.ctx)() - if condition_1: self.PrivateEndpointsListBySubscription(ctx=self.ctx)() + if condition_1: + self.PrivateEndpointsList(ctx=self.ctx)() self.post_operations() @register_callback @@ -72,7 +72,7 @@ def _output(self, *args, **kwargs): next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link - class PrivateEndpointsList(AAZHttpOperation): + class PrivateEndpointsListBySubscription(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -86,7 +86,7 @@ def __call__(self, *args, **kwargs): @property def url(self): return self.client.format_url( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints", + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints", **self.url_parameters ) @@ -101,10 +101,6 @@ def error_format(self): @property def url_parameters(self): parameters = { - **self.serialize_url_param( - "resourceGroupName", self.ctx.args.resource_group, - required=True, - ), **self.serialize_url_param( "subscriptionId", self.ctx.subscription_id, required=True, @@ -116,7 +112,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -151,17 +147,18 @@ def _build_schema_on_200(cls): _schema_on_200 = cls._schema_on_200 _schema_on_200.next_link = AAZStrType( serialized_name="nextLink", - flags={"read_only": True}, ) - _schema_on_200.value = AAZListType() + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) value = cls._schema_on_200.value value.Element = AAZObjectType() - _ListHelper._build_schema_private_endpoint_read(value.Element) + _ListHelper._build_schema_common_private_endpoint_read(value.Element) return cls._schema_on_200 - class PrivateEndpointsListBySubscription(AAZHttpOperation): + class PrivateEndpointsList(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -175,7 +172,7 @@ def __call__(self, *args, **kwargs): @property def url(self): return self.client.format_url( - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints", **self.url_parameters ) @@ -190,6 +187,10 @@ def error_format(self): @property def url_parameters(self): parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), **self.serialize_url_param( "subscriptionId", self.ctx.subscription_id, required=True, @@ -201,7 +202,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -236,13 +237,14 @@ def _build_schema_on_200(cls): _schema_on_200 = cls._schema_on_200 _schema_on_200.next_link = AAZStrType( serialized_name="nextLink", - flags={"read_only": True}, ) - _schema_on_200.value = AAZListType() + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) value = cls._schema_on_200.value value.Element = AAZObjectType() - _ListHelper._build_schema_private_endpoint_read(value.Element) + _ListHelper._build_schema_common_private_endpoint_read(value.Element) return cls._schema_on_200 @@ -250,40 +252,40 @@ def _build_schema_on_200(cls): class _ListHelper: """Helper class for List""" - _schema_application_security_group_read = None + _schema_common_application_security_group_read = None @classmethod - def _build_schema_application_security_group_read(cls, _schema): - if cls._schema_application_security_group_read is not None: - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + def _build_schema_common_application_security_group_read(cls, _schema): + if cls._schema_common_application_security_group_read is not None: + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type return - cls._schema_application_security_group_read = _schema_application_security_group_read = AAZObjectType() + cls._schema_common_application_security_group_read = _schema_common_application_security_group_read = AAZObjectType() - application_security_group_read = _schema_application_security_group_read - application_security_group_read.etag = AAZStrType( + common_application_security_group_read = _schema_common_application_security_group_read + common_application_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.id = AAZStrType() - application_security_group_read.location = AAZStrType() - application_security_group_read.name = AAZStrType( + common_application_security_group_read.id = AAZStrType() + common_application_security_group_read.location = AAZStrType() + common_application_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.properties = AAZObjectType( + common_application_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - application_security_group_read.tags = AAZDictType() - application_security_group_read.type = AAZStrType( + common_application_security_group_read.tags = AAZDictType() + common_application_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_application_security_group_read.properties + properties = _schema_common_application_security_group_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -293,69 +295,72 @@ def _build_schema_application_security_group_read(cls, _schema): flags={"read_only": True}, ) - tags = _schema_application_security_group_read.tags + tags = _schema_common_application_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type - _schema_extended_location_read = None + _schema_common_extended_location_read = None @classmethod - def _build_schema_extended_location_read(cls, _schema): - if cls._schema_extended_location_read is not None: - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + def _build_schema_common_extended_location_read(cls, _schema): + if cls._schema_common_extended_location_read is not None: + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type return - cls._schema_extended_location_read = _schema_extended_location_read = AAZObjectType() + cls._schema_common_extended_location_read = _schema_common_extended_location_read = AAZObjectType() - extended_location_read = _schema_extended_location_read - extended_location_read.name = AAZStrType() - extended_location_read.type = AAZStrType() + common_extended_location_read = _schema_common_extended_location_read + common_extended_location_read.name = AAZStrType() + common_extended_location_read.type = AAZStrType() - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type - _schema_frontend_ip_configuration_read = None + _schema_common_frontend_ip_configuration_read = None @classmethod - def _build_schema_frontend_ip_configuration_read(cls, _schema): - if cls._schema_frontend_ip_configuration_read is not None: - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + def _build_schema_common_frontend_ip_configuration_read(cls, _schema): + if cls._schema_common_frontend_ip_configuration_read is not None: + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones return - cls._schema_frontend_ip_configuration_read = _schema_frontend_ip_configuration_read = AAZObjectType() + cls._schema_common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read = AAZObjectType() - frontend_ip_configuration_read = _schema_frontend_ip_configuration_read - frontend_ip_configuration_read.etag = AAZStrType( + common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read + common_frontend_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.id = AAZStrType() - frontend_ip_configuration_read.name = AAZStrType() - frontend_ip_configuration_read.properties = AAZObjectType( + common_frontend_ip_configuration_read.id = AAZStrType() + common_frontend_ip_configuration_read.name = AAZStrType() + common_frontend_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - frontend_ip_configuration_read.type = AAZStrType( + common_frontend_ip_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.zones = AAZListType() + common_frontend_ip_configuration_read.zones = AAZListType() - properties = _schema_frontend_ip_configuration_read.properties + properties = _schema_common_frontend_ip_configuration_read.properties + properties.ddos_settings = AAZObjectType( + serialized_name="ddosSettings", + ) properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.inbound_nat_pools = AAZListType( serialized_name="inboundNatPools", flags={"read_only": True}, @@ -388,66 +393,72 @@ def _build_schema_frontend_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - inbound_nat_pools = _schema_frontend_ip_configuration_read.properties.inbound_nat_pools + ddos_settings = _schema_common_frontend_ip_configuration_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) + + inbound_nat_pools = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_pools inbound_nat_pools.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_pools.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_pools.Element) - inbound_nat_rules = _schema_frontend_ip_configuration_read.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancing_rules = _schema_frontend_ip_configuration_read.properties.load_balancing_rules + load_balancing_rules = _schema_common_frontend_ip_configuration_read.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_frontend_ip_configuration_read.properties.outbound_rules + outbound_rules = _schema_common_frontend_ip_configuration_read.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - zones = _schema_frontend_ip_configuration_read.zones + zones = _schema_common_frontend_ip_configuration_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones - _schema_ip_configuration_read = None + _schema_common_ip_configuration_read = None @classmethod - def _build_schema_ip_configuration_read(cls, _schema): - if cls._schema_ip_configuration_read is not None: - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + def _build_schema_common_ip_configuration_read(cls, _schema): + if cls._schema_common_ip_configuration_read is not None: + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties return - cls._schema_ip_configuration_read = _schema_ip_configuration_read = AAZObjectType( + cls._schema_common_ip_configuration_read = _schema_common_ip_configuration_read = AAZObjectType( flags={"read_only": True} ) - ip_configuration_read = _schema_ip_configuration_read - ip_configuration_read.etag = AAZStrType( + common_ip_configuration_read = _schema_common_ip_configuration_read + common_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - ip_configuration_read.id = AAZStrType() - ip_configuration_read.name = AAZStrType() - ip_configuration_read.properties = AAZObjectType( + common_ip_configuration_read.id = AAZStrType() + common_ip_configuration_read.name = AAZStrType() + common_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_ip_configuration_read.properties + properties = _schema_common_ip_configuration_read.properties properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", ) @@ -461,41 +472,43 @@ def _build_schema_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties - _schema_network_interface_ip_configuration_read = None + _schema_common_network_interface_ip_configuration_read = None @classmethod - def _build_schema_network_interface_ip_configuration_read(cls, _schema): - if cls._schema_network_interface_ip_configuration_read is not None: - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + def _build_schema_common_network_interface_ip_configuration_read(cls, _schema): + if cls._schema_common_network_interface_ip_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type return - cls._schema_network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read = AAZObjectType() + cls._schema_common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read = AAZObjectType() - network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read - network_interface_ip_configuration_read.etag = AAZStrType( + common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read + common_network_interface_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_ip_configuration_read.id = AAZStrType() - network_interface_ip_configuration_read.name = AAZStrType() - network_interface_ip_configuration_read.properties = AAZObjectType( + common_network_interface_ip_configuration_read.id = AAZStrType() + common_network_interface_ip_configuration_read.name = AAZStrType() + common_network_interface_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_ip_configuration_read.type = AAZStrType() + common_network_interface_ip_configuration_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_network_interface_ip_configuration_read.properties + properties = _schema_common_network_interface_ip_configuration_read.properties properties.application_gateway_backend_address_pools = AAZListType( serialized_name="applicationGatewayBackendAddressPools", ) @@ -505,7 +518,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.load_balancer_backend_address_pools = AAZListType( serialized_name="loadBalancerBackendAddressPools", ) @@ -537,17 +550,17 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) properties.virtual_network_taps = AAZListType( serialized_name="virtualNetworkTaps", ) - application_gateway_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools + application_gateway_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools application_gateway_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -560,7 +573,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties properties.backend_addresses = AAZListType( serialized_name="backendAddresses", ) @@ -573,27 +586,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - backend_addresses = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses + backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element _element.fqdn = AAZStrType() _element.ip_address = AAZStrType( serialized_name="ipAddress", ) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - application_security_groups = _schema_network_interface_ip_configuration_read.properties.application_security_groups + application_security_groups = _schema_common_network_interface_ip_configuration_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - load_balancer_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools + load_balancer_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools load_balancer_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -606,7 +619,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties properties.backend_ip_configurations = AAZListType( serialized_name="backendIPConfigurations", flags={"read_only": True}, @@ -630,7 +643,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="outboundRule", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.outbound_rule) + cls._build_schema_common_sub_resource_read(properties.outbound_rule) properties.outbound_rules = AAZListType( serialized_name="outboundRules", flags={"read_only": True}, @@ -648,26 +661,26 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancer_backend_addresses = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses + load_balancer_backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses load_balancer_backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element _element.name = AAZStrType() _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties properties.admin_state = AAZStrType( serialized_name="adminState", ) @@ -681,23 +694,23 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.load_balancer_frontend_ip_configuration = AAZObjectType( serialized_name="loadBalancerFrontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.load_balancer_frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.load_balancer_frontend_ip_configuration) properties.network_interface_ip_configuration = AAZObjectType( serialized_name="networkInterfaceIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.network_interface_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.network_interface_ip_configuration) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - inbound_nat_rules_port_mapping = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping + inbound_nat_rules_port_mapping = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping inbound_nat_rules_port_mapping.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element _element.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -708,27 +721,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="inboundNatRuleName", ) - load_balancing_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules + load_balancing_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules + outbound_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - tunnel_interfaces = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces + tunnel_interfaces = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces tunnel_interfaces.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element _element.identifier = AAZIntType() _element.port = AAZIntType() _element.protocol = AAZStrType() _element.type = AAZStrType() - load_balancer_inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules + load_balancer_inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules load_balancer_inbound_nat_rules.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -741,16 +754,16 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties properties.backend_address_pool = AAZObjectType( serialized_name="backendAddressPool", ) - cls._build_schema_sub_resource_read(properties.backend_address_pool) + cls._build_schema_common_sub_resource_read(properties.backend_address_pool) properties.backend_ip_configuration = AAZObjectType( serialized_name="backendIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_network_interface_ip_configuration_read(properties.backend_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.backend_ip_configuration) properties.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -763,7 +776,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.frontend_ip_configuration = AAZObjectType( serialized_name="frontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.frontend_ip_configuration) properties.frontend_port = AAZIntType( serialized_name="frontendPort", ) @@ -782,7 +795,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - private_link_connection_properties = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties + private_link_connection_properties = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties private_link_connection_properties.fqdns = AAZListType( flags={"read_only": True}, ) @@ -795,47 +808,47 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - fqdns = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns + fqdns = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns fqdns.Element = AAZStrType() - virtual_network_taps = _schema_network_interface_ip_configuration_read.properties.virtual_network_taps + virtual_network_taps = _schema_common_network_interface_ip_configuration_read.properties.virtual_network_taps virtual_network_taps.Element = AAZObjectType() - cls._build_schema_virtual_network_tap_read(virtual_network_taps.Element) + cls._build_schema_common_virtual_network_tap_read(virtual_network_taps.Element) - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type - _schema_network_interface_tap_configuration_read = None + _schema_common_network_interface_tap_configuration_read = None @classmethod - def _build_schema_network_interface_tap_configuration_read(cls, _schema): - if cls._schema_network_interface_tap_configuration_read is not None: - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + def _build_schema_common_network_interface_tap_configuration_read(cls, _schema): + if cls._schema_common_network_interface_tap_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type return - cls._schema_network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read = AAZObjectType() + cls._schema_common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read = AAZObjectType() - network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read - network_interface_tap_configuration_read.etag = AAZStrType( + common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read + common_network_interface_tap_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_tap_configuration_read.id = AAZStrType() - network_interface_tap_configuration_read.name = AAZStrType() - network_interface_tap_configuration_read.properties = AAZObjectType( + common_network_interface_tap_configuration_read.id = AAZStrType() + common_network_interface_tap_configuration_read.name = AAZStrType() + common_network_interface_tap_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_tap_configuration_read.type = AAZStrType( + common_network_interface_tap_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_tap_configuration_read.properties + properties = _schema_common_network_interface_tap_configuration_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -843,53 +856,53 @@ def _build_schema_network_interface_tap_configuration_read(cls, _schema): properties.virtual_network_tap = AAZObjectType( serialized_name="virtualNetworkTap", ) - cls._build_schema_virtual_network_tap_read(properties.virtual_network_tap) + cls._build_schema_common_virtual_network_tap_read(properties.virtual_network_tap) - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type - _schema_network_interface_read = None + _schema_common_network_interface_read = None @classmethod - def _build_schema_network_interface_read(cls, _schema): - if cls._schema_network_interface_read is not None: - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + def _build_schema_common_network_interface_read(cls, _schema): + if cls._schema_common_network_interface_read is not None: + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type return - cls._schema_network_interface_read = _schema_network_interface_read = AAZObjectType() + cls._schema_common_network_interface_read = _schema_common_network_interface_read = AAZObjectType() - network_interface_read = _schema_network_interface_read - network_interface_read.etag = AAZStrType( + common_network_interface_read = _schema_common_network_interface_read + common_network_interface_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_read.extended_location = AAZObjectType( + common_network_interface_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(network_interface_read.extended_location) - network_interface_read.id = AAZStrType() - network_interface_read.location = AAZStrType() - network_interface_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_network_interface_read.extended_location) + common_network_interface_read.id = AAZStrType() + common_network_interface_read.location = AAZStrType() + common_network_interface_read.name = AAZStrType( flags={"read_only": True}, ) - network_interface_read.properties = AAZObjectType( + common_network_interface_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_read.tags = AAZDictType() - network_interface_read.type = AAZStrType( + common_network_interface_read.tags = AAZDictType() + common_network_interface_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties + properties = _schema_common_network_interface_read.properties properties.auxiliary_mode = AAZStrType( serialized_name="auxiliaryMode", ) @@ -910,7 +923,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="dscpConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.dscp_configuration) + cls._build_schema_common_sub_resource_read(properties.dscp_configuration) properties.enable_accelerated_networking = AAZBoolType( serialized_name="enableAcceleratedNetworking", ) @@ -934,7 +947,7 @@ def _build_schema_network_interface_read(cls, _schema): properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.nic_type = AAZStrType( serialized_name="nicType", ) @@ -945,7 +958,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_link_service = AAZObjectType( serialized_name="privateLinkService", ) @@ -965,7 +978,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="virtualMachine", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.virtual_machine) + cls._build_schema_common_sub_resource_read(properties.virtual_machine) properties.vnet_encryption_supported = AAZBoolType( serialized_name="vnetEncryptionSupported", flags={"read_only": True}, @@ -974,7 +987,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="workloadType", ) - dns_settings = _schema_network_interface_read.properties.dns_settings + dns_settings = _schema_common_network_interface_read.properties.dns_settings dns_settings.applied_dns_servers = AAZListType( serialized_name="appliedDnsServers", flags={"read_only": True}, @@ -994,27 +1007,27 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - applied_dns_servers = _schema_network_interface_read.properties.dns_settings.applied_dns_servers + applied_dns_servers = _schema_common_network_interface_read.properties.dns_settings.applied_dns_servers applied_dns_servers.Element = AAZStrType() - dns_servers = _schema_network_interface_read.properties.dns_settings.dns_servers + dns_servers = _schema_common_network_interface_read.properties.dns_settings.dns_servers dns_servers.Element = AAZStrType() - hosted_workloads = _schema_network_interface_read.properties.hosted_workloads + hosted_workloads = _schema_common_network_interface_read.properties.hosted_workloads hosted_workloads.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(ip_configurations.Element) - private_link_service = _schema_network_interface_read.properties.private_link_service + private_link_service = _schema_common_network_interface_read.properties.private_link_service private_link_service.etag = AAZStrType( flags={"read_only": True}, ) private_link_service.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_link_service.extended_location) + cls._build_schema_common_extended_location_read(private_link_service.extended_location) private_link_service.id = AAZStrType() private_link_service.location = AAZStrType() private_link_service.name = AAZStrType( @@ -1028,7 +1041,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties properties.access_mode = AAZStrType( serialized_name="accessMode", ) @@ -1065,19 +1078,19 @@ def _build_schema_network_interface_read(cls, _schema): ) properties.visibility = AAZObjectType() - auto_approval = _schema_network_interface_read.properties.private_link_service.properties.auto_approval + auto_approval = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval auto_approval.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions subscriptions.Element = AAZStrType() - fqdns = _schema_network_interface_read.properties.private_link_service.properties.fqdns + fqdns = _schema_common_network_interface_read.properties.private_link_service.properties.fqdns fqdns.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1090,7 +1103,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties properties.primary = AAZBoolType() properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", @@ -1106,20 +1119,20 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - load_balancer_frontend_ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations + load_balancer_frontend_ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations load_balancer_frontend_ip_configurations.Element = AAZObjectType() - cls._build_schema_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) + cls._build_schema_common_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) - network_interfaces = _schema_network_interface_read.properties.private_link_service.properties.network_interfaces + network_interfaces = _schema_common_network_interface_read.properties.private_link_service.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_endpoint_connections = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections + private_endpoint_connections = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1132,7 +1145,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties properties.link_identifier = AAZStrType( serialized_name="linkIdentifier", flags={"read_only": True}, @@ -1141,7 +1154,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_endpoint_location = AAZStrType( serialized_name="privateEndpointLocation", flags={"read_only": True}, @@ -1149,71 +1162,71 @@ def _build_schema_network_interface_read(cls, _schema): properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) - visibility = _schema_network_interface_read.properties.private_link_service.properties.visibility + visibility = _schema_common_network_interface_read.properties.private_link_service.properties.visibility visibility.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.visibility.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.visibility.subscriptions subscriptions.Element = AAZStrType() - tags = _schema_network_interface_read.properties.private_link_service.tags + tags = _schema_common_network_interface_read.properties.private_link_service.tags tags.Element = AAZStrType() - tap_configurations = _schema_network_interface_read.properties.tap_configurations + tap_configurations = _schema_common_network_interface_read.properties.tap_configurations tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(tap_configurations.Element) - tags = _schema_network_interface_read.tags + tags = _schema_common_network_interface_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type - _schema_network_security_group_read = None + _schema_common_network_security_group_read = None @classmethod - def _build_schema_network_security_group_read(cls, _schema): - if cls._schema_network_security_group_read is not None: - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + def _build_schema_common_network_security_group_read(cls, _schema): + if cls._schema_common_network_security_group_read is not None: + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type return - cls._schema_network_security_group_read = _schema_network_security_group_read = AAZObjectType() + cls._schema_common_network_security_group_read = _schema_common_network_security_group_read = AAZObjectType() - network_security_group_read = _schema_network_security_group_read - network_security_group_read.etag = AAZStrType( + common_network_security_group_read = _schema_common_network_security_group_read + common_network_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.id = AAZStrType() - network_security_group_read.location = AAZStrType() - network_security_group_read.name = AAZStrType( + common_network_security_group_read.id = AAZStrType() + common_network_security_group_read.location = AAZStrType() + common_network_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.properties = AAZObjectType( + common_network_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_security_group_read.tags = AAZDictType() - network_security_group_read.type = AAZStrType( + common_network_security_group_read.tags = AAZDictType() + common_network_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties + properties = _schema_common_network_security_group_read.properties properties.default_security_rules = AAZListType( serialized_name="defaultSecurityRules", flags={"read_only": True}, @@ -1244,14 +1257,14 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - default_security_rules = _schema_network_security_group_read.properties.default_security_rules + default_security_rules = _schema_common_network_security_group_read.properties.default_security_rules default_security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(default_security_rules.Element) + cls._build_schema_common_security_rule_read(default_security_rules.Element) - flow_logs = _schema_network_security_group_read.properties.flow_logs + flow_logs = _schema_common_network_security_group_read.properties.flow_logs flow_logs.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1269,7 +1282,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - identity = _schema_network_security_group_read.properties.flow_logs.Element.identity + identity = _schema_common_network_security_group_read.properties.flow_logs.Element.identity identity.principal_id = AAZStrType( serialized_name="principalId", flags={"read_only": True}, @@ -1283,10 +1296,10 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="userAssignedIdentities", ) - user_assigned_identities = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities + user_assigned_identities = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities user_assigned_identities.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element _element.client_id = AAZStrType( serialized_name="clientId", flags={"read_only": True}, @@ -1296,7 +1309,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties.flow_logs.Element.properties + properties = _schema_common_network_security_group_read.properties.flow_logs.Element.properties properties.enabled = AAZBoolType() properties.enabled_filtering_criteria = AAZStrType( serialized_name="enabledFilteringCriteria", @@ -1328,12 +1341,12 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"required": True}, ) - flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration + flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration flow_analytics_configuration.network_watcher_flow_analytics_configuration = AAZObjectType( serialized_name="networkWatcherFlowAnalyticsConfiguration", ) - network_watcher_flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration + network_watcher_flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration network_watcher_flow_analytics_configuration.enabled = AAZBoolType() network_watcher_flow_analytics_configuration.traffic_analytics_interval = AAZIntType( serialized_name="trafficAnalyticsInterval", @@ -1348,82 +1361,85 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="workspaceResourceId", ) - format = _schema_network_security_group_read.properties.flow_logs.Element.properties.format + format = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.format format.type = AAZStrType() format.version = AAZIntType() - retention_policy = _schema_network_security_group_read.properties.flow_logs.Element.properties.retention_policy + retention_policy = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.retention_policy retention_policy.days = AAZIntType() retention_policy.enabled = AAZBoolType() - tags = _schema_network_security_group_read.properties.flow_logs.Element.tags + tags = _schema_common_network_security_group_read.properties.flow_logs.Element.tags tags.Element = AAZStrType() - network_interfaces = _schema_network_security_group_read.properties.network_interfaces + network_interfaces = _schema_common_network_security_group_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - security_rules = _schema_network_security_group_read.properties.security_rules + security_rules = _schema_common_network_security_group_read.properties.security_rules security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(security_rules.Element) + cls._build_schema_common_security_rule_read(security_rules.Element) - subnets = _schema_network_security_group_read.properties.subnets + subnets = _schema_common_network_security_group_read.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_network_security_group_read.tags + tags = _schema_common_network_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type - _schema_private_endpoint_read = None + _schema_common_private_endpoint_read = None @classmethod - def _build_schema_private_endpoint_read(cls, _schema): - if cls._schema_private_endpoint_read is not None: - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + def _build_schema_common_private_endpoint_read(cls, _schema): + if cls._schema_common_private_endpoint_read is not None: + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type return - cls._schema_private_endpoint_read = _schema_private_endpoint_read = AAZObjectType() + cls._schema_common_private_endpoint_read = _schema_common_private_endpoint_read = AAZObjectType() - private_endpoint_read = _schema_private_endpoint_read - private_endpoint_read.etag = AAZStrType( + common_private_endpoint_read = _schema_common_private_endpoint_read + common_private_endpoint_read.etag = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.extended_location = AAZObjectType( + common_private_endpoint_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_endpoint_read.extended_location) - private_endpoint_read.id = AAZStrType() - private_endpoint_read.location = AAZStrType() - private_endpoint_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_private_endpoint_read.extended_location) + common_private_endpoint_read.id = AAZStrType() + common_private_endpoint_read.location = AAZStrType() + common_private_endpoint_read.name = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.properties = AAZObjectType( + common_private_endpoint_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_endpoint_read.tags = AAZDictType() - private_endpoint_read.type = AAZStrType( + common_private_endpoint_read.tags = AAZDictType() + common_private_endpoint_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties + properties = _schema_common_private_endpoint_read.properties properties.application_security_groups = AAZListType( serialized_name="applicationSecurityGroups", ) + properties.billing_sku = AAZStrType( + serialized_name="billingSku", + ) properties.custom_dns_configs = AAZListType( serialized_name="customDnsConfigs", ) @@ -1451,28 +1467,28 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - application_security_groups = _schema_private_endpoint_read.properties.application_security_groups + application_security_groups = _schema_common_private_endpoint_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - custom_dns_configs = _schema_private_endpoint_read.properties.custom_dns_configs + custom_dns_configs = _schema_common_private_endpoint_read.properties.custom_dns_configs custom_dns_configs.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.custom_dns_configs.Element + _element = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element _element.fqdn = AAZStrType() _element.ip_addresses = AAZListType( serialized_name="ipAddresses", ) - ip_addresses = _schema_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses + ip_addresses = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses ip_addresses.Element = AAZStrType() - ip_configurations = _schema_private_endpoint_read.properties.ip_configurations + ip_configurations = _schema_common_private_endpoint_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.ip_configurations.Element + _element = _schema_common_private_endpoint_read.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1484,7 +1500,7 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties.ip_configurations.Element.properties + properties = _schema_common_private_endpoint_read.properties.ip_configurations.Element.properties properties.group_id = AAZStrType( serialized_name="groupId", ) @@ -1495,88 +1511,88 @@ def _build_schema_private_endpoint_read(cls, _schema): serialized_name="privateIPAddress", ) - manual_private_link_service_connections = _schema_private_endpoint_read.properties.manual_private_link_service_connections + manual_private_link_service_connections = _schema_common_private_endpoint_read.properties.manual_private_link_service_connections manual_private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(manual_private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(manual_private_link_service_connections.Element) - network_interfaces = _schema_private_endpoint_read.properties.network_interfaces + network_interfaces = _schema_common_private_endpoint_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_link_service_connections = _schema_private_endpoint_read.properties.private_link_service_connections + private_link_service_connections = _schema_common_private_endpoint_read.properties.private_link_service_connections private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(private_link_service_connections.Element) - tags = _schema_private_endpoint_read.tags + tags = _schema_common_private_endpoint_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type - _schema_private_link_service_connection_state_read = None + _schema_common_private_link_service_connection_state_read = None @classmethod - def _build_schema_private_link_service_connection_state_read(cls, _schema): - if cls._schema_private_link_service_connection_state_read is not None: - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + def _build_schema_common_private_link_service_connection_state_read(cls, _schema): + if cls._schema_common_private_link_service_connection_state_read is not None: + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status return - cls._schema_private_link_service_connection_state_read = _schema_private_link_service_connection_state_read = AAZObjectType() + cls._schema_common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read = AAZObjectType() - private_link_service_connection_state_read = _schema_private_link_service_connection_state_read - private_link_service_connection_state_read.actions_required = AAZStrType( + common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read + common_private_link_service_connection_state_read.actions_required = AAZStrType( serialized_name="actionsRequired", ) - private_link_service_connection_state_read.description = AAZStrType() - private_link_service_connection_state_read.status = AAZStrType() + common_private_link_service_connection_state_read.description = AAZStrType() + common_private_link_service_connection_state_read.status = AAZStrType() - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status - _schema_private_link_service_connection_read = None + _schema_common_private_link_service_connection_read = None @classmethod - def _build_schema_private_link_service_connection_read(cls, _schema): - if cls._schema_private_link_service_connection_read is not None: - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + def _build_schema_common_private_link_service_connection_read(cls, _schema): + if cls._schema_common_private_link_service_connection_read is not None: + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type return - cls._schema_private_link_service_connection_read = _schema_private_link_service_connection_read = AAZObjectType() + cls._schema_common_private_link_service_connection_read = _schema_common_private_link_service_connection_read = AAZObjectType() - private_link_service_connection_read = _schema_private_link_service_connection_read - private_link_service_connection_read.etag = AAZStrType( + common_private_link_service_connection_read = _schema_common_private_link_service_connection_read + common_private_link_service_connection_read.etag = AAZStrType( flags={"read_only": True}, ) - private_link_service_connection_read.id = AAZStrType() - private_link_service_connection_read.name = AAZStrType() - private_link_service_connection_read.properties = AAZObjectType( + common_private_link_service_connection_read.id = AAZStrType() + common_private_link_service_connection_read.name = AAZStrType() + common_private_link_service_connection_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_link_service_connection_read.type = AAZStrType( + common_private_link_service_connection_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_link_service_connection_read.properties + properties = _schema_common_private_link_service_connection_read.properties properties.group_ids = AAZListType( serialized_name="groupIds", ) properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.private_link_service_id = AAZStrType( serialized_name="privateLinkServiceId", ) @@ -1588,58 +1604,58 @@ def _build_schema_private_link_service_connection_read(cls, _schema): serialized_name="requestMessage", ) - group_ids = _schema_private_link_service_connection_read.properties.group_ids + group_ids = _schema_common_private_link_service_connection_read.properties.group_ids group_ids.Element = AAZStrType() - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type - _schema_public_ip_address_read = None + _schema_common_public_ip_address_read = None @classmethod - def _build_schema_public_ip_address_read(cls, _schema): - if cls._schema_public_ip_address_read is not None: - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + def _build_schema_common_public_ip_address_read(cls, _schema): + if cls._schema_common_public_ip_address_read is not None: + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones return - cls._schema_public_ip_address_read = _schema_public_ip_address_read = AAZObjectType() + cls._schema_common_public_ip_address_read = _schema_common_public_ip_address_read = AAZObjectType() - public_ip_address_read = _schema_public_ip_address_read - public_ip_address_read.etag = AAZStrType( + common_public_ip_address_read = _schema_common_public_ip_address_read + common_public_ip_address_read.etag = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.extended_location = AAZObjectType( + common_public_ip_address_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(public_ip_address_read.extended_location) - public_ip_address_read.id = AAZStrType() - public_ip_address_read.location = AAZStrType() - public_ip_address_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_public_ip_address_read.extended_location) + common_public_ip_address_read.id = AAZStrType() + common_public_ip_address_read.location = AAZStrType() + common_public_ip_address_read.name = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.properties = AAZObjectType( + common_public_ip_address_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - public_ip_address_read.sku = AAZObjectType() - public_ip_address_read.tags = AAZDictType() - public_ip_address_read.type = AAZStrType( + common_public_ip_address_read.sku = AAZObjectType() + common_public_ip_address_read.tags = AAZDictType() + common_public_ip_address_read.type = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.zones = AAZListType() + common_public_ip_address_read.zones = AAZListType() - properties = _schema_public_ip_address_read.properties + properties = _schema_common_public_ip_address_read.properties properties.ddos_settings = AAZObjectType( serialized_name="ddosSettings", ) @@ -1659,14 +1675,14 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="ipConfiguration", flags={"read_only": True}, ) - cls._build_schema_ip_configuration_read(properties.ip_configuration) + cls._build_schema_common_ip_configuration_read(properties.ip_configuration) properties.ip_tags = AAZListType( serialized_name="ipTags", ) properties.linked_public_ip_address = AAZObjectType( serialized_name="linkedPublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.linked_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.linked_public_ip_address) properties.migration_phase = AAZStrType( serialized_name="migrationPhase", ) @@ -1686,7 +1702,7 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.resource_guid = AAZStrType( serialized_name="resourceGuid", flags={"read_only": True}, @@ -1694,18 +1710,22 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_public_ip_address = AAZObjectType( serialized_name="servicePublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.service_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.service_public_ip_address) - ddos_settings = _schema_public_ip_address_read.properties.ddos_settings + ddos_settings = _schema_common_public_ip_address_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) ddos_settings.ddos_protection_plan = AAZObjectType( serialized_name="ddosProtectionPlan", ) - cls._build_schema_sub_resource_read(ddos_settings.ddos_protection_plan) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_protection_plan) ddos_settings.protection_mode = AAZStrType( serialized_name="protectionMode", ) - dns_settings = _schema_public_ip_address_read.properties.dns_settings + dns_settings = _schema_common_public_ip_address_read.properties.dns_settings dns_settings.domain_name_label = AAZStrType( serialized_name="domainNameLabel", ) @@ -1717,16 +1737,16 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="reverseFqdn", ) - ip_tags = _schema_public_ip_address_read.properties.ip_tags + ip_tags = _schema_common_public_ip_address_read.properties.ip_tags ip_tags.Element = AAZObjectType() - _element = _schema_public_ip_address_read.properties.ip_tags.Element + _element = _schema_common_public_ip_address_read.properties.ip_tags.Element _element.ip_tag_type = AAZStrType( serialized_name="ipTagType", ) _element.tag = AAZStrType() - nat_gateway = _schema_public_ip_address_read.properties.nat_gateway + nat_gateway = _schema_common_public_ip_address_read.properties.nat_gateway nat_gateway.etag = AAZStrType( flags={"read_only": True}, ) @@ -1745,10 +1765,11 @@ def _build_schema_public_ip_address_read(cls, _schema): ) nat_gateway.zones = AAZListType() - properties = _schema_public_ip_address_read.properties.nat_gateway.properties + properties = _schema_common_public_ip_address_read.properties.nat_gateway.properties properties.idle_timeout_in_minutes = AAZIntType( serialized_name="idleTimeoutInMinutes", ) + properties.nat64 = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -1772,91 +1793,93 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.source_virtual_network = AAZObjectType( serialized_name="sourceVirtualNetwork", ) - cls._build_schema_sub_resource_read(properties.source_virtual_network) + cls._build_schema_common_sub_resource_read(properties.source_virtual_network) properties.subnets = AAZListType( flags={"read_only": True}, ) - public_ip_addresses = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses + public_ip_addresses = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses public_ip_addresses.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses.Element) - public_ip_addresses_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 + public_ip_addresses_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 public_ip_addresses_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses_v6.Element) - public_ip_prefixes = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes + public_ip_prefixes = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes public_ip_prefixes.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes.Element) - public_ip_prefixes_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 + public_ip_prefixes_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 public_ip_prefixes_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes_v6.Element) - subnets = _schema_public_ip_address_read.properties.nat_gateway.properties.subnets + subnets = _schema_common_public_ip_address_read.properties.nat_gateway.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_sub_resource_read(subnets.Element) + cls._build_schema_common_sub_resource_read(subnets.Element) - sku = _schema_public_ip_address_read.properties.nat_gateway.sku + sku = _schema_common_public_ip_address_read.properties.nat_gateway.sku sku.name = AAZStrType() - tags = _schema_public_ip_address_read.properties.nat_gateway.tags + tags = _schema_common_public_ip_address_read.properties.nat_gateway.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.properties.nat_gateway.zones + zones = _schema_common_public_ip_address_read.properties.nat_gateway.zones zones.Element = AAZStrType() - sku = _schema_public_ip_address_read.sku + sku = _schema_common_public_ip_address_read.sku sku.name = AAZStrType() sku.tier = AAZStrType() - tags = _schema_public_ip_address_read.tags + tags = _schema_common_public_ip_address_read.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.zones + zones = _schema_common_public_ip_address_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones - _schema_security_rule_read = None + _schema_common_security_rule_read = None @classmethod - def _build_schema_security_rule_read(cls, _schema): - if cls._schema_security_rule_read is not None: - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + def _build_schema_common_security_rule_read(cls, _schema): + if cls._schema_common_security_rule_read is not None: + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type return - cls._schema_security_rule_read = _schema_security_rule_read = AAZObjectType() + cls._schema_common_security_rule_read = _schema_common_security_rule_read = AAZObjectType() - security_rule_read = _schema_security_rule_read - security_rule_read.etag = AAZStrType( + common_security_rule_read = _schema_common_security_rule_read + common_security_rule_read.etag = AAZStrType( flags={"read_only": True}, ) - security_rule_read.id = AAZStrType() - security_rule_read.name = AAZStrType() - security_rule_read.properties = AAZObjectType( + common_security_rule_read.id = AAZStrType() + common_security_rule_read.name = AAZStrType() + common_security_rule_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - security_rule_read.type = AAZStrType() + common_security_rule_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_security_rule_read.properties + properties = _schema_common_security_rule_read.properties properties.access = AAZStrType( flags={"required": True}, ) @@ -1905,75 +1928,77 @@ def _build_schema_security_rule_read(cls, _schema): serialized_name="sourcePortRanges", ) - destination_address_prefixes = _schema_security_rule_read.properties.destination_address_prefixes + destination_address_prefixes = _schema_common_security_rule_read.properties.destination_address_prefixes destination_address_prefixes.Element = AAZStrType() - destination_application_security_groups = _schema_security_rule_read.properties.destination_application_security_groups + destination_application_security_groups = _schema_common_security_rule_read.properties.destination_application_security_groups destination_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(destination_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(destination_application_security_groups.Element) - destination_port_ranges = _schema_security_rule_read.properties.destination_port_ranges + destination_port_ranges = _schema_common_security_rule_read.properties.destination_port_ranges destination_port_ranges.Element = AAZStrType() - source_address_prefixes = _schema_security_rule_read.properties.source_address_prefixes + source_address_prefixes = _schema_common_security_rule_read.properties.source_address_prefixes source_address_prefixes.Element = AAZStrType() - source_application_security_groups = _schema_security_rule_read.properties.source_application_security_groups + source_application_security_groups = _schema_common_security_rule_read.properties.source_application_security_groups source_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(source_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(source_application_security_groups.Element) - source_port_ranges = _schema_security_rule_read.properties.source_port_ranges + source_port_ranges = _schema_common_security_rule_read.properties.source_port_ranges source_port_ranges.Element = AAZStrType() - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type - _schema_sub_resource_read = None + _schema_common_sub_resource_read = None @classmethod - def _build_schema_sub_resource_read(cls, _schema): - if cls._schema_sub_resource_read is not None: - _schema.id = cls._schema_sub_resource_read.id + def _build_schema_common_sub_resource_read(cls, _schema): + if cls._schema_common_sub_resource_read is not None: + _schema.id = cls._schema_common_sub_resource_read.id return - cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType( + cls._schema_common_sub_resource_read = _schema_common_sub_resource_read = AAZObjectType( flags={"read_only": True} ) - sub_resource_read = _schema_sub_resource_read - sub_resource_read.id = AAZStrType() + common_sub_resource_read = _schema_common_sub_resource_read + common_sub_resource_read.id = AAZStrType() - _schema.id = cls._schema_sub_resource_read.id + _schema.id = cls._schema_common_sub_resource_read.id - _schema_subnet_read = None + _schema_common_subnet_read = None @classmethod - def _build_schema_subnet_read(cls, _schema): - if cls._schema_subnet_read is not None: - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + def _build_schema_common_subnet_read(cls, _schema): + if cls._schema_common_subnet_read is not None: + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type return - cls._schema_subnet_read = _schema_subnet_read = AAZObjectType() + cls._schema_common_subnet_read = _schema_common_subnet_read = AAZObjectType() - subnet_read = _schema_subnet_read - subnet_read.etag = AAZStrType( + common_subnet_read = _schema_common_subnet_read + common_subnet_read.etag = AAZStrType( flags={"read_only": True}, ) - subnet_read.id = AAZStrType() - subnet_read.name = AAZStrType() - subnet_read.properties = AAZObjectType( + common_subnet_read.id = AAZStrType() + common_subnet_read.name = AAZStrType() + common_subnet_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - subnet_read.type = AAZStrType() + common_subnet_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties + properties = _schema_common_subnet_read.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2004,11 +2029,11 @@ def _build_schema_subnet_read(cls, _schema): properties.nat_gateway = AAZObjectType( serialized_name="natGateway", ) - cls._build_schema_sub_resource_read(properties.nat_gateway) + cls._build_schema_common_sub_resource_read(properties.nat_gateway) properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.private_endpoint_network_policies = AAZStrType( serialized_name="privateEndpointNetworkPolicies", ) @@ -2046,18 +2071,18 @@ def _build_schema_subnet_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.sharing_scope = AAZStrType( serialized_name="sharingScope", ) - address_prefixes = _schema_subnet_read.properties.address_prefixes + address_prefixes = _schema_common_subnet_read.properties.address_prefixes address_prefixes.Element = AAZStrType() - application_gateway_ip_configurations = _schema_subnet_read.properties.application_gateway_ip_configurations + application_gateway_ip_configurations = _schema_common_subnet_read.properties.application_gateway_ip_configurations application_gateway_ip_configurations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.application_gateway_ip_configurations.Element + _element = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2070,18 +2095,18 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.application_gateway_ip_configurations.Element.properties + properties = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) - delegations = _schema_subnet_read.properties.delegations + delegations = _schema_common_subnet_read.properties.delegations delegations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.delegations.Element + _element = _schema_common_subnet_read.properties.delegations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2092,7 +2117,7 @@ def _build_schema_subnet_read(cls, _schema): ) _element.type = AAZStrType() - properties = _schema_subnet_read.properties.delegations.Element.properties + properties = _schema_common_subnet_read.properties.delegations.Element.properties properties.actions = AAZListType( flags={"read_only": True}, ) @@ -2104,17 +2129,17 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceName", ) - actions = _schema_subnet_read.properties.delegations.Element.properties.actions + actions = _schema_common_subnet_read.properties.delegations.Element.properties.actions actions.Element = AAZStrType() - ip_allocations = _schema_subnet_read.properties.ip_allocations + ip_allocations = _schema_common_subnet_read.properties.ip_allocations ip_allocations.Element = AAZObjectType() - cls._build_schema_sub_resource_read(ip_allocations.Element) + cls._build_schema_common_sub_resource_read(ip_allocations.Element) - ip_configuration_profiles = _schema_subnet_read.properties.ip_configuration_profiles + ip_configuration_profiles = _schema_common_subnet_read.properties.ip_configuration_profiles ip_configuration_profiles.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ip_configuration_profiles.Element + _element = _schema_common_subnet_read.properties.ip_configuration_profiles.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2127,22 +2152,22 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.ip_configuration_profiles.Element.properties + properties = _schema_common_subnet_read.properties.ip_configuration_profiles.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - ip_configurations = _schema_subnet_read.properties.ip_configurations + ip_configurations = _schema_common_subnet_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_ip_configuration_read(ip_configurations.Element) - ipam_pool_prefix_allocations = _schema_subnet_read.properties.ipam_pool_prefix_allocations + ipam_pool_prefix_allocations = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element + _element = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element _element.allocated_address_prefixes = AAZListType( serialized_name="allocatedAddressPrefixes", flags={"read_only": True}, @@ -2154,20 +2179,20 @@ def _build_schema_subnet_read(cls, _schema): flags={"client_flatten": True}, ) - allocated_address_prefixes = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes + allocated_address_prefixes = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes allocated_address_prefixes.Element = AAZStrType() - pool = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool + pool = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool pool.id = AAZStrType() - private_endpoints = _schema_subnet_read.properties.private_endpoints + private_endpoints = _schema_common_subnet_read.properties.private_endpoints private_endpoints.Element = AAZObjectType() - cls._build_schema_private_endpoint_read(private_endpoints.Element) + cls._build_schema_common_private_endpoint_read(private_endpoints.Element) - resource_navigation_links = _schema_subnet_read.properties.resource_navigation_links + resource_navigation_links = _schema_common_subnet_read.properties.resource_navigation_links resource_navigation_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.resource_navigation_links.Element + _element = _schema_common_subnet_read.properties.resource_navigation_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2182,7 +2207,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.resource_navigation_links.Element.properties + properties = _schema_common_subnet_read.properties.resource_navigation_links.Element.properties properties.link = AAZStrType() properties.linked_resource_type = AAZStrType( serialized_name="linkedResourceType", @@ -2192,7 +2217,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - route_table = _schema_subnet_read.properties.route_table + route_table = _schema_common_subnet_read.properties.route_table route_table.etag = AAZStrType( flags={"read_only": True}, ) @@ -2209,10 +2234,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.route_table.properties + properties = _schema_common_subnet_read.properties.route_table.properties properties.disable_bgp_route_propagation = AAZBoolType( serialized_name="disableBgpRoutePropagation", ) + properties.disable_peering_route = AAZStrType( + serialized_name="disablePeeringRoute", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -2226,10 +2254,10 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - routes = _schema_subnet_read.properties.route_table.properties.routes + routes = _schema_common_subnet_read.properties.route_table.properties.routes routes.Element = AAZObjectType() - _element = _schema_subnet_read.properties.route_table.properties.routes.Element + _element = _schema_common_subnet_read.properties.route_table.properties.routes.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2238,9 +2266,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.route_table.properties.routes.Element.properties + properties = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2248,6 +2278,9 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="hasBgpOverride", flags={"read_only": True}, ) + properties.next_hop = AAZObjectType( + serialized_name="nextHop", + ) properties.next_hop_ip_address = AAZStrType( serialized_name="nextHopIpAddress", ) @@ -2260,17 +2293,26 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - subnets = _schema_subnet_read.properties.route_table.properties.subnets + next_hop = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop + next_hop.next_hop_ip_addresses = AAZListType( + serialized_name="nextHopIpAddresses", + flags={"required": True}, + ) + + next_hop_ip_addresses = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop.next_hop_ip_addresses + next_hop_ip_addresses.Element = AAZStrType() + + subnets = _schema_common_subnet_read.properties.route_table.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.route_table.tags + tags = _schema_common_subnet_read.properties.route_table.tags tags.Element = AAZStrType() - service_association_links = _schema_subnet_read.properties.service_association_links + service_association_links = _schema_common_subnet_read.properties.service_association_links service_association_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_association_links.Element + _element = _schema_common_subnet_read.properties.service_association_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2283,7 +2325,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_association_links.Element.properties + properties = _schema_common_subnet_read.properties.service_association_links.Element.properties properties.allow_delete = AAZBoolType( serialized_name="allowDelete", ) @@ -2297,13 +2339,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - locations = _schema_subnet_read.properties.service_association_links.Element.properties.locations + locations = _schema_common_subnet_read.properties.service_association_links.Element.properties.locations locations.Element = AAZStrType() - service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies + service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies service_endpoint_policies.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2323,7 +2365,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties properties.contextual_service_endpoint_policies = AAZListType( serialized_name="contextualServiceEndpointPolicies", ) @@ -2345,13 +2387,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - contextual_service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies + contextual_service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies contextual_service_endpoint_policies.Element = AAZStrType() - service_endpoint_policy_definitions = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions + service_endpoint_policy_definitions = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions service_endpoint_policy_definitions.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2360,9 +2402,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties properties.description = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", @@ -2373,82 +2417,82 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceResources", ) - service_resources = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources + service_resources = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources service_resources.Element = AAZStrType() - subnets = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.subnets + subnets = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.service_endpoint_policies.Element.tags + tags = _schema_common_subnet_read.properties.service_endpoint_policies.Element.tags tags.Element = AAZStrType() - service_endpoints = _schema_subnet_read.properties.service_endpoints + service_endpoints = _schema_common_subnet_read.properties.service_endpoints service_endpoints.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoints.Element + _element = _schema_common_subnet_read.properties.service_endpoints.Element _element.locations = AAZListType() _element.network_identifier = AAZObjectType( serialized_name="networkIdentifier", ) - cls._build_schema_sub_resource_read(_element.network_identifier) + cls._build_schema_common_sub_resource_read(_element.network_identifier) _element.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) _element.service = AAZStrType() - locations = _schema_subnet_read.properties.service_endpoints.Element.locations + locations = _schema_common_subnet_read.properties.service_endpoints.Element.locations locations.Element = AAZStrType() - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type - _schema_virtual_network_tap_read = None + _schema_common_virtual_network_tap_read = None @classmethod - def _build_schema_virtual_network_tap_read(cls, _schema): - if cls._schema_virtual_network_tap_read is not None: - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + def _build_schema_common_virtual_network_tap_read(cls, _schema): + if cls._schema_common_virtual_network_tap_read is not None: + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type return - cls._schema_virtual_network_tap_read = _schema_virtual_network_tap_read = AAZObjectType() + cls._schema_common_virtual_network_tap_read = _schema_common_virtual_network_tap_read = AAZObjectType() - virtual_network_tap_read = _schema_virtual_network_tap_read - virtual_network_tap_read.etag = AAZStrType( + common_virtual_network_tap_read = _schema_common_virtual_network_tap_read + common_virtual_network_tap_read.etag = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.id = AAZStrType() - virtual_network_tap_read.location = AAZStrType() - virtual_network_tap_read.name = AAZStrType( + common_virtual_network_tap_read.id = AAZStrType() + common_virtual_network_tap_read.location = AAZStrType() + common_virtual_network_tap_read.name = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.properties = AAZObjectType( + common_virtual_network_tap_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - virtual_network_tap_read.tags = AAZDictType() - virtual_network_tap_read.type = AAZStrType( + common_virtual_network_tap_read.tags = AAZDictType() + common_virtual_network_tap_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_virtual_network_tap_read.properties + properties = _schema_common_virtual_network_tap_read.properties properties.destination_load_balancer_front_end_ip_configuration = AAZObjectType( serialized_name="destinationLoadBalancerFrontEndIPConfiguration", ) - cls._build_schema_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) + cls._build_schema_common_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) properties.destination_network_interface_ip_configuration = AAZObjectType( serialized_name="destinationNetworkInterfaceIPConfiguration", ) - cls._build_schema_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) properties.destination_port = AAZIntType( serialized_name="destinationPort", ) @@ -2465,20 +2509,20 @@ def _build_schema_virtual_network_tap_read(cls, _schema): flags={"read_only": True}, ) - network_interface_tap_configurations = _schema_virtual_network_tap_read.properties.network_interface_tap_configurations + network_interface_tap_configurations = _schema_common_virtual_network_tap_read.properties.network_interface_tap_configurations network_interface_tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) - tags = _schema_virtual_network_tap_read.tags + tags = _schema_common_virtual_network_tap_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type __all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_show.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_show.py index 1c788eefa96..597c73e9036 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_show.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2025-05-01", + "version": "2025-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privateendpoints/{}", "2025-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privateendpoints/{}", "2025-07-01"], ] } @@ -53,10 +53,6 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema.resource_group = AAZResourceGroupNameArg( required=True, ) - _args_schema.expand = AAZStrArg( - options=["--expand"], - help="Expands referenced resources.", - ) return cls._args_schema def _execute_operations(self): @@ -124,10 +120,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "$expand", self.ctx.args.expand, - ), - **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -158,7 +151,7 @@ def _build_schema_on_200(cls): return cls._schema_on_200 cls._schema_on_200 = AAZObjectType() - _ShowHelper._build_schema_private_endpoint_read(cls._schema_on_200) + _ShowHelper._build_schema_common_private_endpoint_read(cls._schema_on_200) return cls._schema_on_200 @@ -166,40 +159,40 @@ def _build_schema_on_200(cls): class _ShowHelper: """Helper class for Show""" - _schema_application_security_group_read = None + _schema_common_application_security_group_read = None @classmethod - def _build_schema_application_security_group_read(cls, _schema): - if cls._schema_application_security_group_read is not None: - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + def _build_schema_common_application_security_group_read(cls, _schema): + if cls._schema_common_application_security_group_read is not None: + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type return - cls._schema_application_security_group_read = _schema_application_security_group_read = AAZObjectType() + cls._schema_common_application_security_group_read = _schema_common_application_security_group_read = AAZObjectType() - application_security_group_read = _schema_application_security_group_read - application_security_group_read.etag = AAZStrType( + common_application_security_group_read = _schema_common_application_security_group_read + common_application_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.id = AAZStrType() - application_security_group_read.location = AAZStrType() - application_security_group_read.name = AAZStrType( + common_application_security_group_read.id = AAZStrType() + common_application_security_group_read.location = AAZStrType() + common_application_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.properties = AAZObjectType( + common_application_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - application_security_group_read.tags = AAZDictType() - application_security_group_read.type = AAZStrType( + common_application_security_group_read.tags = AAZDictType() + common_application_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_application_security_group_read.properties + properties = _schema_common_application_security_group_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -209,69 +202,72 @@ def _build_schema_application_security_group_read(cls, _schema): flags={"read_only": True}, ) - tags = _schema_application_security_group_read.tags + tags = _schema_common_application_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type - _schema_extended_location_read = None + _schema_common_extended_location_read = None @classmethod - def _build_schema_extended_location_read(cls, _schema): - if cls._schema_extended_location_read is not None: - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + def _build_schema_common_extended_location_read(cls, _schema): + if cls._schema_common_extended_location_read is not None: + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type return - cls._schema_extended_location_read = _schema_extended_location_read = AAZObjectType() + cls._schema_common_extended_location_read = _schema_common_extended_location_read = AAZObjectType() - extended_location_read = _schema_extended_location_read - extended_location_read.name = AAZStrType() - extended_location_read.type = AAZStrType() + common_extended_location_read = _schema_common_extended_location_read + common_extended_location_read.name = AAZStrType() + common_extended_location_read.type = AAZStrType() - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type - _schema_frontend_ip_configuration_read = None + _schema_common_frontend_ip_configuration_read = None @classmethod - def _build_schema_frontend_ip_configuration_read(cls, _schema): - if cls._schema_frontend_ip_configuration_read is not None: - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + def _build_schema_common_frontend_ip_configuration_read(cls, _schema): + if cls._schema_common_frontend_ip_configuration_read is not None: + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones return - cls._schema_frontend_ip_configuration_read = _schema_frontend_ip_configuration_read = AAZObjectType() + cls._schema_common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read = AAZObjectType() - frontend_ip_configuration_read = _schema_frontend_ip_configuration_read - frontend_ip_configuration_read.etag = AAZStrType( + common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read + common_frontend_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.id = AAZStrType() - frontend_ip_configuration_read.name = AAZStrType() - frontend_ip_configuration_read.properties = AAZObjectType( + common_frontend_ip_configuration_read.id = AAZStrType() + common_frontend_ip_configuration_read.name = AAZStrType() + common_frontend_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - frontend_ip_configuration_read.type = AAZStrType( + common_frontend_ip_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.zones = AAZListType() + common_frontend_ip_configuration_read.zones = AAZListType() - properties = _schema_frontend_ip_configuration_read.properties + properties = _schema_common_frontend_ip_configuration_read.properties + properties.ddos_settings = AAZObjectType( + serialized_name="ddosSettings", + ) properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.inbound_nat_pools = AAZListType( serialized_name="inboundNatPools", flags={"read_only": True}, @@ -304,66 +300,72 @@ def _build_schema_frontend_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) + + ddos_settings = _schema_common_frontend_ip_configuration_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) - inbound_nat_pools = _schema_frontend_ip_configuration_read.properties.inbound_nat_pools + inbound_nat_pools = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_pools inbound_nat_pools.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_pools.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_pools.Element) - inbound_nat_rules = _schema_frontend_ip_configuration_read.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancing_rules = _schema_frontend_ip_configuration_read.properties.load_balancing_rules + load_balancing_rules = _schema_common_frontend_ip_configuration_read.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_frontend_ip_configuration_read.properties.outbound_rules + outbound_rules = _schema_common_frontend_ip_configuration_read.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - zones = _schema_frontend_ip_configuration_read.zones + zones = _schema_common_frontend_ip_configuration_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones - _schema_ip_configuration_read = None + _schema_common_ip_configuration_read = None @classmethod - def _build_schema_ip_configuration_read(cls, _schema): - if cls._schema_ip_configuration_read is not None: - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + def _build_schema_common_ip_configuration_read(cls, _schema): + if cls._schema_common_ip_configuration_read is not None: + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties return - cls._schema_ip_configuration_read = _schema_ip_configuration_read = AAZObjectType( + cls._schema_common_ip_configuration_read = _schema_common_ip_configuration_read = AAZObjectType( flags={"read_only": True} ) - ip_configuration_read = _schema_ip_configuration_read - ip_configuration_read.etag = AAZStrType( + common_ip_configuration_read = _schema_common_ip_configuration_read + common_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - ip_configuration_read.id = AAZStrType() - ip_configuration_read.name = AAZStrType() - ip_configuration_read.properties = AAZObjectType( + common_ip_configuration_read.id = AAZStrType() + common_ip_configuration_read.name = AAZStrType() + common_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_ip_configuration_read.properties + properties = _schema_common_ip_configuration_read.properties properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", ) @@ -377,41 +379,43 @@ def _build_schema_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties - _schema_network_interface_ip_configuration_read = None + _schema_common_network_interface_ip_configuration_read = None @classmethod - def _build_schema_network_interface_ip_configuration_read(cls, _schema): - if cls._schema_network_interface_ip_configuration_read is not None: - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + def _build_schema_common_network_interface_ip_configuration_read(cls, _schema): + if cls._schema_common_network_interface_ip_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type return - cls._schema_network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read = AAZObjectType() + cls._schema_common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read = AAZObjectType() - network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read - network_interface_ip_configuration_read.etag = AAZStrType( + common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read + common_network_interface_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_ip_configuration_read.id = AAZStrType() - network_interface_ip_configuration_read.name = AAZStrType() - network_interface_ip_configuration_read.properties = AAZObjectType( + common_network_interface_ip_configuration_read.id = AAZStrType() + common_network_interface_ip_configuration_read.name = AAZStrType() + common_network_interface_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_ip_configuration_read.type = AAZStrType() + common_network_interface_ip_configuration_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_network_interface_ip_configuration_read.properties + properties = _schema_common_network_interface_ip_configuration_read.properties properties.application_gateway_backend_address_pools = AAZListType( serialized_name="applicationGatewayBackendAddressPools", ) @@ -421,7 +425,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.load_balancer_backend_address_pools = AAZListType( serialized_name="loadBalancerBackendAddressPools", ) @@ -453,17 +457,17 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) properties.virtual_network_taps = AAZListType( serialized_name="virtualNetworkTaps", ) - application_gateway_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools + application_gateway_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools application_gateway_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -476,7 +480,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties properties.backend_addresses = AAZListType( serialized_name="backendAddresses", ) @@ -489,27 +493,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - backend_addresses = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses + backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element _element.fqdn = AAZStrType() _element.ip_address = AAZStrType( serialized_name="ipAddress", ) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - application_security_groups = _schema_network_interface_ip_configuration_read.properties.application_security_groups + application_security_groups = _schema_common_network_interface_ip_configuration_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - load_balancer_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools + load_balancer_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools load_balancer_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -522,7 +526,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties properties.backend_ip_configurations = AAZListType( serialized_name="backendIPConfigurations", flags={"read_only": True}, @@ -546,7 +550,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="outboundRule", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.outbound_rule) + cls._build_schema_common_sub_resource_read(properties.outbound_rule) properties.outbound_rules = AAZListType( serialized_name="outboundRules", flags={"read_only": True}, @@ -564,26 +568,26 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancer_backend_addresses = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses + load_balancer_backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses load_balancer_backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element _element.name = AAZStrType() _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties properties.admin_state = AAZStrType( serialized_name="adminState", ) @@ -597,23 +601,23 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.load_balancer_frontend_ip_configuration = AAZObjectType( serialized_name="loadBalancerFrontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.load_balancer_frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.load_balancer_frontend_ip_configuration) properties.network_interface_ip_configuration = AAZObjectType( serialized_name="networkInterfaceIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.network_interface_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.network_interface_ip_configuration) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - inbound_nat_rules_port_mapping = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping + inbound_nat_rules_port_mapping = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping inbound_nat_rules_port_mapping.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element _element.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -624,27 +628,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="inboundNatRuleName", ) - load_balancing_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules + load_balancing_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules + outbound_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - tunnel_interfaces = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces + tunnel_interfaces = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces tunnel_interfaces.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element _element.identifier = AAZIntType() _element.port = AAZIntType() _element.protocol = AAZStrType() _element.type = AAZStrType() - load_balancer_inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules + load_balancer_inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules load_balancer_inbound_nat_rules.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -657,16 +661,16 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties properties.backend_address_pool = AAZObjectType( serialized_name="backendAddressPool", ) - cls._build_schema_sub_resource_read(properties.backend_address_pool) + cls._build_schema_common_sub_resource_read(properties.backend_address_pool) properties.backend_ip_configuration = AAZObjectType( serialized_name="backendIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_network_interface_ip_configuration_read(properties.backend_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.backend_ip_configuration) properties.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -679,7 +683,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.frontend_ip_configuration = AAZObjectType( serialized_name="frontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.frontend_ip_configuration) properties.frontend_port = AAZIntType( serialized_name="frontendPort", ) @@ -698,7 +702,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - private_link_connection_properties = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties + private_link_connection_properties = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties private_link_connection_properties.fqdns = AAZListType( flags={"read_only": True}, ) @@ -711,47 +715,47 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - fqdns = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns + fqdns = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns fqdns.Element = AAZStrType() - virtual_network_taps = _schema_network_interface_ip_configuration_read.properties.virtual_network_taps + virtual_network_taps = _schema_common_network_interface_ip_configuration_read.properties.virtual_network_taps virtual_network_taps.Element = AAZObjectType() - cls._build_schema_virtual_network_tap_read(virtual_network_taps.Element) + cls._build_schema_common_virtual_network_tap_read(virtual_network_taps.Element) - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type - _schema_network_interface_tap_configuration_read = None + _schema_common_network_interface_tap_configuration_read = None @classmethod - def _build_schema_network_interface_tap_configuration_read(cls, _schema): - if cls._schema_network_interface_tap_configuration_read is not None: - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + def _build_schema_common_network_interface_tap_configuration_read(cls, _schema): + if cls._schema_common_network_interface_tap_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type return - cls._schema_network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read = AAZObjectType() + cls._schema_common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read = AAZObjectType() - network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read - network_interface_tap_configuration_read.etag = AAZStrType( + common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read + common_network_interface_tap_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_tap_configuration_read.id = AAZStrType() - network_interface_tap_configuration_read.name = AAZStrType() - network_interface_tap_configuration_read.properties = AAZObjectType( + common_network_interface_tap_configuration_read.id = AAZStrType() + common_network_interface_tap_configuration_read.name = AAZStrType() + common_network_interface_tap_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_tap_configuration_read.type = AAZStrType( + common_network_interface_tap_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_tap_configuration_read.properties + properties = _schema_common_network_interface_tap_configuration_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -759,53 +763,53 @@ def _build_schema_network_interface_tap_configuration_read(cls, _schema): properties.virtual_network_tap = AAZObjectType( serialized_name="virtualNetworkTap", ) - cls._build_schema_virtual_network_tap_read(properties.virtual_network_tap) + cls._build_schema_common_virtual_network_tap_read(properties.virtual_network_tap) - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type - _schema_network_interface_read = None + _schema_common_network_interface_read = None @classmethod - def _build_schema_network_interface_read(cls, _schema): - if cls._schema_network_interface_read is not None: - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + def _build_schema_common_network_interface_read(cls, _schema): + if cls._schema_common_network_interface_read is not None: + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type return - cls._schema_network_interface_read = _schema_network_interface_read = AAZObjectType() + cls._schema_common_network_interface_read = _schema_common_network_interface_read = AAZObjectType() - network_interface_read = _schema_network_interface_read - network_interface_read.etag = AAZStrType( + common_network_interface_read = _schema_common_network_interface_read + common_network_interface_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_read.extended_location = AAZObjectType( + common_network_interface_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(network_interface_read.extended_location) - network_interface_read.id = AAZStrType() - network_interface_read.location = AAZStrType() - network_interface_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_network_interface_read.extended_location) + common_network_interface_read.id = AAZStrType() + common_network_interface_read.location = AAZStrType() + common_network_interface_read.name = AAZStrType( flags={"read_only": True}, ) - network_interface_read.properties = AAZObjectType( + common_network_interface_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_read.tags = AAZDictType() - network_interface_read.type = AAZStrType( + common_network_interface_read.tags = AAZDictType() + common_network_interface_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties + properties = _schema_common_network_interface_read.properties properties.auxiliary_mode = AAZStrType( serialized_name="auxiliaryMode", ) @@ -826,7 +830,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="dscpConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.dscp_configuration) + cls._build_schema_common_sub_resource_read(properties.dscp_configuration) properties.enable_accelerated_networking = AAZBoolType( serialized_name="enableAcceleratedNetworking", ) @@ -850,7 +854,7 @@ def _build_schema_network_interface_read(cls, _schema): properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.nic_type = AAZStrType( serialized_name="nicType", ) @@ -861,7 +865,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_link_service = AAZObjectType( serialized_name="privateLinkService", ) @@ -881,7 +885,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="virtualMachine", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.virtual_machine) + cls._build_schema_common_sub_resource_read(properties.virtual_machine) properties.vnet_encryption_supported = AAZBoolType( serialized_name="vnetEncryptionSupported", flags={"read_only": True}, @@ -890,7 +894,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="workloadType", ) - dns_settings = _schema_network_interface_read.properties.dns_settings + dns_settings = _schema_common_network_interface_read.properties.dns_settings dns_settings.applied_dns_servers = AAZListType( serialized_name="appliedDnsServers", flags={"read_only": True}, @@ -910,27 +914,27 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - applied_dns_servers = _schema_network_interface_read.properties.dns_settings.applied_dns_servers + applied_dns_servers = _schema_common_network_interface_read.properties.dns_settings.applied_dns_servers applied_dns_servers.Element = AAZStrType() - dns_servers = _schema_network_interface_read.properties.dns_settings.dns_servers + dns_servers = _schema_common_network_interface_read.properties.dns_settings.dns_servers dns_servers.Element = AAZStrType() - hosted_workloads = _schema_network_interface_read.properties.hosted_workloads + hosted_workloads = _schema_common_network_interface_read.properties.hosted_workloads hosted_workloads.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(ip_configurations.Element) - private_link_service = _schema_network_interface_read.properties.private_link_service + private_link_service = _schema_common_network_interface_read.properties.private_link_service private_link_service.etag = AAZStrType( flags={"read_only": True}, ) private_link_service.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_link_service.extended_location) + cls._build_schema_common_extended_location_read(private_link_service.extended_location) private_link_service.id = AAZStrType() private_link_service.location = AAZStrType() private_link_service.name = AAZStrType( @@ -944,7 +948,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties properties.access_mode = AAZStrType( serialized_name="accessMode", ) @@ -981,19 +985,19 @@ def _build_schema_network_interface_read(cls, _schema): ) properties.visibility = AAZObjectType() - auto_approval = _schema_network_interface_read.properties.private_link_service.properties.auto_approval + auto_approval = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval auto_approval.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions subscriptions.Element = AAZStrType() - fqdns = _schema_network_interface_read.properties.private_link_service.properties.fqdns + fqdns = _schema_common_network_interface_read.properties.private_link_service.properties.fqdns fqdns.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1006,7 +1010,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties properties.primary = AAZBoolType() properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", @@ -1022,20 +1026,20 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - load_balancer_frontend_ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations + load_balancer_frontend_ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations load_balancer_frontend_ip_configurations.Element = AAZObjectType() - cls._build_schema_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) + cls._build_schema_common_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) - network_interfaces = _schema_network_interface_read.properties.private_link_service.properties.network_interfaces + network_interfaces = _schema_common_network_interface_read.properties.private_link_service.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_endpoint_connections = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections + private_endpoint_connections = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1048,7 +1052,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties properties.link_identifier = AAZStrType( serialized_name="linkIdentifier", flags={"read_only": True}, @@ -1057,7 +1061,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_endpoint_location = AAZStrType( serialized_name="privateEndpointLocation", flags={"read_only": True}, @@ -1065,71 +1069,71 @@ def _build_schema_network_interface_read(cls, _schema): properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) - visibility = _schema_network_interface_read.properties.private_link_service.properties.visibility + visibility = _schema_common_network_interface_read.properties.private_link_service.properties.visibility visibility.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.visibility.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.visibility.subscriptions subscriptions.Element = AAZStrType() - tags = _schema_network_interface_read.properties.private_link_service.tags + tags = _schema_common_network_interface_read.properties.private_link_service.tags tags.Element = AAZStrType() - tap_configurations = _schema_network_interface_read.properties.tap_configurations + tap_configurations = _schema_common_network_interface_read.properties.tap_configurations tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(tap_configurations.Element) - tags = _schema_network_interface_read.tags + tags = _schema_common_network_interface_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type - _schema_network_security_group_read = None + _schema_common_network_security_group_read = None @classmethod - def _build_schema_network_security_group_read(cls, _schema): - if cls._schema_network_security_group_read is not None: - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + def _build_schema_common_network_security_group_read(cls, _schema): + if cls._schema_common_network_security_group_read is not None: + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type return - cls._schema_network_security_group_read = _schema_network_security_group_read = AAZObjectType() + cls._schema_common_network_security_group_read = _schema_common_network_security_group_read = AAZObjectType() - network_security_group_read = _schema_network_security_group_read - network_security_group_read.etag = AAZStrType( + common_network_security_group_read = _schema_common_network_security_group_read + common_network_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.id = AAZStrType() - network_security_group_read.location = AAZStrType() - network_security_group_read.name = AAZStrType( + common_network_security_group_read.id = AAZStrType() + common_network_security_group_read.location = AAZStrType() + common_network_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.properties = AAZObjectType( + common_network_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_security_group_read.tags = AAZDictType() - network_security_group_read.type = AAZStrType( + common_network_security_group_read.tags = AAZDictType() + common_network_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties + properties = _schema_common_network_security_group_read.properties properties.default_security_rules = AAZListType( serialized_name="defaultSecurityRules", flags={"read_only": True}, @@ -1160,14 +1164,14 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - default_security_rules = _schema_network_security_group_read.properties.default_security_rules + default_security_rules = _schema_common_network_security_group_read.properties.default_security_rules default_security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(default_security_rules.Element) + cls._build_schema_common_security_rule_read(default_security_rules.Element) - flow_logs = _schema_network_security_group_read.properties.flow_logs + flow_logs = _schema_common_network_security_group_read.properties.flow_logs flow_logs.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1185,7 +1189,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - identity = _schema_network_security_group_read.properties.flow_logs.Element.identity + identity = _schema_common_network_security_group_read.properties.flow_logs.Element.identity identity.principal_id = AAZStrType( serialized_name="principalId", flags={"read_only": True}, @@ -1199,10 +1203,10 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="userAssignedIdentities", ) - user_assigned_identities = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities + user_assigned_identities = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities user_assigned_identities.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element _element.client_id = AAZStrType( serialized_name="clientId", flags={"read_only": True}, @@ -1212,7 +1216,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties.flow_logs.Element.properties + properties = _schema_common_network_security_group_read.properties.flow_logs.Element.properties properties.enabled = AAZBoolType() properties.enabled_filtering_criteria = AAZStrType( serialized_name="enabledFilteringCriteria", @@ -1244,12 +1248,12 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"required": True}, ) - flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration + flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration flow_analytics_configuration.network_watcher_flow_analytics_configuration = AAZObjectType( serialized_name="networkWatcherFlowAnalyticsConfiguration", ) - network_watcher_flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration + network_watcher_flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration network_watcher_flow_analytics_configuration.enabled = AAZBoolType() network_watcher_flow_analytics_configuration.traffic_analytics_interval = AAZIntType( serialized_name="trafficAnalyticsInterval", @@ -1264,82 +1268,85 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="workspaceResourceId", ) - format = _schema_network_security_group_read.properties.flow_logs.Element.properties.format + format = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.format format.type = AAZStrType() format.version = AAZIntType() - retention_policy = _schema_network_security_group_read.properties.flow_logs.Element.properties.retention_policy + retention_policy = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.retention_policy retention_policy.days = AAZIntType() retention_policy.enabled = AAZBoolType() - tags = _schema_network_security_group_read.properties.flow_logs.Element.tags + tags = _schema_common_network_security_group_read.properties.flow_logs.Element.tags tags.Element = AAZStrType() - network_interfaces = _schema_network_security_group_read.properties.network_interfaces + network_interfaces = _schema_common_network_security_group_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - security_rules = _schema_network_security_group_read.properties.security_rules + security_rules = _schema_common_network_security_group_read.properties.security_rules security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(security_rules.Element) + cls._build_schema_common_security_rule_read(security_rules.Element) - subnets = _schema_network_security_group_read.properties.subnets + subnets = _schema_common_network_security_group_read.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_network_security_group_read.tags + tags = _schema_common_network_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type - _schema_private_endpoint_read = None + _schema_common_private_endpoint_read = None @classmethod - def _build_schema_private_endpoint_read(cls, _schema): - if cls._schema_private_endpoint_read is not None: - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + def _build_schema_common_private_endpoint_read(cls, _schema): + if cls._schema_common_private_endpoint_read is not None: + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type return - cls._schema_private_endpoint_read = _schema_private_endpoint_read = AAZObjectType() + cls._schema_common_private_endpoint_read = _schema_common_private_endpoint_read = AAZObjectType() - private_endpoint_read = _schema_private_endpoint_read - private_endpoint_read.etag = AAZStrType( + common_private_endpoint_read = _schema_common_private_endpoint_read + common_private_endpoint_read.etag = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.extended_location = AAZObjectType( + common_private_endpoint_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_endpoint_read.extended_location) - private_endpoint_read.id = AAZStrType() - private_endpoint_read.location = AAZStrType() - private_endpoint_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_private_endpoint_read.extended_location) + common_private_endpoint_read.id = AAZStrType() + common_private_endpoint_read.location = AAZStrType() + common_private_endpoint_read.name = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.properties = AAZObjectType( + common_private_endpoint_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_endpoint_read.tags = AAZDictType() - private_endpoint_read.type = AAZStrType( + common_private_endpoint_read.tags = AAZDictType() + common_private_endpoint_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties + properties = _schema_common_private_endpoint_read.properties properties.application_security_groups = AAZListType( serialized_name="applicationSecurityGroups", ) + properties.billing_sku = AAZStrType( + serialized_name="billingSku", + ) properties.custom_dns_configs = AAZListType( serialized_name="customDnsConfigs", ) @@ -1367,28 +1374,28 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - application_security_groups = _schema_private_endpoint_read.properties.application_security_groups + application_security_groups = _schema_common_private_endpoint_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - custom_dns_configs = _schema_private_endpoint_read.properties.custom_dns_configs + custom_dns_configs = _schema_common_private_endpoint_read.properties.custom_dns_configs custom_dns_configs.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.custom_dns_configs.Element + _element = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element _element.fqdn = AAZStrType() _element.ip_addresses = AAZListType( serialized_name="ipAddresses", ) - ip_addresses = _schema_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses + ip_addresses = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses ip_addresses.Element = AAZStrType() - ip_configurations = _schema_private_endpoint_read.properties.ip_configurations + ip_configurations = _schema_common_private_endpoint_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.ip_configurations.Element + _element = _schema_common_private_endpoint_read.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1400,7 +1407,7 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties.ip_configurations.Element.properties + properties = _schema_common_private_endpoint_read.properties.ip_configurations.Element.properties properties.group_id = AAZStrType( serialized_name="groupId", ) @@ -1411,88 +1418,88 @@ def _build_schema_private_endpoint_read(cls, _schema): serialized_name="privateIPAddress", ) - manual_private_link_service_connections = _schema_private_endpoint_read.properties.manual_private_link_service_connections + manual_private_link_service_connections = _schema_common_private_endpoint_read.properties.manual_private_link_service_connections manual_private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(manual_private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(manual_private_link_service_connections.Element) - network_interfaces = _schema_private_endpoint_read.properties.network_interfaces + network_interfaces = _schema_common_private_endpoint_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_link_service_connections = _schema_private_endpoint_read.properties.private_link_service_connections + private_link_service_connections = _schema_common_private_endpoint_read.properties.private_link_service_connections private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(private_link_service_connections.Element) - tags = _schema_private_endpoint_read.tags + tags = _schema_common_private_endpoint_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type - _schema_private_link_service_connection_state_read = None + _schema_common_private_link_service_connection_state_read = None @classmethod - def _build_schema_private_link_service_connection_state_read(cls, _schema): - if cls._schema_private_link_service_connection_state_read is not None: - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + def _build_schema_common_private_link_service_connection_state_read(cls, _schema): + if cls._schema_common_private_link_service_connection_state_read is not None: + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status return - cls._schema_private_link_service_connection_state_read = _schema_private_link_service_connection_state_read = AAZObjectType() + cls._schema_common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read = AAZObjectType() - private_link_service_connection_state_read = _schema_private_link_service_connection_state_read - private_link_service_connection_state_read.actions_required = AAZStrType( + common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read + common_private_link_service_connection_state_read.actions_required = AAZStrType( serialized_name="actionsRequired", ) - private_link_service_connection_state_read.description = AAZStrType() - private_link_service_connection_state_read.status = AAZStrType() + common_private_link_service_connection_state_read.description = AAZStrType() + common_private_link_service_connection_state_read.status = AAZStrType() - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status - _schema_private_link_service_connection_read = None + _schema_common_private_link_service_connection_read = None @classmethod - def _build_schema_private_link_service_connection_read(cls, _schema): - if cls._schema_private_link_service_connection_read is not None: - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + def _build_schema_common_private_link_service_connection_read(cls, _schema): + if cls._schema_common_private_link_service_connection_read is not None: + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type return - cls._schema_private_link_service_connection_read = _schema_private_link_service_connection_read = AAZObjectType() + cls._schema_common_private_link_service_connection_read = _schema_common_private_link_service_connection_read = AAZObjectType() - private_link_service_connection_read = _schema_private_link_service_connection_read - private_link_service_connection_read.etag = AAZStrType( + common_private_link_service_connection_read = _schema_common_private_link_service_connection_read + common_private_link_service_connection_read.etag = AAZStrType( flags={"read_only": True}, ) - private_link_service_connection_read.id = AAZStrType() - private_link_service_connection_read.name = AAZStrType() - private_link_service_connection_read.properties = AAZObjectType( + common_private_link_service_connection_read.id = AAZStrType() + common_private_link_service_connection_read.name = AAZStrType() + common_private_link_service_connection_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_link_service_connection_read.type = AAZStrType( + common_private_link_service_connection_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_link_service_connection_read.properties + properties = _schema_common_private_link_service_connection_read.properties properties.group_ids = AAZListType( serialized_name="groupIds", ) properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.private_link_service_id = AAZStrType( serialized_name="privateLinkServiceId", ) @@ -1504,58 +1511,58 @@ def _build_schema_private_link_service_connection_read(cls, _schema): serialized_name="requestMessage", ) - group_ids = _schema_private_link_service_connection_read.properties.group_ids + group_ids = _schema_common_private_link_service_connection_read.properties.group_ids group_ids.Element = AAZStrType() - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type - _schema_public_ip_address_read = None + _schema_common_public_ip_address_read = None @classmethod - def _build_schema_public_ip_address_read(cls, _schema): - if cls._schema_public_ip_address_read is not None: - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + def _build_schema_common_public_ip_address_read(cls, _schema): + if cls._schema_common_public_ip_address_read is not None: + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones return - cls._schema_public_ip_address_read = _schema_public_ip_address_read = AAZObjectType() + cls._schema_common_public_ip_address_read = _schema_common_public_ip_address_read = AAZObjectType() - public_ip_address_read = _schema_public_ip_address_read - public_ip_address_read.etag = AAZStrType( + common_public_ip_address_read = _schema_common_public_ip_address_read + common_public_ip_address_read.etag = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.extended_location = AAZObjectType( + common_public_ip_address_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(public_ip_address_read.extended_location) - public_ip_address_read.id = AAZStrType() - public_ip_address_read.location = AAZStrType() - public_ip_address_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_public_ip_address_read.extended_location) + common_public_ip_address_read.id = AAZStrType() + common_public_ip_address_read.location = AAZStrType() + common_public_ip_address_read.name = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.properties = AAZObjectType( + common_public_ip_address_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - public_ip_address_read.sku = AAZObjectType() - public_ip_address_read.tags = AAZDictType() - public_ip_address_read.type = AAZStrType( + common_public_ip_address_read.sku = AAZObjectType() + common_public_ip_address_read.tags = AAZDictType() + common_public_ip_address_read.type = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.zones = AAZListType() + common_public_ip_address_read.zones = AAZListType() - properties = _schema_public_ip_address_read.properties + properties = _schema_common_public_ip_address_read.properties properties.ddos_settings = AAZObjectType( serialized_name="ddosSettings", ) @@ -1575,14 +1582,14 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="ipConfiguration", flags={"read_only": True}, ) - cls._build_schema_ip_configuration_read(properties.ip_configuration) + cls._build_schema_common_ip_configuration_read(properties.ip_configuration) properties.ip_tags = AAZListType( serialized_name="ipTags", ) properties.linked_public_ip_address = AAZObjectType( serialized_name="linkedPublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.linked_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.linked_public_ip_address) properties.migration_phase = AAZStrType( serialized_name="migrationPhase", ) @@ -1602,7 +1609,7 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.resource_guid = AAZStrType( serialized_name="resourceGuid", flags={"read_only": True}, @@ -1610,18 +1617,22 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_public_ip_address = AAZObjectType( serialized_name="servicePublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.service_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.service_public_ip_address) - ddos_settings = _schema_public_ip_address_read.properties.ddos_settings + ddos_settings = _schema_common_public_ip_address_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) ddos_settings.ddos_protection_plan = AAZObjectType( serialized_name="ddosProtectionPlan", ) - cls._build_schema_sub_resource_read(ddos_settings.ddos_protection_plan) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_protection_plan) ddos_settings.protection_mode = AAZStrType( serialized_name="protectionMode", ) - dns_settings = _schema_public_ip_address_read.properties.dns_settings + dns_settings = _schema_common_public_ip_address_read.properties.dns_settings dns_settings.domain_name_label = AAZStrType( serialized_name="domainNameLabel", ) @@ -1633,16 +1644,16 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="reverseFqdn", ) - ip_tags = _schema_public_ip_address_read.properties.ip_tags + ip_tags = _schema_common_public_ip_address_read.properties.ip_tags ip_tags.Element = AAZObjectType() - _element = _schema_public_ip_address_read.properties.ip_tags.Element + _element = _schema_common_public_ip_address_read.properties.ip_tags.Element _element.ip_tag_type = AAZStrType( serialized_name="ipTagType", ) _element.tag = AAZStrType() - nat_gateway = _schema_public_ip_address_read.properties.nat_gateway + nat_gateway = _schema_common_public_ip_address_read.properties.nat_gateway nat_gateway.etag = AAZStrType( flags={"read_only": True}, ) @@ -1661,10 +1672,11 @@ def _build_schema_public_ip_address_read(cls, _schema): ) nat_gateway.zones = AAZListType() - properties = _schema_public_ip_address_read.properties.nat_gateway.properties + properties = _schema_common_public_ip_address_read.properties.nat_gateway.properties properties.idle_timeout_in_minutes = AAZIntType( serialized_name="idleTimeoutInMinutes", ) + properties.nat64 = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -1688,91 +1700,93 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.source_virtual_network = AAZObjectType( serialized_name="sourceVirtualNetwork", ) - cls._build_schema_sub_resource_read(properties.source_virtual_network) + cls._build_schema_common_sub_resource_read(properties.source_virtual_network) properties.subnets = AAZListType( flags={"read_only": True}, ) - public_ip_addresses = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses + public_ip_addresses = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses public_ip_addresses.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses.Element) - public_ip_addresses_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 + public_ip_addresses_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 public_ip_addresses_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses_v6.Element) - public_ip_prefixes = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes + public_ip_prefixes = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes public_ip_prefixes.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes.Element) - public_ip_prefixes_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 + public_ip_prefixes_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 public_ip_prefixes_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes_v6.Element) - subnets = _schema_public_ip_address_read.properties.nat_gateway.properties.subnets + subnets = _schema_common_public_ip_address_read.properties.nat_gateway.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_sub_resource_read(subnets.Element) + cls._build_schema_common_sub_resource_read(subnets.Element) - sku = _schema_public_ip_address_read.properties.nat_gateway.sku + sku = _schema_common_public_ip_address_read.properties.nat_gateway.sku sku.name = AAZStrType() - tags = _schema_public_ip_address_read.properties.nat_gateway.tags + tags = _schema_common_public_ip_address_read.properties.nat_gateway.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.properties.nat_gateway.zones + zones = _schema_common_public_ip_address_read.properties.nat_gateway.zones zones.Element = AAZStrType() - sku = _schema_public_ip_address_read.sku + sku = _schema_common_public_ip_address_read.sku sku.name = AAZStrType() sku.tier = AAZStrType() - tags = _schema_public_ip_address_read.tags + tags = _schema_common_public_ip_address_read.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.zones + zones = _schema_common_public_ip_address_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones - _schema_security_rule_read = None + _schema_common_security_rule_read = None @classmethod - def _build_schema_security_rule_read(cls, _schema): - if cls._schema_security_rule_read is not None: - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + def _build_schema_common_security_rule_read(cls, _schema): + if cls._schema_common_security_rule_read is not None: + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type return - cls._schema_security_rule_read = _schema_security_rule_read = AAZObjectType() + cls._schema_common_security_rule_read = _schema_common_security_rule_read = AAZObjectType() - security_rule_read = _schema_security_rule_read - security_rule_read.etag = AAZStrType( + common_security_rule_read = _schema_common_security_rule_read + common_security_rule_read.etag = AAZStrType( flags={"read_only": True}, ) - security_rule_read.id = AAZStrType() - security_rule_read.name = AAZStrType() - security_rule_read.properties = AAZObjectType( + common_security_rule_read.id = AAZStrType() + common_security_rule_read.name = AAZStrType() + common_security_rule_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - security_rule_read.type = AAZStrType() + common_security_rule_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_security_rule_read.properties + properties = _schema_common_security_rule_read.properties properties.access = AAZStrType( flags={"required": True}, ) @@ -1821,75 +1835,77 @@ def _build_schema_security_rule_read(cls, _schema): serialized_name="sourcePortRanges", ) - destination_address_prefixes = _schema_security_rule_read.properties.destination_address_prefixes + destination_address_prefixes = _schema_common_security_rule_read.properties.destination_address_prefixes destination_address_prefixes.Element = AAZStrType() - destination_application_security_groups = _schema_security_rule_read.properties.destination_application_security_groups + destination_application_security_groups = _schema_common_security_rule_read.properties.destination_application_security_groups destination_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(destination_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(destination_application_security_groups.Element) - destination_port_ranges = _schema_security_rule_read.properties.destination_port_ranges + destination_port_ranges = _schema_common_security_rule_read.properties.destination_port_ranges destination_port_ranges.Element = AAZStrType() - source_address_prefixes = _schema_security_rule_read.properties.source_address_prefixes + source_address_prefixes = _schema_common_security_rule_read.properties.source_address_prefixes source_address_prefixes.Element = AAZStrType() - source_application_security_groups = _schema_security_rule_read.properties.source_application_security_groups + source_application_security_groups = _schema_common_security_rule_read.properties.source_application_security_groups source_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(source_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(source_application_security_groups.Element) - source_port_ranges = _schema_security_rule_read.properties.source_port_ranges + source_port_ranges = _schema_common_security_rule_read.properties.source_port_ranges source_port_ranges.Element = AAZStrType() - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type - _schema_sub_resource_read = None + _schema_common_sub_resource_read = None @classmethod - def _build_schema_sub_resource_read(cls, _schema): - if cls._schema_sub_resource_read is not None: - _schema.id = cls._schema_sub_resource_read.id + def _build_schema_common_sub_resource_read(cls, _schema): + if cls._schema_common_sub_resource_read is not None: + _schema.id = cls._schema_common_sub_resource_read.id return - cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType( + cls._schema_common_sub_resource_read = _schema_common_sub_resource_read = AAZObjectType( flags={"read_only": True} ) - sub_resource_read = _schema_sub_resource_read - sub_resource_read.id = AAZStrType() + common_sub_resource_read = _schema_common_sub_resource_read + common_sub_resource_read.id = AAZStrType() - _schema.id = cls._schema_sub_resource_read.id + _schema.id = cls._schema_common_sub_resource_read.id - _schema_subnet_read = None + _schema_common_subnet_read = None @classmethod - def _build_schema_subnet_read(cls, _schema): - if cls._schema_subnet_read is not None: - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + def _build_schema_common_subnet_read(cls, _schema): + if cls._schema_common_subnet_read is not None: + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type return - cls._schema_subnet_read = _schema_subnet_read = AAZObjectType() + cls._schema_common_subnet_read = _schema_common_subnet_read = AAZObjectType() - subnet_read = _schema_subnet_read - subnet_read.etag = AAZStrType( + common_subnet_read = _schema_common_subnet_read + common_subnet_read.etag = AAZStrType( flags={"read_only": True}, ) - subnet_read.id = AAZStrType() - subnet_read.name = AAZStrType() - subnet_read.properties = AAZObjectType( + common_subnet_read.id = AAZStrType() + common_subnet_read.name = AAZStrType() + common_subnet_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - subnet_read.type = AAZStrType() + common_subnet_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties + properties = _schema_common_subnet_read.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -1920,11 +1936,11 @@ def _build_schema_subnet_read(cls, _schema): properties.nat_gateway = AAZObjectType( serialized_name="natGateway", ) - cls._build_schema_sub_resource_read(properties.nat_gateway) + cls._build_schema_common_sub_resource_read(properties.nat_gateway) properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.private_endpoint_network_policies = AAZStrType( serialized_name="privateEndpointNetworkPolicies", ) @@ -1962,18 +1978,18 @@ def _build_schema_subnet_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.sharing_scope = AAZStrType( serialized_name="sharingScope", ) - address_prefixes = _schema_subnet_read.properties.address_prefixes + address_prefixes = _schema_common_subnet_read.properties.address_prefixes address_prefixes.Element = AAZStrType() - application_gateway_ip_configurations = _schema_subnet_read.properties.application_gateway_ip_configurations + application_gateway_ip_configurations = _schema_common_subnet_read.properties.application_gateway_ip_configurations application_gateway_ip_configurations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.application_gateway_ip_configurations.Element + _element = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1986,18 +2002,18 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.application_gateway_ip_configurations.Element.properties + properties = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) - delegations = _schema_subnet_read.properties.delegations + delegations = _schema_common_subnet_read.properties.delegations delegations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.delegations.Element + _element = _schema_common_subnet_read.properties.delegations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2008,7 +2024,7 @@ def _build_schema_subnet_read(cls, _schema): ) _element.type = AAZStrType() - properties = _schema_subnet_read.properties.delegations.Element.properties + properties = _schema_common_subnet_read.properties.delegations.Element.properties properties.actions = AAZListType( flags={"read_only": True}, ) @@ -2020,17 +2036,17 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceName", ) - actions = _schema_subnet_read.properties.delegations.Element.properties.actions + actions = _schema_common_subnet_read.properties.delegations.Element.properties.actions actions.Element = AAZStrType() - ip_allocations = _schema_subnet_read.properties.ip_allocations + ip_allocations = _schema_common_subnet_read.properties.ip_allocations ip_allocations.Element = AAZObjectType() - cls._build_schema_sub_resource_read(ip_allocations.Element) + cls._build_schema_common_sub_resource_read(ip_allocations.Element) - ip_configuration_profiles = _schema_subnet_read.properties.ip_configuration_profiles + ip_configuration_profiles = _schema_common_subnet_read.properties.ip_configuration_profiles ip_configuration_profiles.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ip_configuration_profiles.Element + _element = _schema_common_subnet_read.properties.ip_configuration_profiles.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2043,22 +2059,22 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.ip_configuration_profiles.Element.properties + properties = _schema_common_subnet_read.properties.ip_configuration_profiles.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - ip_configurations = _schema_subnet_read.properties.ip_configurations + ip_configurations = _schema_common_subnet_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_ip_configuration_read(ip_configurations.Element) - ipam_pool_prefix_allocations = _schema_subnet_read.properties.ipam_pool_prefix_allocations + ipam_pool_prefix_allocations = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element + _element = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element _element.allocated_address_prefixes = AAZListType( serialized_name="allocatedAddressPrefixes", flags={"read_only": True}, @@ -2070,20 +2086,20 @@ def _build_schema_subnet_read(cls, _schema): flags={"client_flatten": True}, ) - allocated_address_prefixes = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes + allocated_address_prefixes = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes allocated_address_prefixes.Element = AAZStrType() - pool = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool + pool = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool pool.id = AAZStrType() - private_endpoints = _schema_subnet_read.properties.private_endpoints + private_endpoints = _schema_common_subnet_read.properties.private_endpoints private_endpoints.Element = AAZObjectType() - cls._build_schema_private_endpoint_read(private_endpoints.Element) + cls._build_schema_common_private_endpoint_read(private_endpoints.Element) - resource_navigation_links = _schema_subnet_read.properties.resource_navigation_links + resource_navigation_links = _schema_common_subnet_read.properties.resource_navigation_links resource_navigation_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.resource_navigation_links.Element + _element = _schema_common_subnet_read.properties.resource_navigation_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2098,7 +2114,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.resource_navigation_links.Element.properties + properties = _schema_common_subnet_read.properties.resource_navigation_links.Element.properties properties.link = AAZStrType() properties.linked_resource_type = AAZStrType( serialized_name="linkedResourceType", @@ -2108,7 +2124,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - route_table = _schema_subnet_read.properties.route_table + route_table = _schema_common_subnet_read.properties.route_table route_table.etag = AAZStrType( flags={"read_only": True}, ) @@ -2125,10 +2141,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.route_table.properties + properties = _schema_common_subnet_read.properties.route_table.properties properties.disable_bgp_route_propagation = AAZBoolType( serialized_name="disableBgpRoutePropagation", ) + properties.disable_peering_route = AAZStrType( + serialized_name="disablePeeringRoute", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -2142,10 +2161,10 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - routes = _schema_subnet_read.properties.route_table.properties.routes + routes = _schema_common_subnet_read.properties.route_table.properties.routes routes.Element = AAZObjectType() - _element = _schema_subnet_read.properties.route_table.properties.routes.Element + _element = _schema_common_subnet_read.properties.route_table.properties.routes.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2154,9 +2173,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.route_table.properties.routes.Element.properties + properties = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2164,6 +2185,9 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="hasBgpOverride", flags={"read_only": True}, ) + properties.next_hop = AAZObjectType( + serialized_name="nextHop", + ) properties.next_hop_ip_address = AAZStrType( serialized_name="nextHopIpAddress", ) @@ -2176,17 +2200,26 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - subnets = _schema_subnet_read.properties.route_table.properties.subnets + next_hop = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop + next_hop.next_hop_ip_addresses = AAZListType( + serialized_name="nextHopIpAddresses", + flags={"required": True}, + ) + + next_hop_ip_addresses = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop.next_hop_ip_addresses + next_hop_ip_addresses.Element = AAZStrType() + + subnets = _schema_common_subnet_read.properties.route_table.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.route_table.tags + tags = _schema_common_subnet_read.properties.route_table.tags tags.Element = AAZStrType() - service_association_links = _schema_subnet_read.properties.service_association_links + service_association_links = _schema_common_subnet_read.properties.service_association_links service_association_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_association_links.Element + _element = _schema_common_subnet_read.properties.service_association_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2199,7 +2232,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_association_links.Element.properties + properties = _schema_common_subnet_read.properties.service_association_links.Element.properties properties.allow_delete = AAZBoolType( serialized_name="allowDelete", ) @@ -2213,13 +2246,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - locations = _schema_subnet_read.properties.service_association_links.Element.properties.locations + locations = _schema_common_subnet_read.properties.service_association_links.Element.properties.locations locations.Element = AAZStrType() - service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies + service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies service_endpoint_policies.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2239,7 +2272,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties properties.contextual_service_endpoint_policies = AAZListType( serialized_name="contextualServiceEndpointPolicies", ) @@ -2261,13 +2294,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - contextual_service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies + contextual_service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies contextual_service_endpoint_policies.Element = AAZStrType() - service_endpoint_policy_definitions = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions + service_endpoint_policy_definitions = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions service_endpoint_policy_definitions.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2276,9 +2309,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties properties.description = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", @@ -2289,82 +2324,82 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceResources", ) - service_resources = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources + service_resources = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources service_resources.Element = AAZStrType() - subnets = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.subnets + subnets = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.service_endpoint_policies.Element.tags + tags = _schema_common_subnet_read.properties.service_endpoint_policies.Element.tags tags.Element = AAZStrType() - service_endpoints = _schema_subnet_read.properties.service_endpoints + service_endpoints = _schema_common_subnet_read.properties.service_endpoints service_endpoints.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoints.Element + _element = _schema_common_subnet_read.properties.service_endpoints.Element _element.locations = AAZListType() _element.network_identifier = AAZObjectType( serialized_name="networkIdentifier", ) - cls._build_schema_sub_resource_read(_element.network_identifier) + cls._build_schema_common_sub_resource_read(_element.network_identifier) _element.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) _element.service = AAZStrType() - locations = _schema_subnet_read.properties.service_endpoints.Element.locations + locations = _schema_common_subnet_read.properties.service_endpoints.Element.locations locations.Element = AAZStrType() - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type - _schema_virtual_network_tap_read = None + _schema_common_virtual_network_tap_read = None @classmethod - def _build_schema_virtual_network_tap_read(cls, _schema): - if cls._schema_virtual_network_tap_read is not None: - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + def _build_schema_common_virtual_network_tap_read(cls, _schema): + if cls._schema_common_virtual_network_tap_read is not None: + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type return - cls._schema_virtual_network_tap_read = _schema_virtual_network_tap_read = AAZObjectType() + cls._schema_common_virtual_network_tap_read = _schema_common_virtual_network_tap_read = AAZObjectType() - virtual_network_tap_read = _schema_virtual_network_tap_read - virtual_network_tap_read.etag = AAZStrType( + common_virtual_network_tap_read = _schema_common_virtual_network_tap_read + common_virtual_network_tap_read.etag = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.id = AAZStrType() - virtual_network_tap_read.location = AAZStrType() - virtual_network_tap_read.name = AAZStrType( + common_virtual_network_tap_read.id = AAZStrType() + common_virtual_network_tap_read.location = AAZStrType() + common_virtual_network_tap_read.name = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.properties = AAZObjectType( + common_virtual_network_tap_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - virtual_network_tap_read.tags = AAZDictType() - virtual_network_tap_read.type = AAZStrType( + common_virtual_network_tap_read.tags = AAZDictType() + common_virtual_network_tap_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_virtual_network_tap_read.properties + properties = _schema_common_virtual_network_tap_read.properties properties.destination_load_balancer_front_end_ip_configuration = AAZObjectType( serialized_name="destinationLoadBalancerFrontEndIPConfiguration", ) - cls._build_schema_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) + cls._build_schema_common_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) properties.destination_network_interface_ip_configuration = AAZObjectType( serialized_name="destinationNetworkInterfaceIPConfiguration", ) - cls._build_schema_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) properties.destination_port = AAZIntType( serialized_name="destinationPort", ) @@ -2381,20 +2416,20 @@ def _build_schema_virtual_network_tap_read(cls, _schema): flags={"read_only": True}, ) - network_interface_tap_configurations = _schema_virtual_network_tap_read.properties.network_interface_tap_configurations + network_interface_tap_configurations = _schema_common_virtual_network_tap_read.properties.network_interface_tap_configurations network_interface_tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) - tags = _schema_virtual_network_tap_read.tags + tags = _schema_common_virtual_network_tap_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type __all__ = ["Show"] diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_update.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_update.py index 5378f8967b2..3dd653bd43a 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_update.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_update.py @@ -25,9 +25,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2025-05-01", + "version": "2025-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privateendpoints/{}", "2025-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privateendpoints/{}", "2025-07-01"], ] } @@ -77,6 +77,13 @@ def _build_arguments_schema(cls, *args, **kwargs): # define Arg Group "Properties" _args_schema = cls._args_schema + _args_schema.billing_sku = AAZStrArg( + options=["--billing-sku"], + arg_group="Properties", + help="The billing sku of the private endpoint.", + nullable=True, + enum={"Fixed": "Fixed", "PayAsYouGo": "PayAsYouGo"}, + ) _args_schema.ip_version_type = AAZStrArg( options=["--ip-version-type"], arg_group="Properties", @@ -101,96 +108,105 @@ def _build_arguments_schema(cls, *args, **kwargs): manual_private_link_service_connections.Element = AAZObjectArg( nullable=True, ) - cls._build_args_private_link_service_connection_update(manual_private_link_service_connections.Element) + cls._build_args_common_private_link_service_connection_update(manual_private_link_service_connections.Element) private_link_service_connections = cls._args_schema.private_link_service_connections private_link_service_connections.Element = AAZObjectArg( nullable=True, ) - cls._build_args_private_link_service_connection_update(private_link_service_connections.Element) + cls._build_args_common_private_link_service_connection_update(private_link_service_connections.Element) # define Arg Group "Static IP Configuration" return cls._args_schema - _args_application_security_group_update = None + _args_common_application_security_group_update = None @classmethod - def _build_args_application_security_group_update(cls, _schema): - if cls._args_application_security_group_update is not None: - _schema.id = cls._args_application_security_group_update.id + def _build_args_common_application_security_group_update(cls, _schema): + if cls._args_common_application_security_group_update is not None: + _schema.location = cls._args_common_application_security_group_update.location + _schema.tags = cls._args_common_application_security_group_update.tags return - cls._args_application_security_group_update = AAZObjectArg( + cls._args_common_application_security_group_update = AAZObjectArg( nullable=True, ) - application_security_group_update = cls._args_application_security_group_update - application_security_group_update.id = AAZResourceIdArg( - options=["id"], - help="Resource ID.", + common_application_security_group_update = cls._args_common_application_security_group_update + common_application_security_group_update.location = AAZResourceLocationArg( + options=["l", "location"], + help="Resource location.", + nullable=True, + ) + common_application_security_group_update.tags = AAZDictArg( + options=["tags"], + help="Resource tags.", + nullable=True, + ) + + tags = cls._args_common_application_security_group_update.tags + tags.Element = AAZStrArg( nullable=True, - fmt=AAZResourceIdArgFormat( - template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/applicationSecurityGroups/{}", - ), ) - _schema.id = cls._args_application_security_group_update.id + _schema.location = cls._args_common_application_security_group_update.location + _schema.tags = cls._args_common_application_security_group_update.tags - _args_private_link_service_connection_update = None + _args_common_private_link_service_connection_update = None @classmethod - def _build_args_private_link_service_connection_update(cls, _schema): - if cls._args_private_link_service_connection_update is not None: - _schema.group_ids = cls._args_private_link_service_connection_update.group_ids - _schema.id = cls._args_private_link_service_connection_update.id - _schema.name = cls._args_private_link_service_connection_update.name - _schema.private_link_service_connection_state = cls._args_private_link_service_connection_update.private_link_service_connection_state - _schema.private_link_service_id = cls._args_private_link_service_connection_update.private_link_service_id - _schema.request_message = cls._args_private_link_service_connection_update.request_message + def _build_args_common_private_link_service_connection_update(cls, _schema): + if cls._args_common_private_link_service_connection_update is not None: + _schema.group_ids = cls._args_common_private_link_service_connection_update.group_ids + _schema.id = cls._args_common_private_link_service_connection_update.id + _schema.name = cls._args_common_private_link_service_connection_update.name + _schema.private_link_service_connection_state = cls._args_common_private_link_service_connection_update.private_link_service_connection_state + _schema.private_link_service_id = cls._args_common_private_link_service_connection_update.private_link_service_id + _schema.request_message = cls._args_common_private_link_service_connection_update.request_message return - cls._args_private_link_service_connection_update = AAZObjectArg( + cls._args_common_private_link_service_connection_update = AAZObjectArg( nullable=True, ) - private_link_service_connection_update = cls._args_private_link_service_connection_update - private_link_service_connection_update.id = AAZStrArg( + common_private_link_service_connection_update = cls._args_common_private_link_service_connection_update + common_private_link_service_connection_update.id = AAZStrArg( options=["id"], help="Resource ID.", nullable=True, ) - private_link_service_connection_update.name = AAZStrArg( + common_private_link_service_connection_update.name = AAZStrArg( options=["name"], help="The name of the resource that is unique within a resource group. This name can be used to access the resource.", nullable=True, ) - private_link_service_connection_update.group_ids = AAZListArg( + common_private_link_service_connection_update.group_ids = AAZListArg( options=["group-ids"], help="The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.", nullable=True, ) - private_link_service_connection_update.private_link_service_connection_state = AAZObjectArg( + common_private_link_service_connection_update.private_link_service_connection_state = AAZObjectArg( options=["private-link-service-connection-state"], help="A collection of read-only information about the state of the connection to the remote resource.", nullable=True, ) - private_link_service_connection_update.private_link_service_id = AAZStrArg( + common_private_link_service_connection_update.private_link_service_id = AAZStrArg( options=["private-link-service-id"], help="The resource id of private link service.", nullable=True, ) - private_link_service_connection_update.request_message = AAZStrArg( + common_private_link_service_connection_update.request_message = AAZStrArg( options=["request-message"], help="A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.", nullable=True, ) - group_ids = cls._args_private_link_service_connection_update.group_ids + group_ids = cls._args_common_private_link_service_connection_update.group_ids group_ids.Element = AAZStrArg( nullable=True, ) - private_link_service_connection_state = cls._args_private_link_service_connection_update.private_link_service_connection_state + private_link_service_connection_state = cls._args_common_private_link_service_connection_update.private_link_service_connection_state private_link_service_connection_state.actions_required = AAZStrArg( options=["actions-required"], help="A message indicating if changes on the service provider require any updates on the consumer.", @@ -207,33 +223,33 @@ def _build_args_private_link_service_connection_update(cls, _schema): nullable=True, ) - _schema.group_ids = cls._args_private_link_service_connection_update.group_ids - _schema.id = cls._args_private_link_service_connection_update.id - _schema.name = cls._args_private_link_service_connection_update.name - _schema.private_link_service_connection_state = cls._args_private_link_service_connection_update.private_link_service_connection_state - _schema.private_link_service_id = cls._args_private_link_service_connection_update.private_link_service_id - _schema.request_message = cls._args_private_link_service_connection_update.request_message + _schema.group_ids = cls._args_common_private_link_service_connection_update.group_ids + _schema.id = cls._args_common_private_link_service_connection_update.id + _schema.name = cls._args_common_private_link_service_connection_update.name + _schema.private_link_service_connection_state = cls._args_common_private_link_service_connection_update.private_link_service_connection_state + _schema.private_link_service_id = cls._args_common_private_link_service_connection_update.private_link_service_id + _schema.request_message = cls._args_common_private_link_service_connection_update.request_message - _args_sub_resource_update = None + _args_common_sub_resource_update = None @classmethod - def _build_args_sub_resource_update(cls, _schema): - if cls._args_sub_resource_update is not None: - _schema.id = cls._args_sub_resource_update.id + def _build_args_common_sub_resource_update(cls, _schema): + if cls._args_common_sub_resource_update is not None: + _schema.id = cls._args_common_sub_resource_update.id return - cls._args_sub_resource_update = AAZObjectArg( + cls._args_common_sub_resource_update = AAZObjectArg( nullable=True, ) - sub_resource_update = cls._args_sub_resource_update - sub_resource_update.id = AAZStrArg( + common_sub_resource_update = cls._args_common_sub_resource_update + common_sub_resource_update.id = AAZStrArg( options=["id"], help="Resource ID.", nullable=True, ) - _schema.id = cls._args_sub_resource_update.id + _schema.id = cls._args_common_sub_resource_update.id def _execute_operations(self): self.pre_operations() @@ -313,7 +329,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -344,7 +360,7 @@ def _build_schema_on_200(cls): return cls._schema_on_200 cls._schema_on_200 = AAZObjectType() - _UpdateHelper._build_schema_private_endpoint_read(cls._schema_on_200) + _UpdateHelper._build_schema_common_private_endpoint_read(cls._schema_on_200) return cls._schema_on_200 @@ -412,7 +428,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -455,7 +471,7 @@ def _build_schema_on_200_201(cls): return cls._schema_on_200_201 cls._schema_on_200_201 = AAZObjectType() - _UpdateHelper._build_schema_private_endpoint_read(cls._schema_on_200_201) + _UpdateHelper._build_schema_common_private_endpoint_read(cls._schema_on_200_201) return cls._schema_on_200_201 @@ -476,17 +492,18 @@ def _update_instance(self, instance): properties = _builder.get(".properties") if properties is not None: + properties.set_prop("billingSku", AAZStrType, ".billing_sku") properties.set_prop("ipVersionType", AAZStrType, ".ip_version_type") properties.set_prop("manualPrivateLinkServiceConnections", AAZListType, ".manual_private_link_service_connections") properties.set_prop("privateLinkServiceConnections", AAZListType, ".private_link_service_connections") manual_private_link_service_connections = _builder.get(".properties.manualPrivateLinkServiceConnections") if manual_private_link_service_connections is not None: - _UpdateHelper._build_schema_private_link_service_connection_update(manual_private_link_service_connections.set_elements(AAZObjectType, ".")) + _UpdateHelper._build_schema_common_private_link_service_connection_update(manual_private_link_service_connections.set_elements(AAZObjectType, ".")) private_link_service_connections = _builder.get(".properties.privateLinkServiceConnections") if private_link_service_connections is not None: - _UpdateHelper._build_schema_private_link_service_connection_update(private_link_service_connections.set_elements(AAZObjectType, ".")) + _UpdateHelper._build_schema_common_private_link_service_connection_update(private_link_service_connections.set_elements(AAZObjectType, ".")) tags = _builder.get(".tags") if tags is not None: @@ -507,13 +524,18 @@ class _UpdateHelper: """Helper class for Update""" @classmethod - def _build_schema_application_security_group_update(cls, _builder): + def _build_schema_common_application_security_group_update(cls, _builder): if _builder is None: return - _builder.set_prop("id", AAZStrType, ".id") + _builder.set_prop("location", AAZStrType, ".location") + _builder.set_prop("tags", AAZDictType, ".tags") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") @classmethod - def _build_schema_private_link_service_connection_update(cls, _builder): + def _build_schema_common_private_link_service_connection_update(cls, _builder): if _builder is None: return _builder.set_prop("id", AAZStrType, ".id") @@ -538,45 +560,45 @@ def _build_schema_private_link_service_connection_update(cls, _builder): private_link_service_connection_state.set_prop("status", AAZStrType, ".status") @classmethod - def _build_schema_sub_resource_update(cls, _builder): + def _build_schema_common_sub_resource_update(cls, _builder): if _builder is None: return _builder.set_prop("id", AAZStrType, ".id") - _schema_application_security_group_read = None + _schema_common_application_security_group_read = None @classmethod - def _build_schema_application_security_group_read(cls, _schema): - if cls._schema_application_security_group_read is not None: - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + def _build_schema_common_application_security_group_read(cls, _schema): + if cls._schema_common_application_security_group_read is not None: + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type return - cls._schema_application_security_group_read = _schema_application_security_group_read = AAZObjectType() + cls._schema_common_application_security_group_read = _schema_common_application_security_group_read = AAZObjectType() - application_security_group_read = _schema_application_security_group_read - application_security_group_read.etag = AAZStrType( + common_application_security_group_read = _schema_common_application_security_group_read + common_application_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.id = AAZStrType() - application_security_group_read.location = AAZStrType() - application_security_group_read.name = AAZStrType( + common_application_security_group_read.id = AAZStrType() + common_application_security_group_read.location = AAZStrType() + common_application_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.properties = AAZObjectType( + common_application_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - application_security_group_read.tags = AAZDictType() - application_security_group_read.type = AAZStrType( + common_application_security_group_read.tags = AAZDictType() + common_application_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_application_security_group_read.properties + properties = _schema_common_application_security_group_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -586,69 +608,72 @@ def _build_schema_application_security_group_read(cls, _schema): flags={"read_only": True}, ) - tags = _schema_application_security_group_read.tags + tags = _schema_common_application_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type - _schema_extended_location_read = None + _schema_common_extended_location_read = None @classmethod - def _build_schema_extended_location_read(cls, _schema): - if cls._schema_extended_location_read is not None: - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + def _build_schema_common_extended_location_read(cls, _schema): + if cls._schema_common_extended_location_read is not None: + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type return - cls._schema_extended_location_read = _schema_extended_location_read = AAZObjectType() + cls._schema_common_extended_location_read = _schema_common_extended_location_read = AAZObjectType() - extended_location_read = _schema_extended_location_read - extended_location_read.name = AAZStrType() - extended_location_read.type = AAZStrType() + common_extended_location_read = _schema_common_extended_location_read + common_extended_location_read.name = AAZStrType() + common_extended_location_read.type = AAZStrType() - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type - _schema_frontend_ip_configuration_read = None + _schema_common_frontend_ip_configuration_read = None @classmethod - def _build_schema_frontend_ip_configuration_read(cls, _schema): - if cls._schema_frontend_ip_configuration_read is not None: - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + def _build_schema_common_frontend_ip_configuration_read(cls, _schema): + if cls._schema_common_frontend_ip_configuration_read is not None: + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones return - cls._schema_frontend_ip_configuration_read = _schema_frontend_ip_configuration_read = AAZObjectType() + cls._schema_common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read = AAZObjectType() - frontend_ip_configuration_read = _schema_frontend_ip_configuration_read - frontend_ip_configuration_read.etag = AAZStrType( + common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read + common_frontend_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.id = AAZStrType() - frontend_ip_configuration_read.name = AAZStrType() - frontend_ip_configuration_read.properties = AAZObjectType( + common_frontend_ip_configuration_read.id = AAZStrType() + common_frontend_ip_configuration_read.name = AAZStrType() + common_frontend_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - frontend_ip_configuration_read.type = AAZStrType( + common_frontend_ip_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.zones = AAZListType() + common_frontend_ip_configuration_read.zones = AAZListType() - properties = _schema_frontend_ip_configuration_read.properties + properties = _schema_common_frontend_ip_configuration_read.properties + properties.ddos_settings = AAZObjectType( + serialized_name="ddosSettings", + ) properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.inbound_nat_pools = AAZListType( serialized_name="inboundNatPools", flags={"read_only": True}, @@ -681,66 +706,72 @@ def _build_schema_frontend_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) + + ddos_settings = _schema_common_frontend_ip_configuration_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) - inbound_nat_pools = _schema_frontend_ip_configuration_read.properties.inbound_nat_pools + inbound_nat_pools = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_pools inbound_nat_pools.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_pools.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_pools.Element) - inbound_nat_rules = _schema_frontend_ip_configuration_read.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancing_rules = _schema_frontend_ip_configuration_read.properties.load_balancing_rules + load_balancing_rules = _schema_common_frontend_ip_configuration_read.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_frontend_ip_configuration_read.properties.outbound_rules + outbound_rules = _schema_common_frontend_ip_configuration_read.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - zones = _schema_frontend_ip_configuration_read.zones + zones = _schema_common_frontend_ip_configuration_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones - _schema_ip_configuration_read = None + _schema_common_ip_configuration_read = None @classmethod - def _build_schema_ip_configuration_read(cls, _schema): - if cls._schema_ip_configuration_read is not None: - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + def _build_schema_common_ip_configuration_read(cls, _schema): + if cls._schema_common_ip_configuration_read is not None: + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties return - cls._schema_ip_configuration_read = _schema_ip_configuration_read = AAZObjectType( + cls._schema_common_ip_configuration_read = _schema_common_ip_configuration_read = AAZObjectType( flags={"read_only": True} ) - ip_configuration_read = _schema_ip_configuration_read - ip_configuration_read.etag = AAZStrType( + common_ip_configuration_read = _schema_common_ip_configuration_read + common_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - ip_configuration_read.id = AAZStrType() - ip_configuration_read.name = AAZStrType() - ip_configuration_read.properties = AAZObjectType( + common_ip_configuration_read.id = AAZStrType() + common_ip_configuration_read.name = AAZStrType() + common_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_ip_configuration_read.properties + properties = _schema_common_ip_configuration_read.properties properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", ) @@ -754,41 +785,43 @@ def _build_schema_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties - _schema_network_interface_ip_configuration_read = None + _schema_common_network_interface_ip_configuration_read = None @classmethod - def _build_schema_network_interface_ip_configuration_read(cls, _schema): - if cls._schema_network_interface_ip_configuration_read is not None: - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + def _build_schema_common_network_interface_ip_configuration_read(cls, _schema): + if cls._schema_common_network_interface_ip_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type return - cls._schema_network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read = AAZObjectType() + cls._schema_common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read = AAZObjectType() - network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read - network_interface_ip_configuration_read.etag = AAZStrType( + common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read + common_network_interface_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_ip_configuration_read.id = AAZStrType() - network_interface_ip_configuration_read.name = AAZStrType() - network_interface_ip_configuration_read.properties = AAZObjectType( + common_network_interface_ip_configuration_read.id = AAZStrType() + common_network_interface_ip_configuration_read.name = AAZStrType() + common_network_interface_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_ip_configuration_read.type = AAZStrType() + common_network_interface_ip_configuration_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_network_interface_ip_configuration_read.properties + properties = _schema_common_network_interface_ip_configuration_read.properties properties.application_gateway_backend_address_pools = AAZListType( serialized_name="applicationGatewayBackendAddressPools", ) @@ -798,7 +831,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.load_balancer_backend_address_pools = AAZListType( serialized_name="loadBalancerBackendAddressPools", ) @@ -830,17 +863,17 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) properties.virtual_network_taps = AAZListType( serialized_name="virtualNetworkTaps", ) - application_gateway_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools + application_gateway_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools application_gateway_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -853,7 +886,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties properties.backend_addresses = AAZListType( serialized_name="backendAddresses", ) @@ -866,27 +899,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - backend_addresses = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses + backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element _element.fqdn = AAZStrType() _element.ip_address = AAZStrType( serialized_name="ipAddress", ) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - application_security_groups = _schema_network_interface_ip_configuration_read.properties.application_security_groups + application_security_groups = _schema_common_network_interface_ip_configuration_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - load_balancer_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools + load_balancer_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools load_balancer_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -899,7 +932,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties properties.backend_ip_configurations = AAZListType( serialized_name="backendIPConfigurations", flags={"read_only": True}, @@ -923,7 +956,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="outboundRule", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.outbound_rule) + cls._build_schema_common_sub_resource_read(properties.outbound_rule) properties.outbound_rules = AAZListType( serialized_name="outboundRules", flags={"read_only": True}, @@ -941,26 +974,26 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancer_backend_addresses = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses + load_balancer_backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses load_balancer_backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element _element.name = AAZStrType() _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties properties.admin_state = AAZStrType( serialized_name="adminState", ) @@ -974,23 +1007,23 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.load_balancer_frontend_ip_configuration = AAZObjectType( serialized_name="loadBalancerFrontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.load_balancer_frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.load_balancer_frontend_ip_configuration) properties.network_interface_ip_configuration = AAZObjectType( serialized_name="networkInterfaceIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.network_interface_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.network_interface_ip_configuration) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - inbound_nat_rules_port_mapping = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping + inbound_nat_rules_port_mapping = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping inbound_nat_rules_port_mapping.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element _element.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -1001,27 +1034,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="inboundNatRuleName", ) - load_balancing_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules + load_balancing_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules + outbound_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - tunnel_interfaces = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces + tunnel_interfaces = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces tunnel_interfaces.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element _element.identifier = AAZIntType() _element.port = AAZIntType() _element.protocol = AAZStrType() _element.type = AAZStrType() - load_balancer_inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules + load_balancer_inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules load_balancer_inbound_nat_rules.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1034,16 +1067,16 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties properties.backend_address_pool = AAZObjectType( serialized_name="backendAddressPool", ) - cls._build_schema_sub_resource_read(properties.backend_address_pool) + cls._build_schema_common_sub_resource_read(properties.backend_address_pool) properties.backend_ip_configuration = AAZObjectType( serialized_name="backendIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_network_interface_ip_configuration_read(properties.backend_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.backend_ip_configuration) properties.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -1056,7 +1089,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.frontend_ip_configuration = AAZObjectType( serialized_name="frontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.frontend_ip_configuration) properties.frontend_port = AAZIntType( serialized_name="frontendPort", ) @@ -1075,7 +1108,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - private_link_connection_properties = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties + private_link_connection_properties = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties private_link_connection_properties.fqdns = AAZListType( flags={"read_only": True}, ) @@ -1088,47 +1121,47 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - fqdns = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns + fqdns = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns fqdns.Element = AAZStrType() - virtual_network_taps = _schema_network_interface_ip_configuration_read.properties.virtual_network_taps + virtual_network_taps = _schema_common_network_interface_ip_configuration_read.properties.virtual_network_taps virtual_network_taps.Element = AAZObjectType() - cls._build_schema_virtual_network_tap_read(virtual_network_taps.Element) + cls._build_schema_common_virtual_network_tap_read(virtual_network_taps.Element) - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type - _schema_network_interface_tap_configuration_read = None + _schema_common_network_interface_tap_configuration_read = None @classmethod - def _build_schema_network_interface_tap_configuration_read(cls, _schema): - if cls._schema_network_interface_tap_configuration_read is not None: - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + def _build_schema_common_network_interface_tap_configuration_read(cls, _schema): + if cls._schema_common_network_interface_tap_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type return - cls._schema_network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read = AAZObjectType() + cls._schema_common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read = AAZObjectType() - network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read - network_interface_tap_configuration_read.etag = AAZStrType( + common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read + common_network_interface_tap_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_tap_configuration_read.id = AAZStrType() - network_interface_tap_configuration_read.name = AAZStrType() - network_interface_tap_configuration_read.properties = AAZObjectType( + common_network_interface_tap_configuration_read.id = AAZStrType() + common_network_interface_tap_configuration_read.name = AAZStrType() + common_network_interface_tap_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_tap_configuration_read.type = AAZStrType( + common_network_interface_tap_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_tap_configuration_read.properties + properties = _schema_common_network_interface_tap_configuration_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -1136,53 +1169,53 @@ def _build_schema_network_interface_tap_configuration_read(cls, _schema): properties.virtual_network_tap = AAZObjectType( serialized_name="virtualNetworkTap", ) - cls._build_schema_virtual_network_tap_read(properties.virtual_network_tap) + cls._build_schema_common_virtual_network_tap_read(properties.virtual_network_tap) - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type - _schema_network_interface_read = None + _schema_common_network_interface_read = None @classmethod - def _build_schema_network_interface_read(cls, _schema): - if cls._schema_network_interface_read is not None: - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + def _build_schema_common_network_interface_read(cls, _schema): + if cls._schema_common_network_interface_read is not None: + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type return - cls._schema_network_interface_read = _schema_network_interface_read = AAZObjectType() + cls._schema_common_network_interface_read = _schema_common_network_interface_read = AAZObjectType() - network_interface_read = _schema_network_interface_read - network_interface_read.etag = AAZStrType( + common_network_interface_read = _schema_common_network_interface_read + common_network_interface_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_read.extended_location = AAZObjectType( + common_network_interface_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(network_interface_read.extended_location) - network_interface_read.id = AAZStrType() - network_interface_read.location = AAZStrType() - network_interface_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_network_interface_read.extended_location) + common_network_interface_read.id = AAZStrType() + common_network_interface_read.location = AAZStrType() + common_network_interface_read.name = AAZStrType( flags={"read_only": True}, ) - network_interface_read.properties = AAZObjectType( + common_network_interface_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_read.tags = AAZDictType() - network_interface_read.type = AAZStrType( + common_network_interface_read.tags = AAZDictType() + common_network_interface_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties + properties = _schema_common_network_interface_read.properties properties.auxiliary_mode = AAZStrType( serialized_name="auxiliaryMode", ) @@ -1203,7 +1236,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="dscpConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.dscp_configuration) + cls._build_schema_common_sub_resource_read(properties.dscp_configuration) properties.enable_accelerated_networking = AAZBoolType( serialized_name="enableAcceleratedNetworking", ) @@ -1227,7 +1260,7 @@ def _build_schema_network_interface_read(cls, _schema): properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.nic_type = AAZStrType( serialized_name="nicType", ) @@ -1238,7 +1271,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_link_service = AAZObjectType( serialized_name="privateLinkService", ) @@ -1258,7 +1291,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="virtualMachine", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.virtual_machine) + cls._build_schema_common_sub_resource_read(properties.virtual_machine) properties.vnet_encryption_supported = AAZBoolType( serialized_name="vnetEncryptionSupported", flags={"read_only": True}, @@ -1267,7 +1300,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="workloadType", ) - dns_settings = _schema_network_interface_read.properties.dns_settings + dns_settings = _schema_common_network_interface_read.properties.dns_settings dns_settings.applied_dns_servers = AAZListType( serialized_name="appliedDnsServers", flags={"read_only": True}, @@ -1287,27 +1320,27 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - applied_dns_servers = _schema_network_interface_read.properties.dns_settings.applied_dns_servers + applied_dns_servers = _schema_common_network_interface_read.properties.dns_settings.applied_dns_servers applied_dns_servers.Element = AAZStrType() - dns_servers = _schema_network_interface_read.properties.dns_settings.dns_servers + dns_servers = _schema_common_network_interface_read.properties.dns_settings.dns_servers dns_servers.Element = AAZStrType() - hosted_workloads = _schema_network_interface_read.properties.hosted_workloads + hosted_workloads = _schema_common_network_interface_read.properties.hosted_workloads hosted_workloads.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(ip_configurations.Element) - private_link_service = _schema_network_interface_read.properties.private_link_service + private_link_service = _schema_common_network_interface_read.properties.private_link_service private_link_service.etag = AAZStrType( flags={"read_only": True}, ) private_link_service.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_link_service.extended_location) + cls._build_schema_common_extended_location_read(private_link_service.extended_location) private_link_service.id = AAZStrType() private_link_service.location = AAZStrType() private_link_service.name = AAZStrType( @@ -1321,7 +1354,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties properties.access_mode = AAZStrType( serialized_name="accessMode", ) @@ -1358,19 +1391,19 @@ def _build_schema_network_interface_read(cls, _schema): ) properties.visibility = AAZObjectType() - auto_approval = _schema_network_interface_read.properties.private_link_service.properties.auto_approval + auto_approval = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval auto_approval.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions subscriptions.Element = AAZStrType() - fqdns = _schema_network_interface_read.properties.private_link_service.properties.fqdns + fqdns = _schema_common_network_interface_read.properties.private_link_service.properties.fqdns fqdns.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1383,7 +1416,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties properties.primary = AAZBoolType() properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", @@ -1399,20 +1432,20 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - load_balancer_frontend_ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations + load_balancer_frontend_ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations load_balancer_frontend_ip_configurations.Element = AAZObjectType() - cls._build_schema_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) + cls._build_schema_common_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) - network_interfaces = _schema_network_interface_read.properties.private_link_service.properties.network_interfaces + network_interfaces = _schema_common_network_interface_read.properties.private_link_service.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_endpoint_connections = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections + private_endpoint_connections = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1425,7 +1458,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties properties.link_identifier = AAZStrType( serialized_name="linkIdentifier", flags={"read_only": True}, @@ -1434,7 +1467,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_endpoint_location = AAZStrType( serialized_name="privateEndpointLocation", flags={"read_only": True}, @@ -1442,71 +1475,71 @@ def _build_schema_network_interface_read(cls, _schema): properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) - visibility = _schema_network_interface_read.properties.private_link_service.properties.visibility + visibility = _schema_common_network_interface_read.properties.private_link_service.properties.visibility visibility.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.visibility.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.visibility.subscriptions subscriptions.Element = AAZStrType() - tags = _schema_network_interface_read.properties.private_link_service.tags + tags = _schema_common_network_interface_read.properties.private_link_service.tags tags.Element = AAZStrType() - tap_configurations = _schema_network_interface_read.properties.tap_configurations + tap_configurations = _schema_common_network_interface_read.properties.tap_configurations tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(tap_configurations.Element) - tags = _schema_network_interface_read.tags + tags = _schema_common_network_interface_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type - _schema_network_security_group_read = None + _schema_common_network_security_group_read = None @classmethod - def _build_schema_network_security_group_read(cls, _schema): - if cls._schema_network_security_group_read is not None: - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + def _build_schema_common_network_security_group_read(cls, _schema): + if cls._schema_common_network_security_group_read is not None: + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type return - cls._schema_network_security_group_read = _schema_network_security_group_read = AAZObjectType() + cls._schema_common_network_security_group_read = _schema_common_network_security_group_read = AAZObjectType() - network_security_group_read = _schema_network_security_group_read - network_security_group_read.etag = AAZStrType( + common_network_security_group_read = _schema_common_network_security_group_read + common_network_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.id = AAZStrType() - network_security_group_read.location = AAZStrType() - network_security_group_read.name = AAZStrType( + common_network_security_group_read.id = AAZStrType() + common_network_security_group_read.location = AAZStrType() + common_network_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.properties = AAZObjectType( + common_network_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_security_group_read.tags = AAZDictType() - network_security_group_read.type = AAZStrType( + common_network_security_group_read.tags = AAZDictType() + common_network_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties + properties = _schema_common_network_security_group_read.properties properties.default_security_rules = AAZListType( serialized_name="defaultSecurityRules", flags={"read_only": True}, @@ -1537,14 +1570,14 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - default_security_rules = _schema_network_security_group_read.properties.default_security_rules + default_security_rules = _schema_common_network_security_group_read.properties.default_security_rules default_security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(default_security_rules.Element) + cls._build_schema_common_security_rule_read(default_security_rules.Element) - flow_logs = _schema_network_security_group_read.properties.flow_logs + flow_logs = _schema_common_network_security_group_read.properties.flow_logs flow_logs.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1562,7 +1595,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - identity = _schema_network_security_group_read.properties.flow_logs.Element.identity + identity = _schema_common_network_security_group_read.properties.flow_logs.Element.identity identity.principal_id = AAZStrType( serialized_name="principalId", flags={"read_only": True}, @@ -1576,10 +1609,10 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="userAssignedIdentities", ) - user_assigned_identities = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities + user_assigned_identities = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities user_assigned_identities.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element _element.client_id = AAZStrType( serialized_name="clientId", flags={"read_only": True}, @@ -1589,7 +1622,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties.flow_logs.Element.properties + properties = _schema_common_network_security_group_read.properties.flow_logs.Element.properties properties.enabled = AAZBoolType() properties.enabled_filtering_criteria = AAZStrType( serialized_name="enabledFilteringCriteria", @@ -1621,12 +1654,12 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"required": True}, ) - flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration + flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration flow_analytics_configuration.network_watcher_flow_analytics_configuration = AAZObjectType( serialized_name="networkWatcherFlowAnalyticsConfiguration", ) - network_watcher_flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration + network_watcher_flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration network_watcher_flow_analytics_configuration.enabled = AAZBoolType() network_watcher_flow_analytics_configuration.traffic_analytics_interval = AAZIntType( serialized_name="trafficAnalyticsInterval", @@ -1641,82 +1674,85 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="workspaceResourceId", ) - format = _schema_network_security_group_read.properties.flow_logs.Element.properties.format + format = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.format format.type = AAZStrType() format.version = AAZIntType() - retention_policy = _schema_network_security_group_read.properties.flow_logs.Element.properties.retention_policy + retention_policy = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.retention_policy retention_policy.days = AAZIntType() retention_policy.enabled = AAZBoolType() - tags = _schema_network_security_group_read.properties.flow_logs.Element.tags + tags = _schema_common_network_security_group_read.properties.flow_logs.Element.tags tags.Element = AAZStrType() - network_interfaces = _schema_network_security_group_read.properties.network_interfaces + network_interfaces = _schema_common_network_security_group_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - security_rules = _schema_network_security_group_read.properties.security_rules + security_rules = _schema_common_network_security_group_read.properties.security_rules security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(security_rules.Element) + cls._build_schema_common_security_rule_read(security_rules.Element) - subnets = _schema_network_security_group_read.properties.subnets + subnets = _schema_common_network_security_group_read.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_network_security_group_read.tags + tags = _schema_common_network_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type - _schema_private_endpoint_read = None + _schema_common_private_endpoint_read = None @classmethod - def _build_schema_private_endpoint_read(cls, _schema): - if cls._schema_private_endpoint_read is not None: - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + def _build_schema_common_private_endpoint_read(cls, _schema): + if cls._schema_common_private_endpoint_read is not None: + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type return - cls._schema_private_endpoint_read = _schema_private_endpoint_read = AAZObjectType() + cls._schema_common_private_endpoint_read = _schema_common_private_endpoint_read = AAZObjectType() - private_endpoint_read = _schema_private_endpoint_read - private_endpoint_read.etag = AAZStrType( + common_private_endpoint_read = _schema_common_private_endpoint_read + common_private_endpoint_read.etag = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.extended_location = AAZObjectType( + common_private_endpoint_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_endpoint_read.extended_location) - private_endpoint_read.id = AAZStrType() - private_endpoint_read.location = AAZStrType() - private_endpoint_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_private_endpoint_read.extended_location) + common_private_endpoint_read.id = AAZStrType() + common_private_endpoint_read.location = AAZStrType() + common_private_endpoint_read.name = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.properties = AAZObjectType( + common_private_endpoint_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_endpoint_read.tags = AAZDictType() - private_endpoint_read.type = AAZStrType( + common_private_endpoint_read.tags = AAZDictType() + common_private_endpoint_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties + properties = _schema_common_private_endpoint_read.properties properties.application_security_groups = AAZListType( serialized_name="applicationSecurityGroups", ) + properties.billing_sku = AAZStrType( + serialized_name="billingSku", + ) properties.custom_dns_configs = AAZListType( serialized_name="customDnsConfigs", ) @@ -1744,28 +1780,28 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - application_security_groups = _schema_private_endpoint_read.properties.application_security_groups + application_security_groups = _schema_common_private_endpoint_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - custom_dns_configs = _schema_private_endpoint_read.properties.custom_dns_configs + custom_dns_configs = _schema_common_private_endpoint_read.properties.custom_dns_configs custom_dns_configs.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.custom_dns_configs.Element + _element = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element _element.fqdn = AAZStrType() _element.ip_addresses = AAZListType( serialized_name="ipAddresses", ) - ip_addresses = _schema_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses + ip_addresses = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses ip_addresses.Element = AAZStrType() - ip_configurations = _schema_private_endpoint_read.properties.ip_configurations + ip_configurations = _schema_common_private_endpoint_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.ip_configurations.Element + _element = _schema_common_private_endpoint_read.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1777,7 +1813,7 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties.ip_configurations.Element.properties + properties = _schema_common_private_endpoint_read.properties.ip_configurations.Element.properties properties.group_id = AAZStrType( serialized_name="groupId", ) @@ -1788,88 +1824,88 @@ def _build_schema_private_endpoint_read(cls, _schema): serialized_name="privateIPAddress", ) - manual_private_link_service_connections = _schema_private_endpoint_read.properties.manual_private_link_service_connections + manual_private_link_service_connections = _schema_common_private_endpoint_read.properties.manual_private_link_service_connections manual_private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(manual_private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(manual_private_link_service_connections.Element) - network_interfaces = _schema_private_endpoint_read.properties.network_interfaces + network_interfaces = _schema_common_private_endpoint_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_link_service_connections = _schema_private_endpoint_read.properties.private_link_service_connections + private_link_service_connections = _schema_common_private_endpoint_read.properties.private_link_service_connections private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(private_link_service_connections.Element) - tags = _schema_private_endpoint_read.tags + tags = _schema_common_private_endpoint_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type - _schema_private_link_service_connection_state_read = None + _schema_common_private_link_service_connection_state_read = None @classmethod - def _build_schema_private_link_service_connection_state_read(cls, _schema): - if cls._schema_private_link_service_connection_state_read is not None: - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + def _build_schema_common_private_link_service_connection_state_read(cls, _schema): + if cls._schema_common_private_link_service_connection_state_read is not None: + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status return - cls._schema_private_link_service_connection_state_read = _schema_private_link_service_connection_state_read = AAZObjectType() + cls._schema_common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read = AAZObjectType() - private_link_service_connection_state_read = _schema_private_link_service_connection_state_read - private_link_service_connection_state_read.actions_required = AAZStrType( + common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read + common_private_link_service_connection_state_read.actions_required = AAZStrType( serialized_name="actionsRequired", ) - private_link_service_connection_state_read.description = AAZStrType() - private_link_service_connection_state_read.status = AAZStrType() + common_private_link_service_connection_state_read.description = AAZStrType() + common_private_link_service_connection_state_read.status = AAZStrType() - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status - _schema_private_link_service_connection_read = None + _schema_common_private_link_service_connection_read = None @classmethod - def _build_schema_private_link_service_connection_read(cls, _schema): - if cls._schema_private_link_service_connection_read is not None: - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + def _build_schema_common_private_link_service_connection_read(cls, _schema): + if cls._schema_common_private_link_service_connection_read is not None: + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type return - cls._schema_private_link_service_connection_read = _schema_private_link_service_connection_read = AAZObjectType() + cls._schema_common_private_link_service_connection_read = _schema_common_private_link_service_connection_read = AAZObjectType() - private_link_service_connection_read = _schema_private_link_service_connection_read - private_link_service_connection_read.etag = AAZStrType( + common_private_link_service_connection_read = _schema_common_private_link_service_connection_read + common_private_link_service_connection_read.etag = AAZStrType( flags={"read_only": True}, ) - private_link_service_connection_read.id = AAZStrType() - private_link_service_connection_read.name = AAZStrType() - private_link_service_connection_read.properties = AAZObjectType( + common_private_link_service_connection_read.id = AAZStrType() + common_private_link_service_connection_read.name = AAZStrType() + common_private_link_service_connection_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_link_service_connection_read.type = AAZStrType( + common_private_link_service_connection_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_link_service_connection_read.properties + properties = _schema_common_private_link_service_connection_read.properties properties.group_ids = AAZListType( serialized_name="groupIds", ) properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.private_link_service_id = AAZStrType( serialized_name="privateLinkServiceId", ) @@ -1881,58 +1917,58 @@ def _build_schema_private_link_service_connection_read(cls, _schema): serialized_name="requestMessage", ) - group_ids = _schema_private_link_service_connection_read.properties.group_ids + group_ids = _schema_common_private_link_service_connection_read.properties.group_ids group_ids.Element = AAZStrType() - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type - _schema_public_ip_address_read = None + _schema_common_public_ip_address_read = None @classmethod - def _build_schema_public_ip_address_read(cls, _schema): - if cls._schema_public_ip_address_read is not None: - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + def _build_schema_common_public_ip_address_read(cls, _schema): + if cls._schema_common_public_ip_address_read is not None: + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones return - cls._schema_public_ip_address_read = _schema_public_ip_address_read = AAZObjectType() + cls._schema_common_public_ip_address_read = _schema_common_public_ip_address_read = AAZObjectType() - public_ip_address_read = _schema_public_ip_address_read - public_ip_address_read.etag = AAZStrType( + common_public_ip_address_read = _schema_common_public_ip_address_read + common_public_ip_address_read.etag = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.extended_location = AAZObjectType( + common_public_ip_address_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(public_ip_address_read.extended_location) - public_ip_address_read.id = AAZStrType() - public_ip_address_read.location = AAZStrType() - public_ip_address_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_public_ip_address_read.extended_location) + common_public_ip_address_read.id = AAZStrType() + common_public_ip_address_read.location = AAZStrType() + common_public_ip_address_read.name = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.properties = AAZObjectType( + common_public_ip_address_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - public_ip_address_read.sku = AAZObjectType() - public_ip_address_read.tags = AAZDictType() - public_ip_address_read.type = AAZStrType( + common_public_ip_address_read.sku = AAZObjectType() + common_public_ip_address_read.tags = AAZDictType() + common_public_ip_address_read.type = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.zones = AAZListType() + common_public_ip_address_read.zones = AAZListType() - properties = _schema_public_ip_address_read.properties + properties = _schema_common_public_ip_address_read.properties properties.ddos_settings = AAZObjectType( serialized_name="ddosSettings", ) @@ -1952,14 +1988,14 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="ipConfiguration", flags={"read_only": True}, ) - cls._build_schema_ip_configuration_read(properties.ip_configuration) + cls._build_schema_common_ip_configuration_read(properties.ip_configuration) properties.ip_tags = AAZListType( serialized_name="ipTags", ) properties.linked_public_ip_address = AAZObjectType( serialized_name="linkedPublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.linked_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.linked_public_ip_address) properties.migration_phase = AAZStrType( serialized_name="migrationPhase", ) @@ -1979,7 +2015,7 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.resource_guid = AAZStrType( serialized_name="resourceGuid", flags={"read_only": True}, @@ -1987,18 +2023,22 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_public_ip_address = AAZObjectType( serialized_name="servicePublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.service_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.service_public_ip_address) - ddos_settings = _schema_public_ip_address_read.properties.ddos_settings + ddos_settings = _schema_common_public_ip_address_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) ddos_settings.ddos_protection_plan = AAZObjectType( serialized_name="ddosProtectionPlan", ) - cls._build_schema_sub_resource_read(ddos_settings.ddos_protection_plan) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_protection_plan) ddos_settings.protection_mode = AAZStrType( serialized_name="protectionMode", ) - dns_settings = _schema_public_ip_address_read.properties.dns_settings + dns_settings = _schema_common_public_ip_address_read.properties.dns_settings dns_settings.domain_name_label = AAZStrType( serialized_name="domainNameLabel", ) @@ -2010,16 +2050,16 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="reverseFqdn", ) - ip_tags = _schema_public_ip_address_read.properties.ip_tags + ip_tags = _schema_common_public_ip_address_read.properties.ip_tags ip_tags.Element = AAZObjectType() - _element = _schema_public_ip_address_read.properties.ip_tags.Element + _element = _schema_common_public_ip_address_read.properties.ip_tags.Element _element.ip_tag_type = AAZStrType( serialized_name="ipTagType", ) _element.tag = AAZStrType() - nat_gateway = _schema_public_ip_address_read.properties.nat_gateway + nat_gateway = _schema_common_public_ip_address_read.properties.nat_gateway nat_gateway.etag = AAZStrType( flags={"read_only": True}, ) @@ -2038,10 +2078,11 @@ def _build_schema_public_ip_address_read(cls, _schema): ) nat_gateway.zones = AAZListType() - properties = _schema_public_ip_address_read.properties.nat_gateway.properties + properties = _schema_common_public_ip_address_read.properties.nat_gateway.properties properties.idle_timeout_in_minutes = AAZIntType( serialized_name="idleTimeoutInMinutes", ) + properties.nat64 = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -2065,91 +2106,93 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.source_virtual_network = AAZObjectType( serialized_name="sourceVirtualNetwork", ) - cls._build_schema_sub_resource_read(properties.source_virtual_network) + cls._build_schema_common_sub_resource_read(properties.source_virtual_network) properties.subnets = AAZListType( flags={"read_only": True}, ) - public_ip_addresses = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses + public_ip_addresses = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses public_ip_addresses.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses.Element) - public_ip_addresses_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 + public_ip_addresses_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 public_ip_addresses_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses_v6.Element) - public_ip_prefixes = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes + public_ip_prefixes = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes public_ip_prefixes.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes.Element) - public_ip_prefixes_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 + public_ip_prefixes_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 public_ip_prefixes_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes_v6.Element) - subnets = _schema_public_ip_address_read.properties.nat_gateway.properties.subnets + subnets = _schema_common_public_ip_address_read.properties.nat_gateway.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_sub_resource_read(subnets.Element) + cls._build_schema_common_sub_resource_read(subnets.Element) - sku = _schema_public_ip_address_read.properties.nat_gateway.sku + sku = _schema_common_public_ip_address_read.properties.nat_gateway.sku sku.name = AAZStrType() - tags = _schema_public_ip_address_read.properties.nat_gateway.tags + tags = _schema_common_public_ip_address_read.properties.nat_gateway.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.properties.nat_gateway.zones + zones = _schema_common_public_ip_address_read.properties.nat_gateway.zones zones.Element = AAZStrType() - sku = _schema_public_ip_address_read.sku + sku = _schema_common_public_ip_address_read.sku sku.name = AAZStrType() sku.tier = AAZStrType() - tags = _schema_public_ip_address_read.tags + tags = _schema_common_public_ip_address_read.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.zones + zones = _schema_common_public_ip_address_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones - _schema_security_rule_read = None + _schema_common_security_rule_read = None @classmethod - def _build_schema_security_rule_read(cls, _schema): - if cls._schema_security_rule_read is not None: - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + def _build_schema_common_security_rule_read(cls, _schema): + if cls._schema_common_security_rule_read is not None: + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type return - cls._schema_security_rule_read = _schema_security_rule_read = AAZObjectType() + cls._schema_common_security_rule_read = _schema_common_security_rule_read = AAZObjectType() - security_rule_read = _schema_security_rule_read - security_rule_read.etag = AAZStrType( + common_security_rule_read = _schema_common_security_rule_read + common_security_rule_read.etag = AAZStrType( flags={"read_only": True}, ) - security_rule_read.id = AAZStrType() - security_rule_read.name = AAZStrType() - security_rule_read.properties = AAZObjectType( + common_security_rule_read.id = AAZStrType() + common_security_rule_read.name = AAZStrType() + common_security_rule_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - security_rule_read.type = AAZStrType() + common_security_rule_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_security_rule_read.properties + properties = _schema_common_security_rule_read.properties properties.access = AAZStrType( flags={"required": True}, ) @@ -2198,75 +2241,77 @@ def _build_schema_security_rule_read(cls, _schema): serialized_name="sourcePortRanges", ) - destination_address_prefixes = _schema_security_rule_read.properties.destination_address_prefixes + destination_address_prefixes = _schema_common_security_rule_read.properties.destination_address_prefixes destination_address_prefixes.Element = AAZStrType() - destination_application_security_groups = _schema_security_rule_read.properties.destination_application_security_groups + destination_application_security_groups = _schema_common_security_rule_read.properties.destination_application_security_groups destination_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(destination_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(destination_application_security_groups.Element) - destination_port_ranges = _schema_security_rule_read.properties.destination_port_ranges + destination_port_ranges = _schema_common_security_rule_read.properties.destination_port_ranges destination_port_ranges.Element = AAZStrType() - source_address_prefixes = _schema_security_rule_read.properties.source_address_prefixes + source_address_prefixes = _schema_common_security_rule_read.properties.source_address_prefixes source_address_prefixes.Element = AAZStrType() - source_application_security_groups = _schema_security_rule_read.properties.source_application_security_groups + source_application_security_groups = _schema_common_security_rule_read.properties.source_application_security_groups source_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(source_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(source_application_security_groups.Element) - source_port_ranges = _schema_security_rule_read.properties.source_port_ranges + source_port_ranges = _schema_common_security_rule_read.properties.source_port_ranges source_port_ranges.Element = AAZStrType() - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type - _schema_sub_resource_read = None + _schema_common_sub_resource_read = None @classmethod - def _build_schema_sub_resource_read(cls, _schema): - if cls._schema_sub_resource_read is not None: - _schema.id = cls._schema_sub_resource_read.id + def _build_schema_common_sub_resource_read(cls, _schema): + if cls._schema_common_sub_resource_read is not None: + _schema.id = cls._schema_common_sub_resource_read.id return - cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType( + cls._schema_common_sub_resource_read = _schema_common_sub_resource_read = AAZObjectType( flags={"read_only": True} ) - sub_resource_read = _schema_sub_resource_read - sub_resource_read.id = AAZStrType() + common_sub_resource_read = _schema_common_sub_resource_read + common_sub_resource_read.id = AAZStrType() - _schema.id = cls._schema_sub_resource_read.id + _schema.id = cls._schema_common_sub_resource_read.id - _schema_subnet_read = None + _schema_common_subnet_read = None @classmethod - def _build_schema_subnet_read(cls, _schema): - if cls._schema_subnet_read is not None: - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + def _build_schema_common_subnet_read(cls, _schema): + if cls._schema_common_subnet_read is not None: + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type return - cls._schema_subnet_read = _schema_subnet_read = AAZObjectType() + cls._schema_common_subnet_read = _schema_common_subnet_read = AAZObjectType() - subnet_read = _schema_subnet_read - subnet_read.etag = AAZStrType( + common_subnet_read = _schema_common_subnet_read + common_subnet_read.etag = AAZStrType( flags={"read_only": True}, ) - subnet_read.id = AAZStrType() - subnet_read.name = AAZStrType() - subnet_read.properties = AAZObjectType( + common_subnet_read.id = AAZStrType() + common_subnet_read.name = AAZStrType() + common_subnet_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - subnet_read.type = AAZStrType() + common_subnet_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties + properties = _schema_common_subnet_read.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2297,11 +2342,11 @@ def _build_schema_subnet_read(cls, _schema): properties.nat_gateway = AAZObjectType( serialized_name="natGateway", ) - cls._build_schema_sub_resource_read(properties.nat_gateway) + cls._build_schema_common_sub_resource_read(properties.nat_gateway) properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.private_endpoint_network_policies = AAZStrType( serialized_name="privateEndpointNetworkPolicies", ) @@ -2339,18 +2384,18 @@ def _build_schema_subnet_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.sharing_scope = AAZStrType( serialized_name="sharingScope", ) - address_prefixes = _schema_subnet_read.properties.address_prefixes + address_prefixes = _schema_common_subnet_read.properties.address_prefixes address_prefixes.Element = AAZStrType() - application_gateway_ip_configurations = _schema_subnet_read.properties.application_gateway_ip_configurations + application_gateway_ip_configurations = _schema_common_subnet_read.properties.application_gateway_ip_configurations application_gateway_ip_configurations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.application_gateway_ip_configurations.Element + _element = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2363,18 +2408,18 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.application_gateway_ip_configurations.Element.properties + properties = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) - delegations = _schema_subnet_read.properties.delegations + delegations = _schema_common_subnet_read.properties.delegations delegations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.delegations.Element + _element = _schema_common_subnet_read.properties.delegations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2385,7 +2430,7 @@ def _build_schema_subnet_read(cls, _schema): ) _element.type = AAZStrType() - properties = _schema_subnet_read.properties.delegations.Element.properties + properties = _schema_common_subnet_read.properties.delegations.Element.properties properties.actions = AAZListType( flags={"read_only": True}, ) @@ -2397,17 +2442,17 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceName", ) - actions = _schema_subnet_read.properties.delegations.Element.properties.actions + actions = _schema_common_subnet_read.properties.delegations.Element.properties.actions actions.Element = AAZStrType() - ip_allocations = _schema_subnet_read.properties.ip_allocations + ip_allocations = _schema_common_subnet_read.properties.ip_allocations ip_allocations.Element = AAZObjectType() - cls._build_schema_sub_resource_read(ip_allocations.Element) + cls._build_schema_common_sub_resource_read(ip_allocations.Element) - ip_configuration_profiles = _schema_subnet_read.properties.ip_configuration_profiles + ip_configuration_profiles = _schema_common_subnet_read.properties.ip_configuration_profiles ip_configuration_profiles.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ip_configuration_profiles.Element + _element = _schema_common_subnet_read.properties.ip_configuration_profiles.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2420,22 +2465,22 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.ip_configuration_profiles.Element.properties + properties = _schema_common_subnet_read.properties.ip_configuration_profiles.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - ip_configurations = _schema_subnet_read.properties.ip_configurations + ip_configurations = _schema_common_subnet_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_ip_configuration_read(ip_configurations.Element) - ipam_pool_prefix_allocations = _schema_subnet_read.properties.ipam_pool_prefix_allocations + ipam_pool_prefix_allocations = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element + _element = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element _element.allocated_address_prefixes = AAZListType( serialized_name="allocatedAddressPrefixes", flags={"read_only": True}, @@ -2447,20 +2492,20 @@ def _build_schema_subnet_read(cls, _schema): flags={"client_flatten": True}, ) - allocated_address_prefixes = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes + allocated_address_prefixes = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes allocated_address_prefixes.Element = AAZStrType() - pool = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool + pool = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool pool.id = AAZStrType() - private_endpoints = _schema_subnet_read.properties.private_endpoints + private_endpoints = _schema_common_subnet_read.properties.private_endpoints private_endpoints.Element = AAZObjectType() - cls._build_schema_private_endpoint_read(private_endpoints.Element) + cls._build_schema_common_private_endpoint_read(private_endpoints.Element) - resource_navigation_links = _schema_subnet_read.properties.resource_navigation_links + resource_navigation_links = _schema_common_subnet_read.properties.resource_navigation_links resource_navigation_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.resource_navigation_links.Element + _element = _schema_common_subnet_read.properties.resource_navigation_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2475,7 +2520,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.resource_navigation_links.Element.properties + properties = _schema_common_subnet_read.properties.resource_navigation_links.Element.properties properties.link = AAZStrType() properties.linked_resource_type = AAZStrType( serialized_name="linkedResourceType", @@ -2485,7 +2530,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - route_table = _schema_subnet_read.properties.route_table + route_table = _schema_common_subnet_read.properties.route_table route_table.etag = AAZStrType( flags={"read_only": True}, ) @@ -2502,10 +2547,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.route_table.properties + properties = _schema_common_subnet_read.properties.route_table.properties properties.disable_bgp_route_propagation = AAZBoolType( serialized_name="disableBgpRoutePropagation", ) + properties.disable_peering_route = AAZStrType( + serialized_name="disablePeeringRoute", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -2519,10 +2567,10 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - routes = _schema_subnet_read.properties.route_table.properties.routes + routes = _schema_common_subnet_read.properties.route_table.properties.routes routes.Element = AAZObjectType() - _element = _schema_subnet_read.properties.route_table.properties.routes.Element + _element = _schema_common_subnet_read.properties.route_table.properties.routes.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2531,9 +2579,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.route_table.properties.routes.Element.properties + properties = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2541,6 +2591,9 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="hasBgpOverride", flags={"read_only": True}, ) + properties.next_hop = AAZObjectType( + serialized_name="nextHop", + ) properties.next_hop_ip_address = AAZStrType( serialized_name="nextHopIpAddress", ) @@ -2553,17 +2606,26 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - subnets = _schema_subnet_read.properties.route_table.properties.subnets + next_hop = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop + next_hop.next_hop_ip_addresses = AAZListType( + serialized_name="nextHopIpAddresses", + flags={"required": True}, + ) + + next_hop_ip_addresses = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop.next_hop_ip_addresses + next_hop_ip_addresses.Element = AAZStrType() + + subnets = _schema_common_subnet_read.properties.route_table.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.route_table.tags + tags = _schema_common_subnet_read.properties.route_table.tags tags.Element = AAZStrType() - service_association_links = _schema_subnet_read.properties.service_association_links + service_association_links = _schema_common_subnet_read.properties.service_association_links service_association_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_association_links.Element + _element = _schema_common_subnet_read.properties.service_association_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2576,7 +2638,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_association_links.Element.properties + properties = _schema_common_subnet_read.properties.service_association_links.Element.properties properties.allow_delete = AAZBoolType( serialized_name="allowDelete", ) @@ -2590,13 +2652,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - locations = _schema_subnet_read.properties.service_association_links.Element.properties.locations + locations = _schema_common_subnet_read.properties.service_association_links.Element.properties.locations locations.Element = AAZStrType() - service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies + service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies service_endpoint_policies.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2616,7 +2678,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties properties.contextual_service_endpoint_policies = AAZListType( serialized_name="contextualServiceEndpointPolicies", ) @@ -2638,13 +2700,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - contextual_service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies + contextual_service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies contextual_service_endpoint_policies.Element = AAZStrType() - service_endpoint_policy_definitions = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions + service_endpoint_policy_definitions = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions service_endpoint_policy_definitions.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2653,9 +2715,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties properties.description = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", @@ -2666,82 +2730,82 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceResources", ) - service_resources = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources + service_resources = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources service_resources.Element = AAZStrType() - subnets = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.subnets + subnets = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.service_endpoint_policies.Element.tags + tags = _schema_common_subnet_read.properties.service_endpoint_policies.Element.tags tags.Element = AAZStrType() - service_endpoints = _schema_subnet_read.properties.service_endpoints + service_endpoints = _schema_common_subnet_read.properties.service_endpoints service_endpoints.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoints.Element + _element = _schema_common_subnet_read.properties.service_endpoints.Element _element.locations = AAZListType() _element.network_identifier = AAZObjectType( serialized_name="networkIdentifier", ) - cls._build_schema_sub_resource_read(_element.network_identifier) + cls._build_schema_common_sub_resource_read(_element.network_identifier) _element.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) _element.service = AAZStrType() - locations = _schema_subnet_read.properties.service_endpoints.Element.locations + locations = _schema_common_subnet_read.properties.service_endpoints.Element.locations locations.Element = AAZStrType() - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type - _schema_virtual_network_tap_read = None + _schema_common_virtual_network_tap_read = None @classmethod - def _build_schema_virtual_network_tap_read(cls, _schema): - if cls._schema_virtual_network_tap_read is not None: - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + def _build_schema_common_virtual_network_tap_read(cls, _schema): + if cls._schema_common_virtual_network_tap_read is not None: + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type return - cls._schema_virtual_network_tap_read = _schema_virtual_network_tap_read = AAZObjectType() + cls._schema_common_virtual_network_tap_read = _schema_common_virtual_network_tap_read = AAZObjectType() - virtual_network_tap_read = _schema_virtual_network_tap_read - virtual_network_tap_read.etag = AAZStrType( + common_virtual_network_tap_read = _schema_common_virtual_network_tap_read + common_virtual_network_tap_read.etag = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.id = AAZStrType() - virtual_network_tap_read.location = AAZStrType() - virtual_network_tap_read.name = AAZStrType( + common_virtual_network_tap_read.id = AAZStrType() + common_virtual_network_tap_read.location = AAZStrType() + common_virtual_network_tap_read.name = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.properties = AAZObjectType( + common_virtual_network_tap_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - virtual_network_tap_read.tags = AAZDictType() - virtual_network_tap_read.type = AAZStrType( + common_virtual_network_tap_read.tags = AAZDictType() + common_virtual_network_tap_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_virtual_network_tap_read.properties + properties = _schema_common_virtual_network_tap_read.properties properties.destination_load_balancer_front_end_ip_configuration = AAZObjectType( serialized_name="destinationLoadBalancerFrontEndIPConfiguration", ) - cls._build_schema_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) + cls._build_schema_common_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) properties.destination_network_interface_ip_configuration = AAZObjectType( serialized_name="destinationNetworkInterfaceIPConfiguration", ) - cls._build_schema_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) properties.destination_port = AAZIntType( serialized_name="destinationPort", ) @@ -2758,20 +2822,20 @@ def _build_schema_virtual_network_tap_read(cls, _schema): flags={"read_only": True}, ) - network_interface_tap_configurations = _schema_virtual_network_tap_read.properties.network_interface_tap_configurations + network_interface_tap_configurations = _schema_common_virtual_network_tap_read.properties.network_interface_tap_configurations network_interface_tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) - tags = _schema_virtual_network_tap_read.tags + tags = _schema_common_virtual_network_tap_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type __all__ = ["Update"] diff --git a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_wait.py b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_wait.py index bc4fa4841bc..98498885c29 100644 --- a/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privateendpoints/{}", "2025-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privateendpoints/{}", "2025-07-01"], ] } @@ -49,10 +49,6 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema.resource_group = AAZResourceGroupNameArg( required=True, ) - _args_schema.expand = AAZStrArg( - options=["--expand"], - help="Expands referenced resources.", - ) return cls._args_schema def _execute_operations(self): @@ -120,10 +116,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "$expand", self.ctx.args.expand, - ), - **self.serialize_query_param( - "api-version", "2025-05-01", + "api-version", "2025-07-01", required=True, ), } @@ -154,7 +147,7 @@ def _build_schema_on_200(cls): return cls._schema_on_200 cls._schema_on_200 = AAZObjectType() - _WaitHelper._build_schema_private_endpoint_read(cls._schema_on_200) + _WaitHelper._build_schema_common_private_endpoint_read(cls._schema_on_200) return cls._schema_on_200 @@ -162,40 +155,40 @@ def _build_schema_on_200(cls): class _WaitHelper: """Helper class for Wait""" - _schema_application_security_group_read = None + _schema_common_application_security_group_read = None @classmethod - def _build_schema_application_security_group_read(cls, _schema): - if cls._schema_application_security_group_read is not None: - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + def _build_schema_common_application_security_group_read(cls, _schema): + if cls._schema_common_application_security_group_read is not None: + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type return - cls._schema_application_security_group_read = _schema_application_security_group_read = AAZObjectType() + cls._schema_common_application_security_group_read = _schema_common_application_security_group_read = AAZObjectType() - application_security_group_read = _schema_application_security_group_read - application_security_group_read.etag = AAZStrType( + common_application_security_group_read = _schema_common_application_security_group_read + common_application_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.id = AAZStrType() - application_security_group_read.location = AAZStrType() - application_security_group_read.name = AAZStrType( + common_application_security_group_read.id = AAZStrType() + common_application_security_group_read.location = AAZStrType() + common_application_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - application_security_group_read.properties = AAZObjectType( + common_application_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - application_security_group_read.tags = AAZDictType() - application_security_group_read.type = AAZStrType( + common_application_security_group_read.tags = AAZDictType() + common_application_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_application_security_group_read.properties + properties = _schema_common_application_security_group_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -205,69 +198,72 @@ def _build_schema_application_security_group_read(cls, _schema): flags={"read_only": True}, ) - tags = _schema_application_security_group_read.tags + tags = _schema_common_application_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_application_security_group_read.etag - _schema.id = cls._schema_application_security_group_read.id - _schema.location = cls._schema_application_security_group_read.location - _schema.name = cls._schema_application_security_group_read.name - _schema.properties = cls._schema_application_security_group_read.properties - _schema.tags = cls._schema_application_security_group_read.tags - _schema.type = cls._schema_application_security_group_read.type + _schema.etag = cls._schema_common_application_security_group_read.etag + _schema.id = cls._schema_common_application_security_group_read.id + _schema.location = cls._schema_common_application_security_group_read.location + _schema.name = cls._schema_common_application_security_group_read.name + _schema.properties = cls._schema_common_application_security_group_read.properties + _schema.tags = cls._schema_common_application_security_group_read.tags + _schema.type = cls._schema_common_application_security_group_read.type - _schema_extended_location_read = None + _schema_common_extended_location_read = None @classmethod - def _build_schema_extended_location_read(cls, _schema): - if cls._schema_extended_location_read is not None: - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + def _build_schema_common_extended_location_read(cls, _schema): + if cls._schema_common_extended_location_read is not None: + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type return - cls._schema_extended_location_read = _schema_extended_location_read = AAZObjectType() + cls._schema_common_extended_location_read = _schema_common_extended_location_read = AAZObjectType() - extended_location_read = _schema_extended_location_read - extended_location_read.name = AAZStrType() - extended_location_read.type = AAZStrType() + common_extended_location_read = _schema_common_extended_location_read + common_extended_location_read.name = AAZStrType() + common_extended_location_read.type = AAZStrType() - _schema.name = cls._schema_extended_location_read.name - _schema.type = cls._schema_extended_location_read.type + _schema.name = cls._schema_common_extended_location_read.name + _schema.type = cls._schema_common_extended_location_read.type - _schema_frontend_ip_configuration_read = None + _schema_common_frontend_ip_configuration_read = None @classmethod - def _build_schema_frontend_ip_configuration_read(cls, _schema): - if cls._schema_frontend_ip_configuration_read is not None: - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + def _build_schema_common_frontend_ip_configuration_read(cls, _schema): + if cls._schema_common_frontend_ip_configuration_read is not None: + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones return - cls._schema_frontend_ip_configuration_read = _schema_frontend_ip_configuration_read = AAZObjectType() + cls._schema_common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read = AAZObjectType() - frontend_ip_configuration_read = _schema_frontend_ip_configuration_read - frontend_ip_configuration_read.etag = AAZStrType( + common_frontend_ip_configuration_read = _schema_common_frontend_ip_configuration_read + common_frontend_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.id = AAZStrType() - frontend_ip_configuration_read.name = AAZStrType() - frontend_ip_configuration_read.properties = AAZObjectType( + common_frontend_ip_configuration_read.id = AAZStrType() + common_frontend_ip_configuration_read.name = AAZStrType() + common_frontend_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - frontend_ip_configuration_read.type = AAZStrType( + common_frontend_ip_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - frontend_ip_configuration_read.zones = AAZListType() + common_frontend_ip_configuration_read.zones = AAZListType() - properties = _schema_frontend_ip_configuration_read.properties + properties = _schema_common_frontend_ip_configuration_read.properties + properties.ddos_settings = AAZObjectType( + serialized_name="ddosSettings", + ) properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.inbound_nat_pools = AAZListType( serialized_name="inboundNatPools", flags={"read_only": True}, @@ -300,66 +296,72 @@ def _build_schema_frontend_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) + + ddos_settings = _schema_common_frontend_ip_configuration_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) - inbound_nat_pools = _schema_frontend_ip_configuration_read.properties.inbound_nat_pools + inbound_nat_pools = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_pools inbound_nat_pools.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_pools.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_pools.Element) - inbound_nat_rules = _schema_frontend_ip_configuration_read.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_frontend_ip_configuration_read.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancing_rules = _schema_frontend_ip_configuration_read.properties.load_balancing_rules + load_balancing_rules = _schema_common_frontend_ip_configuration_read.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_frontend_ip_configuration_read.properties.outbound_rules + outbound_rules = _schema_common_frontend_ip_configuration_read.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - zones = _schema_frontend_ip_configuration_read.zones + zones = _schema_common_frontend_ip_configuration_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_frontend_ip_configuration_read.etag - _schema.id = cls._schema_frontend_ip_configuration_read.id - _schema.name = cls._schema_frontend_ip_configuration_read.name - _schema.properties = cls._schema_frontend_ip_configuration_read.properties - _schema.type = cls._schema_frontend_ip_configuration_read.type - _schema.zones = cls._schema_frontend_ip_configuration_read.zones + _schema.etag = cls._schema_common_frontend_ip_configuration_read.etag + _schema.id = cls._schema_common_frontend_ip_configuration_read.id + _schema.name = cls._schema_common_frontend_ip_configuration_read.name + _schema.properties = cls._schema_common_frontend_ip_configuration_read.properties + _schema.type = cls._schema_common_frontend_ip_configuration_read.type + _schema.zones = cls._schema_common_frontend_ip_configuration_read.zones - _schema_ip_configuration_read = None + _schema_common_ip_configuration_read = None @classmethod - def _build_schema_ip_configuration_read(cls, _schema): - if cls._schema_ip_configuration_read is not None: - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + def _build_schema_common_ip_configuration_read(cls, _schema): + if cls._schema_common_ip_configuration_read is not None: + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties return - cls._schema_ip_configuration_read = _schema_ip_configuration_read = AAZObjectType( + cls._schema_common_ip_configuration_read = _schema_common_ip_configuration_read = AAZObjectType( flags={"read_only": True} ) - ip_configuration_read = _schema_ip_configuration_read - ip_configuration_read.etag = AAZStrType( + common_ip_configuration_read = _schema_common_ip_configuration_read + common_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - ip_configuration_read.id = AAZStrType() - ip_configuration_read.name = AAZStrType() - ip_configuration_read.properties = AAZObjectType( + common_ip_configuration_read.id = AAZStrType() + common_ip_configuration_read.name = AAZStrType() + common_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_ip_configuration_read.properties + properties = _schema_common_ip_configuration_read.properties properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", ) @@ -373,41 +375,43 @@ def _build_schema_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - _schema.etag = cls._schema_ip_configuration_read.etag - _schema.id = cls._schema_ip_configuration_read.id - _schema.name = cls._schema_ip_configuration_read.name - _schema.properties = cls._schema_ip_configuration_read.properties + _schema.etag = cls._schema_common_ip_configuration_read.etag + _schema.id = cls._schema_common_ip_configuration_read.id + _schema.name = cls._schema_common_ip_configuration_read.name + _schema.properties = cls._schema_common_ip_configuration_read.properties - _schema_network_interface_ip_configuration_read = None + _schema_common_network_interface_ip_configuration_read = None @classmethod - def _build_schema_network_interface_ip_configuration_read(cls, _schema): - if cls._schema_network_interface_ip_configuration_read is not None: - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + def _build_schema_common_network_interface_ip_configuration_read(cls, _schema): + if cls._schema_common_network_interface_ip_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type return - cls._schema_network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read = AAZObjectType() + cls._schema_common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read = AAZObjectType() - network_interface_ip_configuration_read = _schema_network_interface_ip_configuration_read - network_interface_ip_configuration_read.etag = AAZStrType( + common_network_interface_ip_configuration_read = _schema_common_network_interface_ip_configuration_read + common_network_interface_ip_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_ip_configuration_read.id = AAZStrType() - network_interface_ip_configuration_read.name = AAZStrType() - network_interface_ip_configuration_read.properties = AAZObjectType( + common_network_interface_ip_configuration_read.id = AAZStrType() + common_network_interface_ip_configuration_read.name = AAZStrType() + common_network_interface_ip_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_ip_configuration_read.type = AAZStrType() + common_network_interface_ip_configuration_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_network_interface_ip_configuration_read.properties + properties = _schema_common_network_interface_ip_configuration_read.properties properties.application_gateway_backend_address_pools = AAZListType( serialized_name="applicationGatewayBackendAddressPools", ) @@ -417,7 +421,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.gateway_load_balancer = AAZObjectType( serialized_name="gatewayLoadBalancer", ) - cls._build_schema_sub_resource_read(properties.gateway_load_balancer) + cls._build_schema_common_sub_resource_read(properties.gateway_load_balancer) properties.load_balancer_backend_address_pools = AAZListType( serialized_name="loadBalancerBackendAddressPools", ) @@ -449,17 +453,17 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.public_ip_address = AAZObjectType( serialized_name="publicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.public_ip_address) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) properties.virtual_network_taps = AAZListType( serialized_name="virtualNetworkTaps", ) - application_gateway_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools + application_gateway_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools application_gateway_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -472,7 +476,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties properties.backend_addresses = AAZListType( serialized_name="backendAddresses", ) @@ -485,27 +489,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - backend_addresses = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses + backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_addresses.Element _element.fqdn = AAZStrType() _element.ip_address = AAZStrType( serialized_name="ipAddress", ) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.application_gateway_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - application_security_groups = _schema_network_interface_ip_configuration_read.properties.application_security_groups + application_security_groups = _schema_common_network_interface_ip_configuration_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - load_balancer_backend_address_pools = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools + load_balancer_backend_address_pools = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools load_balancer_backend_address_pools.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -518,7 +522,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties properties.backend_ip_configurations = AAZListType( serialized_name="backendIPConfigurations", flags={"read_only": True}, @@ -542,7 +546,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="outboundRule", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.outbound_rule) + cls._build_schema_common_sub_resource_read(properties.outbound_rule) properties.outbound_rules = AAZListType( serialized_name="outboundRules", flags={"read_only": True}, @@ -560,26 +564,26 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - backend_ip_configurations = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations + backend_ip_configurations = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.backend_ip_configurations backend_ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(backend_ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(backend_ip_configurations.Element) - inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules + inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.inbound_nat_rules inbound_nat_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(inbound_nat_rules.Element) + cls._build_schema_common_sub_resource_read(inbound_nat_rules.Element) - load_balancer_backend_addresses = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses + load_balancer_backend_addresses = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses load_balancer_backend_addresses.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element _element.name = AAZStrType() _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties properties.admin_state = AAZStrType( serialized_name="adminState", ) @@ -593,23 +597,23 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.load_balancer_frontend_ip_configuration = AAZObjectType( serialized_name="loadBalancerFrontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.load_balancer_frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.load_balancer_frontend_ip_configuration) properties.network_interface_ip_configuration = AAZObjectType( serialized_name="networkInterfaceIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.network_interface_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.network_interface_ip_configuration) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) properties.virtual_network = AAZObjectType( serialized_name="virtualNetwork", ) - cls._build_schema_sub_resource_read(properties.virtual_network) + cls._build_schema_common_sub_resource_read(properties.virtual_network) - inbound_nat_rules_port_mapping = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping + inbound_nat_rules_port_mapping = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping inbound_nat_rules_port_mapping.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancer_backend_addresses.Element.properties.inbound_nat_rules_port_mapping.Element _element.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -620,27 +624,27 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): serialized_name="inboundNatRuleName", ) - load_balancing_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules + load_balancing_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.load_balancing_rules load_balancing_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(load_balancing_rules.Element) + cls._build_schema_common_sub_resource_read(load_balancing_rules.Element) - outbound_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules + outbound_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.outbound_rules outbound_rules.Element = AAZObjectType() - cls._build_schema_sub_resource_read(outbound_rules.Element) + cls._build_schema_common_sub_resource_read(outbound_rules.Element) - tunnel_interfaces = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces + tunnel_interfaces = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces tunnel_interfaces.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_backend_address_pools.Element.properties.tunnel_interfaces.Element _element.identifier = AAZIntType() _element.port = AAZIntType() _element.protocol = AAZStrType() _element.type = AAZStrType() - load_balancer_inbound_nat_rules = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules + load_balancer_inbound_nat_rules = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules load_balancer_inbound_nat_rules.Element = AAZObjectType() - _element = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element + _element = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -653,16 +657,16 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties + properties = _schema_common_network_interface_ip_configuration_read.properties.load_balancer_inbound_nat_rules.Element.properties properties.backend_address_pool = AAZObjectType( serialized_name="backendAddressPool", ) - cls._build_schema_sub_resource_read(properties.backend_address_pool) + cls._build_schema_common_sub_resource_read(properties.backend_address_pool) properties.backend_ip_configuration = AAZObjectType( serialized_name="backendIPConfiguration", flags={"read_only": True}, ) - cls._build_schema_network_interface_ip_configuration_read(properties.backend_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.backend_ip_configuration) properties.backend_port = AAZIntType( serialized_name="backendPort", ) @@ -675,7 +679,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): properties.frontend_ip_configuration = AAZObjectType( serialized_name="frontendIPConfiguration", ) - cls._build_schema_sub_resource_read(properties.frontend_ip_configuration) + cls._build_schema_common_sub_resource_read(properties.frontend_ip_configuration) properties.frontend_port = AAZIntType( serialized_name="frontendPort", ) @@ -694,7 +698,7 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - private_link_connection_properties = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties + private_link_connection_properties = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties private_link_connection_properties.fqdns = AAZListType( flags={"read_only": True}, ) @@ -707,47 +711,47 @@ def _build_schema_network_interface_ip_configuration_read(cls, _schema): flags={"read_only": True}, ) - fqdns = _schema_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns + fqdns = _schema_common_network_interface_ip_configuration_read.properties.private_link_connection_properties.fqdns fqdns.Element = AAZStrType() - virtual_network_taps = _schema_network_interface_ip_configuration_read.properties.virtual_network_taps + virtual_network_taps = _schema_common_network_interface_ip_configuration_read.properties.virtual_network_taps virtual_network_taps.Element = AAZObjectType() - cls._build_schema_virtual_network_tap_read(virtual_network_taps.Element) + cls._build_schema_common_virtual_network_tap_read(virtual_network_taps.Element) - _schema.etag = cls._schema_network_interface_ip_configuration_read.etag - _schema.id = cls._schema_network_interface_ip_configuration_read.id - _schema.name = cls._schema_network_interface_ip_configuration_read.name - _schema.properties = cls._schema_network_interface_ip_configuration_read.properties - _schema.type = cls._schema_network_interface_ip_configuration_read.type + _schema.etag = cls._schema_common_network_interface_ip_configuration_read.etag + _schema.id = cls._schema_common_network_interface_ip_configuration_read.id + _schema.name = cls._schema_common_network_interface_ip_configuration_read.name + _schema.properties = cls._schema_common_network_interface_ip_configuration_read.properties + _schema.type = cls._schema_common_network_interface_ip_configuration_read.type - _schema_network_interface_tap_configuration_read = None + _schema_common_network_interface_tap_configuration_read = None @classmethod - def _build_schema_network_interface_tap_configuration_read(cls, _schema): - if cls._schema_network_interface_tap_configuration_read is not None: - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + def _build_schema_common_network_interface_tap_configuration_read(cls, _schema): + if cls._schema_common_network_interface_tap_configuration_read is not None: + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type return - cls._schema_network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read = AAZObjectType() + cls._schema_common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read = AAZObjectType() - network_interface_tap_configuration_read = _schema_network_interface_tap_configuration_read - network_interface_tap_configuration_read.etag = AAZStrType( + common_network_interface_tap_configuration_read = _schema_common_network_interface_tap_configuration_read + common_network_interface_tap_configuration_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_tap_configuration_read.id = AAZStrType() - network_interface_tap_configuration_read.name = AAZStrType() - network_interface_tap_configuration_read.properties = AAZObjectType( + common_network_interface_tap_configuration_read.id = AAZStrType() + common_network_interface_tap_configuration_read.name = AAZStrType() + common_network_interface_tap_configuration_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_tap_configuration_read.type = AAZStrType( + common_network_interface_tap_configuration_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_tap_configuration_read.properties + properties = _schema_common_network_interface_tap_configuration_read.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -755,53 +759,53 @@ def _build_schema_network_interface_tap_configuration_read(cls, _schema): properties.virtual_network_tap = AAZObjectType( serialized_name="virtualNetworkTap", ) - cls._build_schema_virtual_network_tap_read(properties.virtual_network_tap) + cls._build_schema_common_virtual_network_tap_read(properties.virtual_network_tap) - _schema.etag = cls._schema_network_interface_tap_configuration_read.etag - _schema.id = cls._schema_network_interface_tap_configuration_read.id - _schema.name = cls._schema_network_interface_tap_configuration_read.name - _schema.properties = cls._schema_network_interface_tap_configuration_read.properties - _schema.type = cls._schema_network_interface_tap_configuration_read.type + _schema.etag = cls._schema_common_network_interface_tap_configuration_read.etag + _schema.id = cls._schema_common_network_interface_tap_configuration_read.id + _schema.name = cls._schema_common_network_interface_tap_configuration_read.name + _schema.properties = cls._schema_common_network_interface_tap_configuration_read.properties + _schema.type = cls._schema_common_network_interface_tap_configuration_read.type - _schema_network_interface_read = None + _schema_common_network_interface_read = None @classmethod - def _build_schema_network_interface_read(cls, _schema): - if cls._schema_network_interface_read is not None: - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + def _build_schema_common_network_interface_read(cls, _schema): + if cls._schema_common_network_interface_read is not None: + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type return - cls._schema_network_interface_read = _schema_network_interface_read = AAZObjectType() + cls._schema_common_network_interface_read = _schema_common_network_interface_read = AAZObjectType() - network_interface_read = _schema_network_interface_read - network_interface_read.etag = AAZStrType( + common_network_interface_read = _schema_common_network_interface_read + common_network_interface_read.etag = AAZStrType( flags={"read_only": True}, ) - network_interface_read.extended_location = AAZObjectType( + common_network_interface_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(network_interface_read.extended_location) - network_interface_read.id = AAZStrType() - network_interface_read.location = AAZStrType() - network_interface_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_network_interface_read.extended_location) + common_network_interface_read.id = AAZStrType() + common_network_interface_read.location = AAZStrType() + common_network_interface_read.name = AAZStrType( flags={"read_only": True}, ) - network_interface_read.properties = AAZObjectType( + common_network_interface_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_interface_read.tags = AAZDictType() - network_interface_read.type = AAZStrType( + common_network_interface_read.tags = AAZDictType() + common_network_interface_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties + properties = _schema_common_network_interface_read.properties properties.auxiliary_mode = AAZStrType( serialized_name="auxiliaryMode", ) @@ -822,7 +826,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="dscpConfiguration", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.dscp_configuration) + cls._build_schema_common_sub_resource_read(properties.dscp_configuration) properties.enable_accelerated_networking = AAZBoolType( serialized_name="enableAcceleratedNetworking", ) @@ -846,7 +850,7 @@ def _build_schema_network_interface_read(cls, _schema): properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.nic_type = AAZStrType( serialized_name="nicType", ) @@ -857,7 +861,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_link_service = AAZObjectType( serialized_name="privateLinkService", ) @@ -877,7 +881,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="virtualMachine", flags={"read_only": True}, ) - cls._build_schema_sub_resource_read(properties.virtual_machine) + cls._build_schema_common_sub_resource_read(properties.virtual_machine) properties.vnet_encryption_supported = AAZBoolType( serialized_name="vnetEncryptionSupported", flags={"read_only": True}, @@ -886,7 +890,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="workloadType", ) - dns_settings = _schema_network_interface_read.properties.dns_settings + dns_settings = _schema_common_network_interface_read.properties.dns_settings dns_settings.applied_dns_servers = AAZListType( serialized_name="appliedDnsServers", flags={"read_only": True}, @@ -906,27 +910,27 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - applied_dns_servers = _schema_network_interface_read.properties.dns_settings.applied_dns_servers + applied_dns_servers = _schema_common_network_interface_read.properties.dns_settings.applied_dns_servers applied_dns_servers.Element = AAZStrType() - dns_servers = _schema_network_interface_read.properties.dns_settings.dns_servers + dns_servers = _schema_common_network_interface_read.properties.dns_settings.dns_servers dns_servers.Element = AAZStrType() - hosted_workloads = _schema_network_interface_read.properties.hosted_workloads + hosted_workloads = _schema_common_network_interface_read.properties.hosted_workloads hosted_workloads.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_network_interface_ip_configuration_read(ip_configurations.Element) - private_link_service = _schema_network_interface_read.properties.private_link_service + private_link_service = _schema_common_network_interface_read.properties.private_link_service private_link_service.etag = AAZStrType( flags={"read_only": True}, ) private_link_service.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_link_service.extended_location) + cls._build_schema_common_extended_location_read(private_link_service.extended_location) private_link_service.id = AAZStrType() private_link_service.location = AAZStrType() private_link_service.name = AAZStrType( @@ -940,7 +944,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties properties.access_mode = AAZStrType( serialized_name="accessMode", ) @@ -977,19 +981,19 @@ def _build_schema_network_interface_read(cls, _schema): ) properties.visibility = AAZObjectType() - auto_approval = _schema_network_interface_read.properties.private_link_service.properties.auto_approval + auto_approval = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval auto_approval.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.auto_approval.subscriptions subscriptions.Element = AAZStrType() - fqdns = _schema_network_interface_read.properties.private_link_service.properties.fqdns + fqdns = _schema_common_network_interface_read.properties.private_link_service.properties.fqdns fqdns.Element = AAZStrType() - ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations + ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1002,7 +1006,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.ip_configurations.Element.properties properties.primary = AAZBoolType() properties.private_ip_address = AAZStrType( serialized_name="privateIPAddress", @@ -1018,20 +1022,20 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - load_balancer_frontend_ip_configurations = _schema_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations + load_balancer_frontend_ip_configurations = _schema_common_network_interface_read.properties.private_link_service.properties.load_balancer_frontend_ip_configurations load_balancer_frontend_ip_configurations.Element = AAZObjectType() - cls._build_schema_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) + cls._build_schema_common_frontend_ip_configuration_read(load_balancer_frontend_ip_configurations.Element) - network_interfaces = _schema_network_interface_read.properties.private_link_service.properties.network_interfaces + network_interfaces = _schema_common_network_interface_read.properties.private_link_service.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_endpoint_connections = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections + private_endpoint_connections = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() - _element = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element + _element = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1044,7 +1048,7 @@ def _build_schema_network_interface_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties + properties = _schema_common_network_interface_read.properties.private_link_service.properties.private_endpoint_connections.Element.properties properties.link_identifier = AAZStrType( serialized_name="linkIdentifier", flags={"read_only": True}, @@ -1053,7 +1057,7 @@ def _build_schema_network_interface_read(cls, _schema): serialized_name="privateEndpoint", flags={"read_only": True}, ) - cls._build_schema_private_endpoint_read(properties.private_endpoint) + cls._build_schema_common_private_endpoint_read(properties.private_endpoint) properties.private_endpoint_location = AAZStrType( serialized_name="privateEndpointLocation", flags={"read_only": True}, @@ -1061,71 +1065,71 @@ def _build_schema_network_interface_read(cls, _schema): properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) - visibility = _schema_network_interface_read.properties.private_link_service.properties.visibility + visibility = _schema_common_network_interface_read.properties.private_link_service.properties.visibility visibility.subscriptions = AAZListType() - subscriptions = _schema_network_interface_read.properties.private_link_service.properties.visibility.subscriptions + subscriptions = _schema_common_network_interface_read.properties.private_link_service.properties.visibility.subscriptions subscriptions.Element = AAZStrType() - tags = _schema_network_interface_read.properties.private_link_service.tags + tags = _schema_common_network_interface_read.properties.private_link_service.tags tags.Element = AAZStrType() - tap_configurations = _schema_network_interface_read.properties.tap_configurations + tap_configurations = _schema_common_network_interface_read.properties.tap_configurations tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(tap_configurations.Element) - tags = _schema_network_interface_read.tags + tags = _schema_common_network_interface_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_interface_read.etag - _schema.extended_location = cls._schema_network_interface_read.extended_location - _schema.id = cls._schema_network_interface_read.id - _schema.location = cls._schema_network_interface_read.location - _schema.name = cls._schema_network_interface_read.name - _schema.properties = cls._schema_network_interface_read.properties - _schema.tags = cls._schema_network_interface_read.tags - _schema.type = cls._schema_network_interface_read.type + _schema.etag = cls._schema_common_network_interface_read.etag + _schema.extended_location = cls._schema_common_network_interface_read.extended_location + _schema.id = cls._schema_common_network_interface_read.id + _schema.location = cls._schema_common_network_interface_read.location + _schema.name = cls._schema_common_network_interface_read.name + _schema.properties = cls._schema_common_network_interface_read.properties + _schema.tags = cls._schema_common_network_interface_read.tags + _schema.type = cls._schema_common_network_interface_read.type - _schema_network_security_group_read = None + _schema_common_network_security_group_read = None @classmethod - def _build_schema_network_security_group_read(cls, _schema): - if cls._schema_network_security_group_read is not None: - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + def _build_schema_common_network_security_group_read(cls, _schema): + if cls._schema_common_network_security_group_read is not None: + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type return - cls._schema_network_security_group_read = _schema_network_security_group_read = AAZObjectType() + cls._schema_common_network_security_group_read = _schema_common_network_security_group_read = AAZObjectType() - network_security_group_read = _schema_network_security_group_read - network_security_group_read.etag = AAZStrType( + common_network_security_group_read = _schema_common_network_security_group_read + common_network_security_group_read.etag = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.id = AAZStrType() - network_security_group_read.location = AAZStrType() - network_security_group_read.name = AAZStrType( + common_network_security_group_read.id = AAZStrType() + common_network_security_group_read.location = AAZStrType() + common_network_security_group_read.name = AAZStrType( flags={"read_only": True}, ) - network_security_group_read.properties = AAZObjectType( + common_network_security_group_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - network_security_group_read.tags = AAZDictType() - network_security_group_read.type = AAZStrType( + common_network_security_group_read.tags = AAZDictType() + common_network_security_group_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties + properties = _schema_common_network_security_group_read.properties properties.default_security_rules = AAZListType( serialized_name="defaultSecurityRules", flags={"read_only": True}, @@ -1156,14 +1160,14 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - default_security_rules = _schema_network_security_group_read.properties.default_security_rules + default_security_rules = _schema_common_network_security_group_read.properties.default_security_rules default_security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(default_security_rules.Element) + cls._build_schema_common_security_rule_read(default_security_rules.Element) - flow_logs = _schema_network_security_group_read.properties.flow_logs + flow_logs = _schema_common_network_security_group_read.properties.flow_logs flow_logs.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1181,7 +1185,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - identity = _schema_network_security_group_read.properties.flow_logs.Element.identity + identity = _schema_common_network_security_group_read.properties.flow_logs.Element.identity identity.principal_id = AAZStrType( serialized_name="principalId", flags={"read_only": True}, @@ -1195,10 +1199,10 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="userAssignedIdentities", ) - user_assigned_identities = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities + user_assigned_identities = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities user_assigned_identities.Element = AAZObjectType() - _element = _schema_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element + _element = _schema_common_network_security_group_read.properties.flow_logs.Element.identity.user_assigned_identities.Element _element.client_id = AAZStrType( serialized_name="clientId", flags={"read_only": True}, @@ -1208,7 +1212,7 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_network_security_group_read.properties.flow_logs.Element.properties + properties = _schema_common_network_security_group_read.properties.flow_logs.Element.properties properties.enabled = AAZBoolType() properties.enabled_filtering_criteria = AAZStrType( serialized_name="enabledFilteringCriteria", @@ -1240,12 +1244,12 @@ def _build_schema_network_security_group_read(cls, _schema): flags={"required": True}, ) - flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration + flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration flow_analytics_configuration.network_watcher_flow_analytics_configuration = AAZObjectType( serialized_name="networkWatcherFlowAnalyticsConfiguration", ) - network_watcher_flow_analytics_configuration = _schema_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration + network_watcher_flow_analytics_configuration = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.flow_analytics_configuration.network_watcher_flow_analytics_configuration network_watcher_flow_analytics_configuration.enabled = AAZBoolType() network_watcher_flow_analytics_configuration.traffic_analytics_interval = AAZIntType( serialized_name="trafficAnalyticsInterval", @@ -1260,82 +1264,85 @@ def _build_schema_network_security_group_read(cls, _schema): serialized_name="workspaceResourceId", ) - format = _schema_network_security_group_read.properties.flow_logs.Element.properties.format + format = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.format format.type = AAZStrType() format.version = AAZIntType() - retention_policy = _schema_network_security_group_read.properties.flow_logs.Element.properties.retention_policy + retention_policy = _schema_common_network_security_group_read.properties.flow_logs.Element.properties.retention_policy retention_policy.days = AAZIntType() retention_policy.enabled = AAZBoolType() - tags = _schema_network_security_group_read.properties.flow_logs.Element.tags + tags = _schema_common_network_security_group_read.properties.flow_logs.Element.tags tags.Element = AAZStrType() - network_interfaces = _schema_network_security_group_read.properties.network_interfaces + network_interfaces = _schema_common_network_security_group_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - security_rules = _schema_network_security_group_read.properties.security_rules + security_rules = _schema_common_network_security_group_read.properties.security_rules security_rules.Element = AAZObjectType() - cls._build_schema_security_rule_read(security_rules.Element) + cls._build_schema_common_security_rule_read(security_rules.Element) - subnets = _schema_network_security_group_read.properties.subnets + subnets = _schema_common_network_security_group_read.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_network_security_group_read.tags + tags = _schema_common_network_security_group_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_network_security_group_read.etag - _schema.id = cls._schema_network_security_group_read.id - _schema.location = cls._schema_network_security_group_read.location - _schema.name = cls._schema_network_security_group_read.name - _schema.properties = cls._schema_network_security_group_read.properties - _schema.tags = cls._schema_network_security_group_read.tags - _schema.type = cls._schema_network_security_group_read.type + _schema.etag = cls._schema_common_network_security_group_read.etag + _schema.id = cls._schema_common_network_security_group_read.id + _schema.location = cls._schema_common_network_security_group_read.location + _schema.name = cls._schema_common_network_security_group_read.name + _schema.properties = cls._schema_common_network_security_group_read.properties + _schema.tags = cls._schema_common_network_security_group_read.tags + _schema.type = cls._schema_common_network_security_group_read.type - _schema_private_endpoint_read = None + _schema_common_private_endpoint_read = None @classmethod - def _build_schema_private_endpoint_read(cls, _schema): - if cls._schema_private_endpoint_read is not None: - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + def _build_schema_common_private_endpoint_read(cls, _schema): + if cls._schema_common_private_endpoint_read is not None: + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type return - cls._schema_private_endpoint_read = _schema_private_endpoint_read = AAZObjectType() + cls._schema_common_private_endpoint_read = _schema_common_private_endpoint_read = AAZObjectType() - private_endpoint_read = _schema_private_endpoint_read - private_endpoint_read.etag = AAZStrType( + common_private_endpoint_read = _schema_common_private_endpoint_read + common_private_endpoint_read.etag = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.extended_location = AAZObjectType( + common_private_endpoint_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(private_endpoint_read.extended_location) - private_endpoint_read.id = AAZStrType() - private_endpoint_read.location = AAZStrType() - private_endpoint_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_private_endpoint_read.extended_location) + common_private_endpoint_read.id = AAZStrType() + common_private_endpoint_read.location = AAZStrType() + common_private_endpoint_read.name = AAZStrType( flags={"read_only": True}, ) - private_endpoint_read.properties = AAZObjectType( + common_private_endpoint_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_endpoint_read.tags = AAZDictType() - private_endpoint_read.type = AAZStrType( + common_private_endpoint_read.tags = AAZDictType() + common_private_endpoint_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties + properties = _schema_common_private_endpoint_read.properties properties.application_security_groups = AAZListType( serialized_name="applicationSecurityGroups", ) + properties.billing_sku = AAZStrType( + serialized_name="billingSku", + ) properties.custom_dns_configs = AAZListType( serialized_name="customDnsConfigs", ) @@ -1363,28 +1370,28 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - application_security_groups = _schema_private_endpoint_read.properties.application_security_groups + application_security_groups = _schema_common_private_endpoint_read.properties.application_security_groups application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(application_security_groups.Element) + cls._build_schema_common_application_security_group_read(application_security_groups.Element) - custom_dns_configs = _schema_private_endpoint_read.properties.custom_dns_configs + custom_dns_configs = _schema_common_private_endpoint_read.properties.custom_dns_configs custom_dns_configs.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.custom_dns_configs.Element + _element = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element _element.fqdn = AAZStrType() _element.ip_addresses = AAZListType( serialized_name="ipAddresses", ) - ip_addresses = _schema_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses + ip_addresses = _schema_common_private_endpoint_read.properties.custom_dns_configs.Element.ip_addresses ip_addresses.Element = AAZStrType() - ip_configurations = _schema_private_endpoint_read.properties.ip_configurations + ip_configurations = _schema_common_private_endpoint_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - _element = _schema_private_endpoint_read.properties.ip_configurations.Element + _element = _schema_common_private_endpoint_read.properties.ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1396,7 +1403,7 @@ def _build_schema_private_endpoint_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_private_endpoint_read.properties.ip_configurations.Element.properties + properties = _schema_common_private_endpoint_read.properties.ip_configurations.Element.properties properties.group_id = AAZStrType( serialized_name="groupId", ) @@ -1407,88 +1414,88 @@ def _build_schema_private_endpoint_read(cls, _schema): serialized_name="privateIPAddress", ) - manual_private_link_service_connections = _schema_private_endpoint_read.properties.manual_private_link_service_connections + manual_private_link_service_connections = _schema_common_private_endpoint_read.properties.manual_private_link_service_connections manual_private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(manual_private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(manual_private_link_service_connections.Element) - network_interfaces = _schema_private_endpoint_read.properties.network_interfaces + network_interfaces = _schema_common_private_endpoint_read.properties.network_interfaces network_interfaces.Element = AAZObjectType() - cls._build_schema_network_interface_read(network_interfaces.Element) + cls._build_schema_common_network_interface_read(network_interfaces.Element) - private_link_service_connections = _schema_private_endpoint_read.properties.private_link_service_connections + private_link_service_connections = _schema_common_private_endpoint_read.properties.private_link_service_connections private_link_service_connections.Element = AAZObjectType() - cls._build_schema_private_link_service_connection_read(private_link_service_connections.Element) + cls._build_schema_common_private_link_service_connection_read(private_link_service_connections.Element) - tags = _schema_private_endpoint_read.tags + tags = _schema_common_private_endpoint_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_private_endpoint_read.etag - _schema.extended_location = cls._schema_private_endpoint_read.extended_location - _schema.id = cls._schema_private_endpoint_read.id - _schema.location = cls._schema_private_endpoint_read.location - _schema.name = cls._schema_private_endpoint_read.name - _schema.properties = cls._schema_private_endpoint_read.properties - _schema.tags = cls._schema_private_endpoint_read.tags - _schema.type = cls._schema_private_endpoint_read.type + _schema.etag = cls._schema_common_private_endpoint_read.etag + _schema.extended_location = cls._schema_common_private_endpoint_read.extended_location + _schema.id = cls._schema_common_private_endpoint_read.id + _schema.location = cls._schema_common_private_endpoint_read.location + _schema.name = cls._schema_common_private_endpoint_read.name + _schema.properties = cls._schema_common_private_endpoint_read.properties + _schema.tags = cls._schema_common_private_endpoint_read.tags + _schema.type = cls._schema_common_private_endpoint_read.type - _schema_private_link_service_connection_state_read = None + _schema_common_private_link_service_connection_state_read = None @classmethod - def _build_schema_private_link_service_connection_state_read(cls, _schema): - if cls._schema_private_link_service_connection_state_read is not None: - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + def _build_schema_common_private_link_service_connection_state_read(cls, _schema): + if cls._schema_common_private_link_service_connection_state_read is not None: + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status return - cls._schema_private_link_service_connection_state_read = _schema_private_link_service_connection_state_read = AAZObjectType() + cls._schema_common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read = AAZObjectType() - private_link_service_connection_state_read = _schema_private_link_service_connection_state_read - private_link_service_connection_state_read.actions_required = AAZStrType( + common_private_link_service_connection_state_read = _schema_common_private_link_service_connection_state_read + common_private_link_service_connection_state_read.actions_required = AAZStrType( serialized_name="actionsRequired", ) - private_link_service_connection_state_read.description = AAZStrType() - private_link_service_connection_state_read.status = AAZStrType() + common_private_link_service_connection_state_read.description = AAZStrType() + common_private_link_service_connection_state_read.status = AAZStrType() - _schema.actions_required = cls._schema_private_link_service_connection_state_read.actions_required - _schema.description = cls._schema_private_link_service_connection_state_read.description - _schema.status = cls._schema_private_link_service_connection_state_read.status + _schema.actions_required = cls._schema_common_private_link_service_connection_state_read.actions_required + _schema.description = cls._schema_common_private_link_service_connection_state_read.description + _schema.status = cls._schema_common_private_link_service_connection_state_read.status - _schema_private_link_service_connection_read = None + _schema_common_private_link_service_connection_read = None @classmethod - def _build_schema_private_link_service_connection_read(cls, _schema): - if cls._schema_private_link_service_connection_read is not None: - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + def _build_schema_common_private_link_service_connection_read(cls, _schema): + if cls._schema_common_private_link_service_connection_read is not None: + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type return - cls._schema_private_link_service_connection_read = _schema_private_link_service_connection_read = AAZObjectType() + cls._schema_common_private_link_service_connection_read = _schema_common_private_link_service_connection_read = AAZObjectType() - private_link_service_connection_read = _schema_private_link_service_connection_read - private_link_service_connection_read.etag = AAZStrType( + common_private_link_service_connection_read = _schema_common_private_link_service_connection_read + common_private_link_service_connection_read.etag = AAZStrType( flags={"read_only": True}, ) - private_link_service_connection_read.id = AAZStrType() - private_link_service_connection_read.name = AAZStrType() - private_link_service_connection_read.properties = AAZObjectType( + common_private_link_service_connection_read.id = AAZStrType() + common_private_link_service_connection_read.name = AAZStrType() + common_private_link_service_connection_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - private_link_service_connection_read.type = AAZStrType( + common_private_link_service_connection_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_private_link_service_connection_read.properties + properties = _schema_common_private_link_service_connection_read.properties properties.group_ids = AAZListType( serialized_name="groupIds", ) properties.private_link_service_connection_state = AAZObjectType( serialized_name="privateLinkServiceConnectionState", ) - cls._build_schema_private_link_service_connection_state_read(properties.private_link_service_connection_state) + cls._build_schema_common_private_link_service_connection_state_read(properties.private_link_service_connection_state) properties.private_link_service_id = AAZStrType( serialized_name="privateLinkServiceId", ) @@ -1500,58 +1507,58 @@ def _build_schema_private_link_service_connection_read(cls, _schema): serialized_name="requestMessage", ) - group_ids = _schema_private_link_service_connection_read.properties.group_ids + group_ids = _schema_common_private_link_service_connection_read.properties.group_ids group_ids.Element = AAZStrType() - _schema.etag = cls._schema_private_link_service_connection_read.etag - _schema.id = cls._schema_private_link_service_connection_read.id - _schema.name = cls._schema_private_link_service_connection_read.name - _schema.properties = cls._schema_private_link_service_connection_read.properties - _schema.type = cls._schema_private_link_service_connection_read.type + _schema.etag = cls._schema_common_private_link_service_connection_read.etag + _schema.id = cls._schema_common_private_link_service_connection_read.id + _schema.name = cls._schema_common_private_link_service_connection_read.name + _schema.properties = cls._schema_common_private_link_service_connection_read.properties + _schema.type = cls._schema_common_private_link_service_connection_read.type - _schema_public_ip_address_read = None + _schema_common_public_ip_address_read = None @classmethod - def _build_schema_public_ip_address_read(cls, _schema): - if cls._schema_public_ip_address_read is not None: - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + def _build_schema_common_public_ip_address_read(cls, _schema): + if cls._schema_common_public_ip_address_read is not None: + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones return - cls._schema_public_ip_address_read = _schema_public_ip_address_read = AAZObjectType() + cls._schema_common_public_ip_address_read = _schema_common_public_ip_address_read = AAZObjectType() - public_ip_address_read = _schema_public_ip_address_read - public_ip_address_read.etag = AAZStrType( + common_public_ip_address_read = _schema_common_public_ip_address_read + common_public_ip_address_read.etag = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.extended_location = AAZObjectType( + common_public_ip_address_read.extended_location = AAZObjectType( serialized_name="extendedLocation", ) - cls._build_schema_extended_location_read(public_ip_address_read.extended_location) - public_ip_address_read.id = AAZStrType() - public_ip_address_read.location = AAZStrType() - public_ip_address_read.name = AAZStrType( + cls._build_schema_common_extended_location_read(common_public_ip_address_read.extended_location) + common_public_ip_address_read.id = AAZStrType() + common_public_ip_address_read.location = AAZStrType() + common_public_ip_address_read.name = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.properties = AAZObjectType( + common_public_ip_address_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - public_ip_address_read.sku = AAZObjectType() - public_ip_address_read.tags = AAZDictType() - public_ip_address_read.type = AAZStrType( + common_public_ip_address_read.sku = AAZObjectType() + common_public_ip_address_read.tags = AAZDictType() + common_public_ip_address_read.type = AAZStrType( flags={"read_only": True}, ) - public_ip_address_read.zones = AAZListType() + common_public_ip_address_read.zones = AAZListType() - properties = _schema_public_ip_address_read.properties + properties = _schema_common_public_ip_address_read.properties properties.ddos_settings = AAZObjectType( serialized_name="ddosSettings", ) @@ -1571,14 +1578,14 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="ipConfiguration", flags={"read_only": True}, ) - cls._build_schema_ip_configuration_read(properties.ip_configuration) + cls._build_schema_common_ip_configuration_read(properties.ip_configuration) properties.ip_tags = AAZListType( serialized_name="ipTags", ) properties.linked_public_ip_address = AAZObjectType( serialized_name="linkedPublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.linked_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.linked_public_ip_address) properties.migration_phase = AAZStrType( serialized_name="migrationPhase", ) @@ -1598,7 +1605,7 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.public_ip_prefix = AAZObjectType( serialized_name="publicIPPrefix", ) - cls._build_schema_sub_resource_read(properties.public_ip_prefix) + cls._build_schema_common_sub_resource_read(properties.public_ip_prefix) properties.resource_guid = AAZStrType( serialized_name="resourceGuid", flags={"read_only": True}, @@ -1606,18 +1613,22 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_public_ip_address = AAZObjectType( serialized_name="servicePublicIPAddress", ) - cls._build_schema_public_ip_address_read(properties.service_public_ip_address) + cls._build_schema_common_public_ip_address_read(properties.service_public_ip_address) - ddos_settings = _schema_public_ip_address_read.properties.ddos_settings + ddos_settings = _schema_common_public_ip_address_read.properties.ddos_settings + ddos_settings.ddos_custom_policy = AAZObjectType( + serialized_name="ddosCustomPolicy", + ) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_custom_policy) ddos_settings.ddos_protection_plan = AAZObjectType( serialized_name="ddosProtectionPlan", ) - cls._build_schema_sub_resource_read(ddos_settings.ddos_protection_plan) + cls._build_schema_common_sub_resource_read(ddos_settings.ddos_protection_plan) ddos_settings.protection_mode = AAZStrType( serialized_name="protectionMode", ) - dns_settings = _schema_public_ip_address_read.properties.dns_settings + dns_settings = _schema_common_public_ip_address_read.properties.dns_settings dns_settings.domain_name_label = AAZStrType( serialized_name="domainNameLabel", ) @@ -1629,16 +1640,16 @@ def _build_schema_public_ip_address_read(cls, _schema): serialized_name="reverseFqdn", ) - ip_tags = _schema_public_ip_address_read.properties.ip_tags + ip_tags = _schema_common_public_ip_address_read.properties.ip_tags ip_tags.Element = AAZObjectType() - _element = _schema_public_ip_address_read.properties.ip_tags.Element + _element = _schema_common_public_ip_address_read.properties.ip_tags.Element _element.ip_tag_type = AAZStrType( serialized_name="ipTagType", ) _element.tag = AAZStrType() - nat_gateway = _schema_public_ip_address_read.properties.nat_gateway + nat_gateway = _schema_common_public_ip_address_read.properties.nat_gateway nat_gateway.etag = AAZStrType( flags={"read_only": True}, ) @@ -1657,10 +1668,11 @@ def _build_schema_public_ip_address_read(cls, _schema): ) nat_gateway.zones = AAZListType() - properties = _schema_public_ip_address_read.properties.nat_gateway.properties + properties = _schema_common_public_ip_address_read.properties.nat_gateway.properties properties.idle_timeout_in_minutes = AAZIntType( serialized_name="idleTimeoutInMinutes", ) + properties.nat64 = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -1684,91 +1696,93 @@ def _build_schema_public_ip_address_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.source_virtual_network = AAZObjectType( serialized_name="sourceVirtualNetwork", ) - cls._build_schema_sub_resource_read(properties.source_virtual_network) + cls._build_schema_common_sub_resource_read(properties.source_virtual_network) properties.subnets = AAZListType( flags={"read_only": True}, ) - public_ip_addresses = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses + public_ip_addresses = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses public_ip_addresses.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses.Element) - public_ip_addresses_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 + public_ip_addresses_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_addresses_v6 public_ip_addresses_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_addresses_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_addresses_v6.Element) - public_ip_prefixes = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes + public_ip_prefixes = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes public_ip_prefixes.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes.Element) - public_ip_prefixes_v6 = _schema_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 + public_ip_prefixes_v6 = _schema_common_public_ip_address_read.properties.nat_gateway.properties.public_ip_prefixes_v6 public_ip_prefixes_v6.Element = AAZObjectType() - cls._build_schema_sub_resource_read(public_ip_prefixes_v6.Element) + cls._build_schema_common_sub_resource_read(public_ip_prefixes_v6.Element) - subnets = _schema_public_ip_address_read.properties.nat_gateway.properties.subnets + subnets = _schema_common_public_ip_address_read.properties.nat_gateway.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_sub_resource_read(subnets.Element) + cls._build_schema_common_sub_resource_read(subnets.Element) - sku = _schema_public_ip_address_read.properties.nat_gateway.sku + sku = _schema_common_public_ip_address_read.properties.nat_gateway.sku sku.name = AAZStrType() - tags = _schema_public_ip_address_read.properties.nat_gateway.tags + tags = _schema_common_public_ip_address_read.properties.nat_gateway.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.properties.nat_gateway.zones + zones = _schema_common_public_ip_address_read.properties.nat_gateway.zones zones.Element = AAZStrType() - sku = _schema_public_ip_address_read.sku + sku = _schema_common_public_ip_address_read.sku sku.name = AAZStrType() sku.tier = AAZStrType() - tags = _schema_public_ip_address_read.tags + tags = _schema_common_public_ip_address_read.tags tags.Element = AAZStrType() - zones = _schema_public_ip_address_read.zones + zones = _schema_common_public_ip_address_read.zones zones.Element = AAZStrType() - _schema.etag = cls._schema_public_ip_address_read.etag - _schema.extended_location = cls._schema_public_ip_address_read.extended_location - _schema.id = cls._schema_public_ip_address_read.id - _schema.location = cls._schema_public_ip_address_read.location - _schema.name = cls._schema_public_ip_address_read.name - _schema.properties = cls._schema_public_ip_address_read.properties - _schema.sku = cls._schema_public_ip_address_read.sku - _schema.tags = cls._schema_public_ip_address_read.tags - _schema.type = cls._schema_public_ip_address_read.type - _schema.zones = cls._schema_public_ip_address_read.zones + _schema.etag = cls._schema_common_public_ip_address_read.etag + _schema.extended_location = cls._schema_common_public_ip_address_read.extended_location + _schema.id = cls._schema_common_public_ip_address_read.id + _schema.location = cls._schema_common_public_ip_address_read.location + _schema.name = cls._schema_common_public_ip_address_read.name + _schema.properties = cls._schema_common_public_ip_address_read.properties + _schema.sku = cls._schema_common_public_ip_address_read.sku + _schema.tags = cls._schema_common_public_ip_address_read.tags + _schema.type = cls._schema_common_public_ip_address_read.type + _schema.zones = cls._schema_common_public_ip_address_read.zones - _schema_security_rule_read = None + _schema_common_security_rule_read = None @classmethod - def _build_schema_security_rule_read(cls, _schema): - if cls._schema_security_rule_read is not None: - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + def _build_schema_common_security_rule_read(cls, _schema): + if cls._schema_common_security_rule_read is not None: + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type return - cls._schema_security_rule_read = _schema_security_rule_read = AAZObjectType() + cls._schema_common_security_rule_read = _schema_common_security_rule_read = AAZObjectType() - security_rule_read = _schema_security_rule_read - security_rule_read.etag = AAZStrType( + common_security_rule_read = _schema_common_security_rule_read + common_security_rule_read.etag = AAZStrType( flags={"read_only": True}, ) - security_rule_read.id = AAZStrType() - security_rule_read.name = AAZStrType() - security_rule_read.properties = AAZObjectType( + common_security_rule_read.id = AAZStrType() + common_security_rule_read.name = AAZStrType() + common_security_rule_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - security_rule_read.type = AAZStrType() + common_security_rule_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_security_rule_read.properties + properties = _schema_common_security_rule_read.properties properties.access = AAZStrType( flags={"required": True}, ) @@ -1817,75 +1831,77 @@ def _build_schema_security_rule_read(cls, _schema): serialized_name="sourcePortRanges", ) - destination_address_prefixes = _schema_security_rule_read.properties.destination_address_prefixes + destination_address_prefixes = _schema_common_security_rule_read.properties.destination_address_prefixes destination_address_prefixes.Element = AAZStrType() - destination_application_security_groups = _schema_security_rule_read.properties.destination_application_security_groups + destination_application_security_groups = _schema_common_security_rule_read.properties.destination_application_security_groups destination_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(destination_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(destination_application_security_groups.Element) - destination_port_ranges = _schema_security_rule_read.properties.destination_port_ranges + destination_port_ranges = _schema_common_security_rule_read.properties.destination_port_ranges destination_port_ranges.Element = AAZStrType() - source_address_prefixes = _schema_security_rule_read.properties.source_address_prefixes + source_address_prefixes = _schema_common_security_rule_read.properties.source_address_prefixes source_address_prefixes.Element = AAZStrType() - source_application_security_groups = _schema_security_rule_read.properties.source_application_security_groups + source_application_security_groups = _schema_common_security_rule_read.properties.source_application_security_groups source_application_security_groups.Element = AAZObjectType() - cls._build_schema_application_security_group_read(source_application_security_groups.Element) + cls._build_schema_common_application_security_group_read(source_application_security_groups.Element) - source_port_ranges = _schema_security_rule_read.properties.source_port_ranges + source_port_ranges = _schema_common_security_rule_read.properties.source_port_ranges source_port_ranges.Element = AAZStrType() - _schema.etag = cls._schema_security_rule_read.etag - _schema.id = cls._schema_security_rule_read.id - _schema.name = cls._schema_security_rule_read.name - _schema.properties = cls._schema_security_rule_read.properties - _schema.type = cls._schema_security_rule_read.type + _schema.etag = cls._schema_common_security_rule_read.etag + _schema.id = cls._schema_common_security_rule_read.id + _schema.name = cls._schema_common_security_rule_read.name + _schema.properties = cls._schema_common_security_rule_read.properties + _schema.type = cls._schema_common_security_rule_read.type - _schema_sub_resource_read = None + _schema_common_sub_resource_read = None @classmethod - def _build_schema_sub_resource_read(cls, _schema): - if cls._schema_sub_resource_read is not None: - _schema.id = cls._schema_sub_resource_read.id + def _build_schema_common_sub_resource_read(cls, _schema): + if cls._schema_common_sub_resource_read is not None: + _schema.id = cls._schema_common_sub_resource_read.id return - cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType( + cls._schema_common_sub_resource_read = _schema_common_sub_resource_read = AAZObjectType( flags={"read_only": True} ) - sub_resource_read = _schema_sub_resource_read - sub_resource_read.id = AAZStrType() + common_sub_resource_read = _schema_common_sub_resource_read + common_sub_resource_read.id = AAZStrType() - _schema.id = cls._schema_sub_resource_read.id + _schema.id = cls._schema_common_sub_resource_read.id - _schema_subnet_read = None + _schema_common_subnet_read = None @classmethod - def _build_schema_subnet_read(cls, _schema): - if cls._schema_subnet_read is not None: - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + def _build_schema_common_subnet_read(cls, _schema): + if cls._schema_common_subnet_read is not None: + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type return - cls._schema_subnet_read = _schema_subnet_read = AAZObjectType() + cls._schema_common_subnet_read = _schema_common_subnet_read = AAZObjectType() - subnet_read = _schema_subnet_read - subnet_read.etag = AAZStrType( + common_subnet_read = _schema_common_subnet_read + common_subnet_read.etag = AAZStrType( flags={"read_only": True}, ) - subnet_read.id = AAZStrType() - subnet_read.name = AAZStrType() - subnet_read.properties = AAZObjectType( + common_subnet_read.id = AAZStrType() + common_subnet_read.name = AAZStrType() + common_subnet_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - subnet_read.type = AAZStrType() + common_subnet_read.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties + properties = _schema_common_subnet_read.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -1916,11 +1932,11 @@ def _build_schema_subnet_read(cls, _schema): properties.nat_gateway = AAZObjectType( serialized_name="natGateway", ) - cls._build_schema_sub_resource_read(properties.nat_gateway) + cls._build_schema_common_sub_resource_read(properties.nat_gateway) properties.network_security_group = AAZObjectType( serialized_name="networkSecurityGroup", ) - cls._build_schema_network_security_group_read(properties.network_security_group) + cls._build_schema_common_network_security_group_read(properties.network_security_group) properties.private_endpoint_network_policies = AAZStrType( serialized_name="privateEndpointNetworkPolicies", ) @@ -1958,18 +1974,18 @@ def _build_schema_subnet_read(cls, _schema): properties.service_gateway = AAZObjectType( serialized_name="serviceGateway", ) - cls._build_schema_sub_resource_read(properties.service_gateway) + cls._build_schema_common_sub_resource_read(properties.service_gateway) properties.sharing_scope = AAZStrType( serialized_name="sharingScope", ) - address_prefixes = _schema_subnet_read.properties.address_prefixes + address_prefixes = _schema_common_subnet_read.properties.address_prefixes address_prefixes.Element = AAZStrType() - application_gateway_ip_configurations = _schema_subnet_read.properties.application_gateway_ip_configurations + application_gateway_ip_configurations = _schema_common_subnet_read.properties.application_gateway_ip_configurations application_gateway_ip_configurations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.application_gateway_ip_configurations.Element + _element = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -1982,18 +1998,18 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.application_gateway_ip_configurations.Element.properties + properties = _schema_common_subnet_read.properties.application_gateway_ip_configurations.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_sub_resource_read(properties.subnet) + cls._build_schema_common_sub_resource_read(properties.subnet) - delegations = _schema_subnet_read.properties.delegations + delegations = _schema_common_subnet_read.properties.delegations delegations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.delegations.Element + _element = _schema_common_subnet_read.properties.delegations.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2004,7 +2020,7 @@ def _build_schema_subnet_read(cls, _schema): ) _element.type = AAZStrType() - properties = _schema_subnet_read.properties.delegations.Element.properties + properties = _schema_common_subnet_read.properties.delegations.Element.properties properties.actions = AAZListType( flags={"read_only": True}, ) @@ -2016,17 +2032,17 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceName", ) - actions = _schema_subnet_read.properties.delegations.Element.properties.actions + actions = _schema_common_subnet_read.properties.delegations.Element.properties.actions actions.Element = AAZStrType() - ip_allocations = _schema_subnet_read.properties.ip_allocations + ip_allocations = _schema_common_subnet_read.properties.ip_allocations ip_allocations.Element = AAZObjectType() - cls._build_schema_sub_resource_read(ip_allocations.Element) + cls._build_schema_common_sub_resource_read(ip_allocations.Element) - ip_configuration_profiles = _schema_subnet_read.properties.ip_configuration_profiles + ip_configuration_profiles = _schema_common_subnet_read.properties.ip_configuration_profiles ip_configuration_profiles.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ip_configuration_profiles.Element + _element = _schema_common_subnet_read.properties.ip_configuration_profiles.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2039,22 +2055,22 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.ip_configuration_profiles.Element.properties + properties = _schema_common_subnet_read.properties.ip_configuration_profiles.Element.properties properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) properties.subnet = AAZObjectType() - cls._build_schema_subnet_read(properties.subnet) + cls._build_schema_common_subnet_read(properties.subnet) - ip_configurations = _schema_subnet_read.properties.ip_configurations + ip_configurations = _schema_common_subnet_read.properties.ip_configurations ip_configurations.Element = AAZObjectType() - cls._build_schema_ip_configuration_read(ip_configurations.Element) + cls._build_schema_common_ip_configuration_read(ip_configurations.Element) - ipam_pool_prefix_allocations = _schema_subnet_read.properties.ipam_pool_prefix_allocations + ipam_pool_prefix_allocations = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations ipam_pool_prefix_allocations.Element = AAZObjectType() - _element = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element + _element = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element _element.allocated_address_prefixes = AAZListType( serialized_name="allocatedAddressPrefixes", flags={"read_only": True}, @@ -2066,20 +2082,20 @@ def _build_schema_subnet_read(cls, _schema): flags={"client_flatten": True}, ) - allocated_address_prefixes = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes + allocated_address_prefixes = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.allocated_address_prefixes allocated_address_prefixes.Element = AAZStrType() - pool = _schema_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool + pool = _schema_common_subnet_read.properties.ipam_pool_prefix_allocations.Element.pool pool.id = AAZStrType() - private_endpoints = _schema_subnet_read.properties.private_endpoints + private_endpoints = _schema_common_subnet_read.properties.private_endpoints private_endpoints.Element = AAZObjectType() - cls._build_schema_private_endpoint_read(private_endpoints.Element) + cls._build_schema_common_private_endpoint_read(private_endpoints.Element) - resource_navigation_links = _schema_subnet_read.properties.resource_navigation_links + resource_navigation_links = _schema_common_subnet_read.properties.resource_navigation_links resource_navigation_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.resource_navigation_links.Element + _element = _schema_common_subnet_read.properties.resource_navigation_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2094,7 +2110,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.resource_navigation_links.Element.properties + properties = _schema_common_subnet_read.properties.resource_navigation_links.Element.properties properties.link = AAZStrType() properties.linked_resource_type = AAZStrType( serialized_name="linkedResourceType", @@ -2104,7 +2120,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - route_table = _schema_subnet_read.properties.route_table + route_table = _schema_common_subnet_read.properties.route_table route_table.etag = AAZStrType( flags={"read_only": True}, ) @@ -2121,10 +2137,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.route_table.properties + properties = _schema_common_subnet_read.properties.route_table.properties properties.disable_bgp_route_propagation = AAZBoolType( serialized_name="disableBgpRoutePropagation", ) + properties.disable_peering_route = AAZStrType( + serialized_name="disablePeeringRoute", + ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, @@ -2138,10 +2157,10 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - routes = _schema_subnet_read.properties.route_table.properties.routes + routes = _schema_common_subnet_read.properties.route_table.properties.routes routes.Element = AAZObjectType() - _element = _schema_subnet_read.properties.route_table.properties.routes.Element + _element = _schema_common_subnet_read.properties.route_table.properties.routes.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2150,9 +2169,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.route_table.properties.routes.Element.properties + properties = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties properties.address_prefix = AAZStrType( serialized_name="addressPrefix", ) @@ -2160,6 +2181,9 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="hasBgpOverride", flags={"read_only": True}, ) + properties.next_hop = AAZObjectType( + serialized_name="nextHop", + ) properties.next_hop_ip_address = AAZStrType( serialized_name="nextHopIpAddress", ) @@ -2172,17 +2196,26 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - subnets = _schema_subnet_read.properties.route_table.properties.subnets + next_hop = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop + next_hop.next_hop_ip_addresses = AAZListType( + serialized_name="nextHopIpAddresses", + flags={"required": True}, + ) + + next_hop_ip_addresses = _schema_common_subnet_read.properties.route_table.properties.routes.Element.properties.next_hop.next_hop_ip_addresses + next_hop_ip_addresses.Element = AAZStrType() + + subnets = _schema_common_subnet_read.properties.route_table.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.route_table.tags + tags = _schema_common_subnet_read.properties.route_table.tags tags.Element = AAZStrType() - service_association_links = _schema_subnet_read.properties.service_association_links + service_association_links = _schema_common_subnet_read.properties.service_association_links service_association_links.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_association_links.Element + _element = _schema_common_subnet_read.properties.service_association_links.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2195,7 +2228,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_association_links.Element.properties + properties = _schema_common_subnet_read.properties.service_association_links.Element.properties properties.allow_delete = AAZBoolType( serialized_name="allowDelete", ) @@ -2209,13 +2242,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - locations = _schema_subnet_read.properties.service_association_links.Element.properties.locations + locations = _schema_common_subnet_read.properties.service_association_links.Element.properties.locations locations.Element = AAZStrType() - service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies + service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies service_endpoint_policies.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2235,7 +2268,7 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties properties.contextual_service_endpoint_policies = AAZListType( serialized_name="contextualServiceEndpointPolicies", ) @@ -2257,13 +2290,13 @@ def _build_schema_subnet_read(cls, _schema): flags={"read_only": True}, ) - contextual_service_endpoint_policies = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies + contextual_service_endpoint_policies = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.contextual_service_endpoint_policies contextual_service_endpoint_policies.Element = AAZStrType() - service_endpoint_policy_definitions = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions + service_endpoint_policy_definitions = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions service_endpoint_policy_definitions.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element + _element = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element _element.etag = AAZStrType( flags={"read_only": True}, ) @@ -2272,9 +2305,11 @@ def _build_schema_subnet_read(cls, _schema): _element.properties = AAZObjectType( flags={"client_flatten": True}, ) - _element.type = AAZStrType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) - properties = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties + properties = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties properties.description = AAZStrType() properties.provisioning_state = AAZStrType( serialized_name="provisioningState", @@ -2285,82 +2320,82 @@ def _build_schema_subnet_read(cls, _schema): serialized_name="serviceResources", ) - service_resources = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources + service_resources = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.service_endpoint_policy_definitions.Element.properties.service_resources service_resources.Element = AAZStrType() - subnets = _schema_subnet_read.properties.service_endpoint_policies.Element.properties.subnets + subnets = _schema_common_subnet_read.properties.service_endpoint_policies.Element.properties.subnets subnets.Element = AAZObjectType() - cls._build_schema_subnet_read(subnets.Element) + cls._build_schema_common_subnet_read(subnets.Element) - tags = _schema_subnet_read.properties.service_endpoint_policies.Element.tags + tags = _schema_common_subnet_read.properties.service_endpoint_policies.Element.tags tags.Element = AAZStrType() - service_endpoints = _schema_subnet_read.properties.service_endpoints + service_endpoints = _schema_common_subnet_read.properties.service_endpoints service_endpoints.Element = AAZObjectType() - _element = _schema_subnet_read.properties.service_endpoints.Element + _element = _schema_common_subnet_read.properties.service_endpoints.Element _element.locations = AAZListType() _element.network_identifier = AAZObjectType( serialized_name="networkIdentifier", ) - cls._build_schema_sub_resource_read(_element.network_identifier) + cls._build_schema_common_sub_resource_read(_element.network_identifier) _element.provisioning_state = AAZStrType( serialized_name="provisioningState", flags={"read_only": True}, ) _element.service = AAZStrType() - locations = _schema_subnet_read.properties.service_endpoints.Element.locations + locations = _schema_common_subnet_read.properties.service_endpoints.Element.locations locations.Element = AAZStrType() - _schema.etag = cls._schema_subnet_read.etag - _schema.id = cls._schema_subnet_read.id - _schema.name = cls._schema_subnet_read.name - _schema.properties = cls._schema_subnet_read.properties - _schema.type = cls._schema_subnet_read.type + _schema.etag = cls._schema_common_subnet_read.etag + _schema.id = cls._schema_common_subnet_read.id + _schema.name = cls._schema_common_subnet_read.name + _schema.properties = cls._schema_common_subnet_read.properties + _schema.type = cls._schema_common_subnet_read.type - _schema_virtual_network_tap_read = None + _schema_common_virtual_network_tap_read = None @classmethod - def _build_schema_virtual_network_tap_read(cls, _schema): - if cls._schema_virtual_network_tap_read is not None: - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + def _build_schema_common_virtual_network_tap_read(cls, _schema): + if cls._schema_common_virtual_network_tap_read is not None: + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type return - cls._schema_virtual_network_tap_read = _schema_virtual_network_tap_read = AAZObjectType() + cls._schema_common_virtual_network_tap_read = _schema_common_virtual_network_tap_read = AAZObjectType() - virtual_network_tap_read = _schema_virtual_network_tap_read - virtual_network_tap_read.etag = AAZStrType( + common_virtual_network_tap_read = _schema_common_virtual_network_tap_read + common_virtual_network_tap_read.etag = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.id = AAZStrType() - virtual_network_tap_read.location = AAZStrType() - virtual_network_tap_read.name = AAZStrType( + common_virtual_network_tap_read.id = AAZStrType() + common_virtual_network_tap_read.location = AAZStrType() + common_virtual_network_tap_read.name = AAZStrType( flags={"read_only": True}, ) - virtual_network_tap_read.properties = AAZObjectType( + common_virtual_network_tap_read.properties = AAZObjectType( flags={"client_flatten": True}, ) - virtual_network_tap_read.tags = AAZDictType() - virtual_network_tap_read.type = AAZStrType( + common_virtual_network_tap_read.tags = AAZDictType() + common_virtual_network_tap_read.type = AAZStrType( flags={"read_only": True}, ) - properties = _schema_virtual_network_tap_read.properties + properties = _schema_common_virtual_network_tap_read.properties properties.destination_load_balancer_front_end_ip_configuration = AAZObjectType( serialized_name="destinationLoadBalancerFrontEndIPConfiguration", ) - cls._build_schema_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) + cls._build_schema_common_frontend_ip_configuration_read(properties.destination_load_balancer_front_end_ip_configuration) properties.destination_network_interface_ip_configuration = AAZObjectType( serialized_name="destinationNetworkInterfaceIPConfiguration", ) - cls._build_schema_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) + cls._build_schema_common_network_interface_ip_configuration_read(properties.destination_network_interface_ip_configuration) properties.destination_port = AAZIntType( serialized_name="destinationPort", ) @@ -2377,20 +2412,20 @@ def _build_schema_virtual_network_tap_read(cls, _schema): flags={"read_only": True}, ) - network_interface_tap_configurations = _schema_virtual_network_tap_read.properties.network_interface_tap_configurations + network_interface_tap_configurations = _schema_common_virtual_network_tap_read.properties.network_interface_tap_configurations network_interface_tap_configurations.Element = AAZObjectType() - cls._build_schema_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) + cls._build_schema_common_network_interface_tap_configuration_read(network_interface_tap_configurations.Element) - tags = _schema_virtual_network_tap_read.tags + tags = _schema_common_virtual_network_tap_read.tags tags.Element = AAZStrType() - _schema.etag = cls._schema_virtual_network_tap_read.etag - _schema.id = cls._schema_virtual_network_tap_read.id - _schema.location = cls._schema_virtual_network_tap_read.location - _schema.name = cls._schema_virtual_network_tap_read.name - _schema.properties = cls._schema_virtual_network_tap_read.properties - _schema.tags = cls._schema_virtual_network_tap_read.tags - _schema.type = cls._schema_virtual_network_tap_read.type + _schema.etag = cls._schema_common_virtual_network_tap_read.etag + _schema.id = cls._schema_common_virtual_network_tap_read.id + _schema.location = cls._schema_common_virtual_network_tap_read.location + _schema.name = cls._schema_common_virtual_network_tap_read.name + _schema.properties = cls._schema_common_virtual_network_tap_read.properties + _schema.tags = cls._schema_common_virtual_network_tap_read.tags + _schema.type = cls._schema_common_virtual_network_tap_read.type __all__ = ["Wait"] diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_abs_privatendpoint_with_default.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_abs_privatendpoint_with_default.yaml index d1a679fd886..f10eca4e87c 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_abs_privatendpoint_with_default.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_abs_privatendpoint_with_default.yaml @@ -634,7 +634,7 @@ interactions: - AZURECLI/2.39.0 (PIP) azsdk-python-azure-mgmt-network/21.0.1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_abs_private_endpoint000001/providers/Microsoft.Network/privateEndpoints/bot_pename000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_abs_private_endpoint000001/providers/Microsoft.Network/privateEndpoints/bot_pename000005?api-version=2025-07-01 response: body: string: "{\r\n \"name\": \"bot_pename000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_abs_private_endpoint000001/providers/Microsoft.Network/privateEndpoints/bot_pename000005\",\r\n @@ -808,7 +808,7 @@ interactions: - AZURECLI/2.39.0 (PIP) azsdk-python-azure-mgmt-network/21.0.1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_abs_private_endpoint000001/providers/Microsoft.Network/privateEndpoints/bot_pename000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_abs_private_endpoint000001/providers/Microsoft.Network/privateEndpoints/bot_pename000005?api-version=2025-07-01 response: body: string: "{\r\n \"name\": \"bot_pename000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_abs_private_endpoint000001/providers/Microsoft.Network/privateEndpoints/bot_pename000005\",\r\n @@ -934,7 +934,7 @@ interactions: - AZURECLI/2.39.0 (PIP) azsdk-python-azure-mgmt-network/21.0.1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_abs_private_endpoint000001/providers/Microsoft.Network/privateEndpoints/bot_penametoo000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_abs_private_endpoint000001/providers/Microsoft.Network/privateEndpoints/bot_penametoo000007?api-version=2025-07-01 response: body: string: "{\r\n \"name\": \"bot_penametoo000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_abs_private_endpoint000001/providers/Microsoft.Network/privateEndpoints/bot_penametoo000007\",\r\n @@ -1107,7 +1107,7 @@ interactions: - AZURECLI/2.39.0 (PIP) azsdk-python-azure-mgmt-network/21.0.1 Python/3.8.10 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_abs_private_endpoint000001/providers/Microsoft.Network/privateEndpoints/bot_penametoo000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_abs_private_endpoint000001/providers/Microsoft.Network/privateEndpoints/bot_penametoo000007?api-version=2025-07-01 response: body: string: "{\r\n \"name\": \"bot_penametoo000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_abs_private_endpoint000001/providers/Microsoft.Network/privateEndpoints/bot_penametoo000007\",\r\n diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_appgw_private_endpoint_with_default.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_appgw_private_endpoint_with_default.yaml index 0888d088191..a7c553bde4f 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_appgw_private_endpoint_with_default.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_appgw_private_endpoint_with_default.yaml @@ -1681,7 +1681,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint?api-version=2025-07-01 response: body: string: '{"name":"appgw_private_endpoint","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint","etag":"W/\"65d1431a-1b55-4bf3-8e3e-c48c89a2c1e6\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"71323e9d-62d1-4c1b-b4f7-a2f412d2d895","privateLinkServiceConnections":[{"name":"appgw_private_endpoint_connection","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint/privateLinkServiceConnections/appgw_private_endpoint_connection","etag":"W/\"65d1431a-1b55-4bf3-8e3e-c48c89a2c1e6\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_default000001/providers/Microsoft.Network/applicationGateways/appgw","resolvedPrivateLinkServiceLocation":"westus","groupIds":["appGatewayFrontendIP"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1943,7 +1943,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint?api-version=2025-07-01 response: body: string: '{"name":"appgw_private_endpoint","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint","etag":"W/\"2f516037-a3cd-400f-8f10-e8301a5ba96d\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"71323e9d-62d1-4c1b-b4f7-a2f412d2d895","privateLinkServiceConnections":[{"name":"appgw_private_endpoint_connection","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint/privateLinkServiceConnections/appgw_private_endpoint_connection","etag":"W/\"2f516037-a3cd-400f-8f10-e8301a5ba96d\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_default000001/providers/Microsoft.Network/applicationGateways/appgw","resolvedPrivateLinkServiceLocation":"westus","groupIds":["appGatewayFrontendIP"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -2262,7 +2262,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_appgw_private_endpoint_with_overwrite_default.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_appgw_private_endpoint_with_overwrite_default.yaml index bc01ed9aa6b..dfafef74393 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_appgw_private_endpoint_with_overwrite_default.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_appgw_private_endpoint_with_overwrite_default.yaml @@ -1791,7 +1791,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_overwrite_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_overwrite_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint?api-version=2025-07-01 response: body: string: '{"name":"appgw_private_endpoint","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_overwrite_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint","etag":"W/\"894bd500-f899-430b-bbd2-44724a113a98\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"8535a3c7-a00d-46f7-9171-063ede3e8e60","privateLinkServiceConnections":[{"name":"appgw_private_endpoint_connection","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_overwrite_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint/privateLinkServiceConnections/appgw_private_endpoint_connection","etag":"W/\"894bd500-f899-430b-bbd2-44724a113a98\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_overwrite_default000001/providers/Microsoft.Network/applicationGateways/appgw","resolvedPrivateLinkServiceLocation":"westus","groupIds":["appGatewayFrontendIP"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -2053,7 +2053,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_overwrite_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_overwrite_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint?api-version=2025-07-01 response: body: string: '{"name":"appgw_private_endpoint","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_overwrite_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint","etag":"W/\"dd4967d9-f0d0-4f8c-9479-4c24a82b8d16\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"8535a3c7-a00d-46f7-9171-063ede3e8e60","privateLinkServiceConnections":[{"name":"appgw_private_endpoint_connection","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_overwrite_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint/privateLinkServiceConnections/appgw_private_endpoint_connection","etag":"W/\"dd4967d9-f0d0-4f8c-9479-4c24a82b8d16\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_overwrite_default000001/providers/Microsoft.Network/applicationGateways/appgw","resolvedPrivateLinkServiceLocation":"westus","groupIds":["appGatewayFrontendIP"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -2372,7 +2372,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_overwrite_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_private_endpoint_with_overwrite_default000001/providers/Microsoft.Network/privateEndpoints/appgw_private_endpoint?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_chsm_private_endpoint_connection.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_chsm_private_endpoint_connection.yaml index caaaf313513..461b93cfc1e 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_chsm_private_endpoint_connection.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_chsm_private_endpoint_connection.yaml @@ -689,7 +689,7 @@ interactions: User-Agent: - AZURECLI/2.88.0 azsdk-python-core/1.39.0 Python/3.13.14 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"dd99c490-8111-45a6-8601-485b84f82f9b\"","type":"Microsoft.Network/privateEndpoints","location":"ukwest","properties":{"provisioningState":"Updating","resourceGuid":"2673bbb1-2abc-4467-965b-115d7581d09a","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"dd99c490-8111-45a6-8601-485b84f82f9b\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/cli-test-chsm-pe-000002","groupIds":["cloudHsm"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -856,7 +856,7 @@ interactions: User-Agent: - AZURECLI/2.88.0 azsdk-python-core/1.39.0 Python/3.13.14 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"bb2c71d2-c9de-4148-a333-626d4215ffd7\"","type":"Microsoft.Network/privateEndpoints","location":"ukwest","properties":{"provisioningState":"Succeeded","resourceGuid":"2673bbb1-2abc-4467-965b-115d7581d09a","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"bb2c71d2-c9de-4148-a333-626d4215ffd7\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/cli-test-chsm-pe-000002","groupIds":["cloudHsm"],"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.987314fb-214c-458f-acb3-f9b3fd7c353d"}],"customDnsConfigs":[{"fqdn":"hsm1.cli-test-chsm-pe-000002-eubuf9a3gsfhdwdv.cloudhsm.azure.net","ipAddresses":["10.0.0.4"]},{"fqdn":"hsm2.cli-test-chsm-pe-000002-eubuf9a3gsfhdwdv.cloudhsm.azure.net","ipAddresses":["10.0.0.5"]},{"fqdn":"hsm3.cli-test-chsm-pe-000002-eubuf9a3gsfhdwdv.cloudhsm.azure.net","ipAddresses":["10.0.0.6"]}],"ipVersionType":"IPv4"}}' @@ -3434,7 +3434,7 @@ interactions: User-Agent: - AZURECLI/2.88.0 azsdk-python-core/1.39.0 Python/3.13.14 (Windows-11-10.0.26200-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_chsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_disk_access_private_endpoint.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_disk_access_private_endpoint.yaml index 1c083d0ee2e..14b69db2f21 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_disk_access_private_endpoint.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_disk_access_private_endpoint.yaml @@ -768,7 +768,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_disk_access_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/private_endpoint_name?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_disk_access_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/private_endpoint_name?api-version=2025-07-01 response: body: string: '{"name":"private_endpoint_name","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_disk_access_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/private_endpoint_name","etag":"W/\"36635014-1f32-4b55-ba4f-db38c48b37ad\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"c442a6cb-f5a7-4008-b9cc-80909428d890","privateLinkServiceConnections":[{"name":"private_connection_name","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_disk_access_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/private_endpoint_name/privateLinkServiceConnections/private_connection_name","etag":"W/\"36635014-1f32-4b55-ba4f-db38c48b37ad\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_disk_access_private_endpoint_000001/providers/Microsoft.Compute/diskAccesses/disk_access_name","groupIds":["disks"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -975,7 +975,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_disk_access_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/private_endpoint_name?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_disk_access_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/private_endpoint_name?api-version=2025-07-01 response: body: string: '{"name":"private_endpoint_name","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_disk_access_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/private_endpoint_name","etag":"W/\"21ec39b2-1d92-4168-8053-12a6cdd3b64d\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"c442a6cb-f5a7-4008-b9cc-80909428d890","privateLinkServiceConnections":[{"name":"private_connection_name","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_disk_access_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/private_endpoint_name/privateLinkServiceConnections/private_connection_name","etag":"W/\"21ec39b2-1d92-4168-8053-12a6cdd3b64d\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_disk_access_private_endpoint_000001/providers/Microsoft.Compute/diskAccesses/disk_access_name","groupIds":["disks"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_disk_access_private_endpoint_000001/providers/Microsoft.Network/virtualNetworks/private_endpoint_vnet/subnets/private_endpoint_subnet"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_disk_access_private_endpoint_000001/providers/Microsoft.Network/networkInterfaces/private_endpoint_name.nic.47186dcb-81ed-4a9a-9afb-51a1a01b268e"}],"customDnsConfigs":[{"fqdn":"md-impexp-2m3rfgplcg0x.z8.blob.storage.azure.net","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_hsm_private_endpoint_connection2.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_hsm_private_endpoint_connection2.yaml index 7b3739d1ae7..be88dfbe5f9 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_hsm_private_endpoint_connection2.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_hsm_private_endpoint_connection2.yaml @@ -402,7 +402,7 @@ interactions: User-Agent: - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"3f435304-7f91-45a8-b17d-fd33c48e9223\"","type":"Microsoft.Network/privateEndpoints","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"941fc4ef-2673-47c3-978c-a4ab8da19203","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"3f435304-7f91-45a8-b17d-fd33c48e9223\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.KeyVault/managedHSMs/cli-test-hsm-pe-000002","groupIds":["managedhsm"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -817,7 +817,7 @@ interactions: User-Agent: - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"1795c321-0663-4e17-a1a5-347a80f71076\"","type":"Microsoft.Network/privateEndpoints","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"941fc4ef-2673-47c3-978c-a4ab8da19203","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"1795c321-0663-4e17-a1a5-347a80f71076\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.KeyVault/managedHSMs/cli-test-hsm-pe-000002","groupIds":["managedhsm"],"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.6de67773-17f9-4880-9e15-6d4cc490435c"}],"customDnsConfigs":[{"fqdn":"cli-test-hsm-pe-000002.managedhsm.azure.net","ipAddresses":["10.0.0.4"]}]}}' @@ -1848,7 +1848,7 @@ interactions: User-Agent: - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26100-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hsm_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_mariadb_private_link_scenario.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_mariadb_private_link_scenario.yaml index 7deb1cc1a8e..07cbc9c2227 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_mariadb_private_link_scenario.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_mariadb_private_link_scenario.yaml @@ -1110,7 +1110,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"a06db369-7336-4667-96a2-0e91aaf8b402\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"6451c2c4-1d6f-401b-8fea-e5104aad1f40","privateLinkServiceConnections":[{"name":"cli-pec-000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008","etag":"W/\"a06db369-7336-4667-96a2-0e91aaf8b402\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","groupIds":["mariadbServer"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1313,7 +1313,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"73a7c845-dcb4-448e-8793-556acc395dec\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"6451c2c4-1d6f-401b-8fea-e5104aad1f40","privateLinkServiceConnections":[{"name":"cli-pec-000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008","etag":"W/\"73a7c845-dcb4-448e-8793-556acc395dec\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","groupIds":["mariadbServer"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.e3cf3d0e-af0a-4fd0-9fff-8d8336e66f38"}],"customDnsConfigs":[{"fqdn":"azuredbclitest000002.mariadb.database.azure.com","ipAddresses":["10.0.0.4"]}]}}' @@ -1723,7 +1723,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006","etag":"W/\"ca52a220-4d71-4059-917d-e05ae30d1514\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"dd1a80e7-44f3-4652-a61e-5fa495d2c484","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000009","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000009","etag":"W/\"ca52a220-4d71-4059-917d-e05ae30d1514\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","groupIds":["mariadbServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -1926,7 +1926,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006","etag":"W/\"eab1c09c-46d6-4479-9ab6-d8a8e49f494f\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"dd1a80e7-44f3-4652-a61e-5fa495d2c484","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000009","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000009","etag":"W/\"eab1c09c-46d6-4479-9ab6-d8a8e49f494f\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","groupIds":["mariadbServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000006.nic.1f6e7288-e772-45b7-a5f4-96059f9e6d31"}],"customDnsConfigs":[]}}' @@ -2434,7 +2434,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007","etag":"W/\"9d07be0b-17c9-4722-af78-70a54bcf9c15\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"61912c8c-1dc9-4232-ba7f-d6d38934e965","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000010","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/manualPrivateLinkServiceConnections/cli-pec-000010","etag":"W/\"9d07be0b-17c9-4722-af78-70a54bcf9c15\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","groupIds":["mariadbServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -2637,7 +2637,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007","etag":"W/\"f76443a8-ab5d-4ad8-ada5-36e245c86c97\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"61912c8c-1dc9-4232-ba7f-d6d38934e965","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000010","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/manualPrivateLinkServiceConnections/cli-pec-000010","etag":"W/\"f76443a8-ab5d-4ad8-ada5-36e245c86c97\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","groupIds":["mariadbServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000007.nic.1981aa9b-8efe-4d97-8a21-4e19d5579df2"}],"customDnsConfigs":[]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_mysql_private_link_scenario.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_mysql_private_link_scenario.yaml index 851c9bfee08..162ebc42888 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_mysql_private_link_scenario.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_mysql_private_link_scenario.yaml @@ -1156,7 +1156,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"081a5c0b-3b99-41df-ab3b-b5208a3649a2\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"8dbb841e-bef8-41f0-8da4-ec293758aa40","privateLinkServiceConnections":[{"name":"cli-pec-000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008","etag":"W/\"081a5c0b-3b99-41df-ab3b-b5208a3649a2\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","groupIds":["mysqlServer"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1359,7 +1359,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"0d06c500-eb23-45ed-ac51-5f56c4b56a1e\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"8dbb841e-bef8-41f0-8da4-ec293758aa40","privateLinkServiceConnections":[{"name":"cli-pec-000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008","etag":"W/\"0d06c500-eb23-45ed-ac51-5f56c4b56a1e\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","groupIds":["mysqlServer"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.57431845-986f-418e-8b22-965758808445"}],"customDnsConfigs":[{"fqdn":"azuredbclitest000002.mysql.database.azure.com","ipAddresses":["10.0.0.4"]}]}}' @@ -1769,7 +1769,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006","etag":"W/\"5bf92c9e-67dd-422b-8cef-b3b5b7b4d26b\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"a8d677f2-143d-4fc0-bbdb-988e43f87ec0","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000009","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000009","etag":"W/\"5bf92c9e-67dd-422b-8cef-b3b5b7b4d26b\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","groupIds":["mysqlServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -1972,7 +1972,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006","etag":"W/\"677ede91-fd73-4d5c-9315-0defaee9de47\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"a8d677f2-143d-4fc0-bbdb-988e43f87ec0","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000009","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000009","etag":"W/\"677ede91-fd73-4d5c-9315-0defaee9de47\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","groupIds":["mysqlServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000006.nic.15bc5673-e20b-46d9-acb7-6e05a10c065c"}],"customDnsConfigs":[]}}' @@ -2480,7 +2480,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007","etag":"W/\"57fb6695-c8cc-4d21-ab53-a4ea1e48f392\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"fa963336-5b0d-491a-b8b1-7baf47bd4978","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000010","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/manualPrivateLinkServiceConnections/cli-pec-000010","etag":"W/\"57fb6695-c8cc-4d21-ab53-a4ea1e48f392\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","groupIds":["mysqlServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -2683,7 +2683,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007","etag":"W/\"7cb563bc-2bf0-43e3-9168-481fde79504c\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"fa963336-5b0d-491a-b8b1-7baf47bd4978","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000010","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/manualPrivateLinkServiceConnections/cli-pec-000010","etag":"W/\"7cb563bc-2bf0-43e3-9168-481fde79504c\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","groupIds":["mysqlServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000007.nic.df0409fd-fd3d-428a-81cf-7f599f59d2bd"}],"customDnsConfigs":[]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_asg.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_asg.yaml index 52783ed9238..a3d99ec0610 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_asg.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_asg.yaml @@ -1007,7 +1007,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-07-01 response: body: string: '{"name":"pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005","etag":"W/\"07bbac14-9fa1-4608-8cf4-03fbae7a451a\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"bdd61b6a-6b71-4789-bdf4-e25881340b33","privateLinkServiceConnections":[{"name":"connection-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005/privateLinkServiceConnections/connection-000006","etag":"W/\"07bbac14-9fa1-4608-8cf4-03fbae7a451a\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/asg000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1218,7 +1218,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-07-01 response: body: string: '{"name":"pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005","etag":"W/\"e4691a6e-bce6-49c5-8fcc-21c55d093496\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"bdd61b6a-6b71-4789-bdf4-e25881340b33","privateLinkServiceConnections":[{"name":"connection-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005/privateLinkServiceConnections/connection-000006","etag":"W/\"e4691a6e-bce6-49c5-8fcc-21c55d093496\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/asg000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/virtualNetworks/vnet-000003/subnets/subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/networkInterfaces/pe-000005.nic.ecb9fdca-3f34-4db8-9a78-11ddb2888ad0"}],"applicationSecurityGroups":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/applicationSecurityGroups/asg1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/applicationSecurityGroups/asg2"}],"customDnsConfigs":[{"fqdn":"asg000002.blob.core.windows.net","ipAddresses":["10.0.0.4"]}],"ipVersionType":"IPv4"}}' @@ -1959,7 +1959,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-07-01 response: body: string: '' @@ -2169,7 +2169,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints?api-version=2025-07-01 response: body: string: '{"value":[]}' @@ -2272,7 +2272,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-07-01 response: body: string: '{"name":"pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005","etag":"W/\"f6a04924-3363-400f-8c07-b33df49a34eb\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"9c56c30b-9122-4159-84d6-a07724ac6dc7","privateLinkServiceConnections":[{"name":"connection-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005/privateLinkServiceConnections/connection-000006","etag":"W/\"f6a04924-3363-400f-8c07-b33df49a34eb\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/asg000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -2483,7 +2483,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-07-01 response: body: string: '{"name":"pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005","etag":"W/\"a542bab2-ec24-473d-8dc3-ea636b9e3445\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"9c56c30b-9122-4159-84d6-a07724ac6dc7","privateLinkServiceConnections":[{"name":"connection-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005/privateLinkServiceConnections/connection-000006","etag":"W/\"a542bab2-ec24-473d-8dc3-ea636b9e3445\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/asg000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/virtualNetworks/vnet-000003/subnets/subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/networkInterfaces/pe-000005.nic.7b4d0bfa-ee61-49c0-82e1-7fb82d36d52e"}],"applicationSecurityGroups":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/applicationSecurityGroups/asg1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/applicationSecurityGroups/asg2"}],"customDnsConfigs":[{"fqdn":"asg000002.blob.core.windows.net","ipAddresses":["10.0.0.4"]}],"ipVersionType":"IPv4"}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_edge_zone.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_edge_zone.yaml index e94ef12b58a..1971467bdac 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_edge_zone.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_edge_zone.yaml @@ -1495,7 +1495,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_edge_zone000001/providers/Microsoft.Network/privateEndpoints/pe?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_edge_zone000001/providers/Microsoft.Network/privateEndpoints/pe?api-version=2025-07-01 response: body: string: '{"name":"pe","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_edge_zone000001/providers/Microsoft.Network/privateEndpoints/pe","etag":"W/\"ec5c2cd5-fdeb-406e-80ec-1c865577cacb\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","extendedLocation":{"type":"EdgeZone","name":"microsoftdclabs1"},"properties":{"provisioningState":"Updating","resourceGuid":"bee092ed-c8a6-4f2d-965c-4fa9e74af82e","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_edge_zone000001/providers/Microsoft.Network/privateEndpoints/pe/privateLinkServiceConnections/cn","etag":"W/\"ec5c2cd5-fdeb-406e-80ec-1c865577cacb\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_edge_zone000001/providers/Microsoft.Network/privateLinkServices/pls","privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1747,7 +1747,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_edge_zone000001/providers/Microsoft.Network/privateEndpoints/pe?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_edge_zone000001/providers/Microsoft.Network/privateEndpoints/pe?api-version=2025-07-01 response: body: string: '{"name":"pe","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_edge_zone000001/providers/Microsoft.Network/privateEndpoints/pe","etag":"W/\"d96a4ff3-452f-4b62-bf57-efebe14f699f\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","extendedLocation":{"type":"EdgeZone","name":"microsoftdclabs1"},"properties":{"provisioningState":"Succeeded","resourceGuid":"bee092ed-c8a6-4f2d-965c-4fa9e74af82e","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_edge_zone000001/providers/Microsoft.Network/privateEndpoints/pe/privateLinkServiceConnections/cn","etag":"W/\"d96a4ff3-452f-4b62-bf57-efebe14f699f\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_edge_zone000001/providers/Microsoft.Network/privateLinkServices/pls","privateLinkServiceConnectionState":{"status":"Approved","description":"Auto diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_ip_config.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_ip_config.yaml index c30b131cb4d..014d293471b 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_ip_config.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_ip_config.yaml @@ -595,7 +595,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-07-01 response: body: string: '{"name":"pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005","etag":"W/\"0a123534-87c8-4011-9e9b-0af12c860af1\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"998d4466-c0fc-4f04-8a67-b6f509ee6290","privateLinkServiceConnections":[{"name":"connection-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005/privateLinkServiceConnections/connection-000006","etag":"W/\"0a123534-87c8-4011-9e9b-0af12c860af1\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/ipconfig000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -806,7 +806,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-07-01 response: body: string: '{"name":"pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005","etag":"W/\"5a89e802-3821-49f3-bc57-1a2e957734b5\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"998d4466-c0fc-4f04-8a67-b6f509ee6290","privateLinkServiceConnections":[{"name":"connection-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005/privateLinkServiceConnections/connection-000006","etag":"W/\"5a89e802-3821-49f3-bc57-1a2e957734b5\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/ipconfig000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/virtualNetworks/vnet-000003/subnets/subnet-000004"},"ipConfigurations":[{"name":"ipconfig1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005/ipConfigurations/ipconfig1","etag":"W/\"5a89e802-3821-49f3-bc57-1a2e957734b5\"","type":"Microsoft.Network/privateEndpoints/ipConfigurations","properties":{"provisioningState":"Succeeded","memberName":"blob","groupId":"blob","privateIPAddress":"10.0.0.4"}},{"name":"ipconfig2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005/ipConfigurations/ipconfig2","etag":"W/\"5a89e802-3821-49f3-bc57-1a2e957734b5\"","type":"Microsoft.Network/privateEndpoints/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.0.0.6"}}],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/networkInterfaces/pe-000005.nic.5946d7c7-a18f-4fde-ae81-d3e60e4ab242"}],"customDnsConfigs":[{"fqdn":"ipconfig000002.blob.core.windows.net","ipAddresses":["10.0.0.4"]}],"ipVersionType":"IPv4"}}' @@ -1549,7 +1549,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-07-01 response: body: string: '' @@ -1759,7 +1759,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints?api-version=2025-07-01 response: body: string: '{"value":[]}' @@ -1862,7 +1862,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-07-01 response: body: string: '{"name":"pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005","etag":"W/\"0dad3cc3-2ac2-434a-adf8-c0706c1f0244\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"e9c9f0d2-ad79-4e9e-901b-bcbd53d62b32","privateLinkServiceConnections":[{"name":"connection-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005/privateLinkServiceConnections/connection-000006","etag":"W/\"0dad3cc3-2ac2-434a-adf8-c0706c1f0244\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/ipconfig000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -2073,7 +2073,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005?api-version=2025-07-01 response: body: string: '{"name":"pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005","etag":"W/\"636952d6-62f7-47d9-853d-bd3d1444c036\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"e9c9f0d2-ad79-4e9e-901b-bcbd53d62b32","privateLinkServiceConnections":[{"name":"connection-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005/privateLinkServiceConnections/connection-000006","etag":"W/\"636952d6-62f7-47d9-853d-bd3d1444c036\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/ipconfig000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/virtualNetworks/vnet-000003/subnets/subnet-000004"},"ipConfigurations":[{"name":"ipconfig1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005/ipConfigurations/ipconfig1","etag":"W/\"636952d6-62f7-47d9-853d-bd3d1444c036\"","type":"Microsoft.Network/privateEndpoints/ipConfigurations","properties":{"provisioningState":"Succeeded","memberName":"blob","groupId":"blob","privateIPAddress":"10.0.0.4"}},{"name":"ipconfig2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/pe-000005/ipConfigurations/ipconfig2","etag":"W/\"636952d6-62f7-47d9-853d-bd3d1444c036\"","type":"Microsoft.Network/privateEndpoints/ipConfigurations","properties":{"provisioningState":"Succeeded","privateIPAddress":"10.0.0.6"}}],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Network/networkInterfaces/pe-000005.nic.3c29bfe8-d145-4ff4-ad36-dc66b982cafc"}],"customDnsConfigs":[{"fqdn":"ipconfig000002.blob.core.windows.net","ipAddresses":["10.0.0.4"]}],"ipVersionType":"IPv4"}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_ip_version_type.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_ip_version_type.yaml index 3d3ea9f6007..4452c720ff0 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_ip_version_type.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_ip_version_type.yaml @@ -1139,7 +1139,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-07-01 response: body: string: '{"name":"peipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4","etag":"W/\"97c04fe4-85b1-4330-b972-49ae2f6138f7\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Updating","resourceGuid":"bc09370f-14eb-4328-a8e1-f75620333ca1","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4/privateLinkServiceConnections/cn","etag":"W/\"97c04fe4-85b1-4330-b972-49ae2f6138f7\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1350,7 +1350,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-07-01 response: body: string: '{"name":"peipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4","etag":"W/\"2661eeab-61d4-4bf5-b9af-834eeb13213d\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Succeeded","resourceGuid":"bc09370f-14eb-4328-a8e1-f75620333ca1","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4/privateLinkServiceConnections/cn","etag":"W/\"2661eeab-61d4-4bf5-b9af-834eeb13213d\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"nicv4","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/virtualNetworks/vnetipvt/subnets/subnetpe"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/networkInterfaces/nicv4"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["10.0.1.4"]}],"ipVersionType":"IPv4"}}' @@ -1408,7 +1408,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv6?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv6?api-version=2025-07-01 response: body: string: '{"name":"peipv6","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv6","etag":"W/\"be4c6254-b591-4194-8bc2-6925897af33f\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Updating","resourceGuid":"799b4871-2f27-4043-b6d8-377ebb30bf5a","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv6/privateLinkServiceConnections/cn","etag":"W/\"be4c6254-b591-4194-8bc2-6925897af33f\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1619,7 +1619,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv6?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv6?api-version=2025-07-01 response: body: string: '{"name":"peipv6","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv6","etag":"W/\"729bc21b-8987-47fa-a50e-0b5d213fdffc\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Succeeded","resourceGuid":"799b4871-2f27-4043-b6d8-377ebb30bf5a","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv6/privateLinkServiceConnections/cn","etag":"W/\"729bc21b-8987-47fa-a50e-0b5d213fdffc\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"nicv6","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/virtualNetworks/vnetipvt/subnets/subnetpe"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/networkInterfaces/nicv6"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["fd00:db8:0:1::4"]}],"ipVersionType":"IPv6"}}' @@ -1677,7 +1677,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peds?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peds?api-version=2025-07-01 response: body: string: '{"name":"peds","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peds","etag":"W/\"7bfd9ac4-bd57-4503-aa03-315ce0445627\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Updating","resourceGuid":"1c7dc02f-3948-4e84-8d50-c7940e845f71","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peds/privateLinkServiceConnections/cn","etag":"W/\"7bfd9ac4-bd57-4503-aa03-315ce0445627\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1888,7 +1888,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peds?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peds?api-version=2025-07-01 response: body: string: '{"name":"peds","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peds","etag":"W/\"d4d68abf-f258-44a7-9144-d1ccd50317d4\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Succeeded","resourceGuid":"1c7dc02f-3948-4e84-8d50-c7940e845f71","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peds/privateLinkServiceConnections/cn","etag":"W/\"d4d68abf-f258-44a7-9144-d1ccd50317d4\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"nicds","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/virtualNetworks/vnetipvt/subnets/subnetpe"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/networkInterfaces/nicds"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["10.0.1.5","fd00:db8:0:1::5"]}],"ipVersionType":"DualStack"}}' @@ -1938,7 +1938,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-07-01 response: body: string: '{"name":"peipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4","etag":"W/\"2661eeab-61d4-4bf5-b9af-834eeb13213d\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Succeeded","resourceGuid":"bc09370f-14eb-4328-a8e1-f75620333ca1","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4/privateLinkServiceConnections/cn","etag":"W/\"2661eeab-61d4-4bf5-b9af-834eeb13213d\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"nicv4","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/virtualNetworks/vnetipvt/subnets/subnetpe"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/networkInterfaces/nicv4"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["10.0.1.4"]}],"ipVersionType":"IPv4"}}' @@ -2000,7 +2000,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-07-01 response: body: string: '{"name":"peipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4","etag":"W/\"0532468a-e772-4057-ae10-f54f665389f5\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Updating","resourceGuid":"bc09370f-14eb-4328-a8e1-f75620333ca1","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4/privateLinkServiceConnections/cn","etag":"W/\"0532468a-e772-4057-ae10-f54f665389f5\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -2207,7 +2207,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-07-01 response: body: string: '{"name":"peipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4","etag":"W/\"0a399d97-7065-4ab3-94c7-5fe185f4f3d0\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Succeeded","resourceGuid":"bc09370f-14eb-4328-a8e1-f75620333ca1","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4/privateLinkServiceConnections/cn","etag":"W/\"0a399d97-7065-4ab3-94c7-5fe185f4f3d0\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"nicv4","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/virtualNetworks/vnetipvt/subnets/subnetpe"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/networkInterfaces/nicv4"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["10.0.1.4","fd00:db8:0:1::6"]}],"ipVersionType":"DualStack"}}' @@ -2257,7 +2257,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-07-01 response: body: string: '{"name":"peipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4","etag":"W/\"0a399d97-7065-4ab3-94c7-5fe185f4f3d0\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Succeeded","resourceGuid":"bc09370f-14eb-4328-a8e1-f75620333ca1","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4/privateLinkServiceConnections/cn","etag":"W/\"0a399d97-7065-4ab3-94c7-5fe185f4f3d0\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"nicv4","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/virtualNetworks/vnetipvt/subnets/subnetpe"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/networkInterfaces/nicv4"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["10.0.1.4","fd00:db8:0:1::6"]}],"ipVersionType":"DualStack"}}' @@ -2319,7 +2319,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4?api-version=2025-07-01 response: body: string: '{"error":{"code":"PrivateEndpointIPVersionTypeTransitionInvalid","message":"PE @@ -2373,7 +2373,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints?api-version=2025-07-01 response: body: string: '{"value":[{"name":"peds","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peds","etag":"W/\"d4d68abf-f258-44a7-9144-d1ccd50317d4\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Succeeded","resourceGuid":"1c7dc02f-3948-4e84-8d50-c7940e845f71","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peds/privateLinkServiceConnections/cn","etag":"W/\"d4d68abf-f258-44a7-9144-d1ccd50317d4\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"nicds","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/virtualNetworks/vnetipvt/subnets/subnetpe"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/networkInterfaces/nicds"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["10.0.1.5","fd00:db8:0:1::5"]}],"ipVersionType":"DualStack"}},{"name":"peipv4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4","etag":"W/\"0a399d97-7065-4ab3-94c7-5fe185f4f3d0\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Succeeded","resourceGuid":"bc09370f-14eb-4328-a8e1-f75620333ca1","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv4/privateLinkServiceConnections/cn","etag":"W/\"0a399d97-7065-4ab3-94c7-5fe185f4f3d0\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"nicv4","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/virtualNetworks/vnetipvt/subnets/subnetpe"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/networkInterfaces/nicv4"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["10.0.1.4","fd00:db8:0:1::6"]}],"ipVersionType":"DualStack"}},{"name":"peipv6","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv6","etag":"W/\"729bc21b-8987-47fa-a50e-0b5d213fdffc\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Succeeded","resourceGuid":"799b4871-2f27-4043-b6d8-377ebb30bf5a","privateLinkServiceConnections":[{"name":"cn","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/privateEndpoints/peipv6/privateLinkServiceConnections/cn","etag":"W/\"729bc21b-8987-47fa-a50e-0b5d213fdffc\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"nicv6","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/virtualNetworks/vnetipvt/subnets/subnetpe"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_network_private_endpoint_ip_version_type000001/providers/Microsoft.Network/networkInterfaces/nicv6"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["fd00:db8:0:1::4"]}],"ipVersionType":"IPv6"}}]}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml index 7b077decc97..0318ae317f5 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml @@ -544,7 +544,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"5114a48e-7a1c-4109-a677-ad9515d6a560\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Updating","resourceGuid":"e6c2763e-8139-46ad-bc51-0846b306421d","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"5114a48e-7a1c-4109-a677-ad9515d6a560\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -755,7 +755,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"cc7052ea-59dc-4443-86ce-29b61ddfa56a\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Succeeded","resourceGuid":"e6c2763e-8139-46ad-bc51-0846b306421d","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"cc7052ea-59dc-4443-86ce-29b61ddfa56a\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.c0425db7-39a5-4ff1-af36-f673d2388cd9"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["10.0.0.4"]}],"ipVersionType":"IPv4"}}' @@ -899,7 +899,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"cc7052ea-59dc-4443-86ce-29b61ddfa56a\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Succeeded","resourceGuid":"e6c2763e-8139-46ad-bc51-0846b306421d","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"cc7052ea-59dc-4443-86ce-29b61ddfa56a\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.c0425db7-39a5-4ff1-af36-f673d2388cd9"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["10.0.0.4"]}],"ipVersionType":"IPv4"}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoints.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoints.yaml index 5e0b93ef7bf..2f99853c9ec 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoints.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoints.yaml @@ -1347,7 +1347,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1?api-version=2025-07-01 response: body: string: '{"name":"pe1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1","etag":"W/\"cbfd2cb5-ff07-41df-a3e4-c3eae33ae2b5\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Updating","resourceGuid":"bd098867-2da6-45d9-8518-56d6b3c7912c","privateLinkServiceConnections":[{"name":"tttt","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1/privateLinkServiceConnections/tttt","etag":"W/\"cbfd2cb5-ff07-41df-a3e4-c3eae33ae2b5\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateLinkServices/lks1","privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1609,7 +1609,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1?api-version=2025-07-01 response: body: string: '{"name":"pe1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1","etag":"W/\"8d075807-ffb6-4189-9ee5-1936bd075854\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Succeeded","resourceGuid":"bd098867-2da6-45d9-8518-56d6b3c7912c","privateLinkServiceConnections":[{"name":"tttt","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1/privateLinkServiceConnections/tttt","etag":"W/\"8d075807-ffb6-4189-9ee5-1936bd075854\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateLinkServices/lks1","privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1658,7 +1658,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/privateEndpoints?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/privateEndpoints?api-version=2025-07-01 response: body: string: '{"value":[{"name":"pe-adoz5pfx3uzwpjspkhk27","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_mwzvgtk4lt6mhxscaulwa4kyess7eycquuaohfv2n/providers/Microsoft.Network/privateEndpoints/pe-adoz5pfx3uzwpjspkhk27","etag":"W/\"9b3c971c-a14b-4500-947d-645682201edc\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"bdd61b6a-6b71-4789-bdf4-e25881340b33","privateLinkServiceConnections":[{"name":"connection-k3t7srvpiy44k","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_mwzvgtk4lt6mhxscaulwa4kyess7eycquuaohfv2n/providers/Microsoft.Network/privateEndpoints/pe-adoz5pfx3uzwpjspkhk27/privateLinkServiceConnections/connection-k3t7srvpiy44k","etag":"W/\"9b3c971c-a14b-4500-947d-645682201edc\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_mwzvgtk4lt6mhxscaulwa4kyess7eycquuaohfv2n/providers/Microsoft.Storage/storageAccounts/asg222cokl64xkzwymmcn5lf","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_mwzvgtk4lt6mhxscaulwa4kyess7eycquuaohfv2n/providers/Microsoft.Network/virtualNetworks/vnet-i4ktdd7rwo2u55n6ntb/subnets/subnet-fiwpcvgffboie7jsi"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_mwzvgtk4lt6mhxscaulwa4kyess7eycquuaohfv2n/providers/Microsoft.Network/networkInterfaces/pe-adoz5pfx3uzwpjspkhk27.nic.ecb9fdca-3f34-4db8-9a78-11ddb2888ad0"}],"applicationSecurityGroups":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_mwzvgtk4lt6mhxscaulwa4kyess7eycquuaohfv2n/providers/Microsoft.Network/applicationSecurityGroups/asg1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_mwzvgtk4lt6mhxscaulwa4kyess7eycquuaohfv2n/providers/Microsoft.Network/applicationSecurityGroups/asg2"}],"customDnsConfigs":[{"fqdn":"asg222cokl64xkzwymmcn5lf.blob.core.windows.net","ipAddresses":["10.0.0.4"]}],"ipVersionType":"IPv4"}},{"name":"pe-f2nilc5yjfjkpd52cjh3g","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_t37hksz4aii55ybk6dhnb4hs2ud5pnoemwusuufyf/providers/Microsoft.Network/privateEndpoints/pe-f2nilc5yjfjkpd52cjh3g","etag":"W/\"be4580cf-ea32-41b5-8589-2ea7d46b4f2d\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"998d4466-c0fc-4f04-8a67-b6f509ee6290","privateLinkServiceConnections":[{"name":"connection-lknda42hmgjox","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_t37hksz4aii55ybk6dhnb4hs2ud5pnoemwusuufyf/providers/Microsoft.Network/privateEndpoints/pe-f2nilc5yjfjkpd52cjh3g/privateLinkServiceConnections/connection-lknda42hmgjox","etag":"W/\"be4580cf-ea32-41b5-8589-2ea7d46b4f2d\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_t37hksz4aii55ybk6dhnb4hs2ud5pnoemwusuufyf/providers/Microsoft.Storage/storageAccounts/ipconfigyeukypmvo6i43o2m","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_t37hksz4aii55ybk6dhnb4hs2ud5pnoemwusuufyf/providers/Microsoft.Network/virtualNetworks/vnet-qt3mqbprcbgflgzc7jg/subnets/subnet-axqtah34fmq4vt7gr"},"ipConfigurations":[{"name":"ipconfig1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_t37hksz4aii55ybk6dhnb4hs2ud5pnoemwusuufyf/providers/Microsoft.Network/privateEndpoints/pe-f2nilc5yjfjkpd52cjh3g/ipConfigurations/ipconfig1","etag":"W/\"be4580cf-ea32-41b5-8589-2ea7d46b4f2d\"","type":"Microsoft.Network/privateEndpoints/ipConfigurations","properties":{"provisioningState":"Succeeded","memberName":"blob","groupId":"blob","privateIPAddress":"10.0.0.4"}},{"name":"ipconfig2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_t37hksz4aii55ybk6dhnb4hs2ud5pnoemwusuufyf/providers/Microsoft.Network/privateEndpoints/pe-f2nilc5yjfjkpd52cjh3g/ipConfigurations/ipconfig2","etag":"W/\"be4580cf-ea32-41b5-8589-2ea7d46b4f2d\"","type":"Microsoft.Network/privateEndpoints/ipConfigurations","properties":{"provisioningState":"Succeeded","memberName":"blob2","groupId":"blob","privateIPAddress":"10.0.0.6"}}],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_t37hksz4aii55ybk6dhnb4hs2ud5pnoemwusuufyf/providers/Microsoft.Network/networkInterfaces/pe-f2nilc5yjfjkpd52cjh3g.nic.5946d7c7-a18f-4fde-ae81-d3e60e4ab242"}],"customDnsConfigs":[{"fqdn":"ipconfigyeukypmvo6i43o2m.blob.core.windows.net","ipAddresses":["10.0.0.4"]}],"ipVersionType":"IPv4"}},{"name":"pe1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1","etag":"W/\"8d075807-ffb6-4189-9ee5-1936bd075854\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Succeeded","resourceGuid":"bd098867-2da6-45d9-8518-56d6b3c7912c","privateLinkServiceConnections":[{"name":"tttt","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1/privateLinkServiceConnections/tttt","etag":"W/\"8d075807-ffb6-4189-9ee5-1936bd075854\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateLinkServices/lks1","privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1709,7 +1709,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints?api-version=2025-07-01 response: body: string: '{"value":[{"name":"pe1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1","etag":"W/\"8d075807-ffb6-4189-9ee5-1936bd075854\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Succeeded","resourceGuid":"bd098867-2da6-45d9-8518-56d6b3c7912c","privateLinkServiceConnections":[{"name":"tttt","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1/privateLinkServiceConnections/tttt","etag":"W/\"8d075807-ffb6-4189-9ee5-1936bd075854\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateLinkServices/lks1","privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1929,7 +1929,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1?api-version=2025-07-01 response: body: string: '{"name":"pe1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1","etag":"W/\"4ff5314a-1dbb-4f98-ab7d-34960ee353ff\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Succeeded","resourceGuid":"bd098867-2da6-45d9-8518-56d6b3c7912c","privateLinkServiceConnections":[{"name":"tttt","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1/privateLinkServiceConnections/tttt","etag":"W/\"4ff5314a-1dbb-4f98-ab7d-34960ee353ff\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateLinkServices/lks1","privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto @@ -2244,7 +2244,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/pe1?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_acfr.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_acfr.yaml index 69aa1a10a50..62db86a36f6 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_acfr.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_acfr.yaml @@ -2224,7 +2224,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acfr_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acfr_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name": "cli-pe-000005", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acfr_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005", @@ -2497,7 +2497,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acfr_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acfr_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name": "cli-pe-000005", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acfr_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005", @@ -2560,7 +2560,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acfr_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acfr_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name": "cli-pe-000005", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acfr_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005", @@ -2623,7 +2623,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acfr_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acfr_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name": "cli-pe-000005", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acfr_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005", diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_acr.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_acr.yaml index a9ad5b50c31..a9b0379a739 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_acr.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_acr.yaml @@ -748,7 +748,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005?api-version=2025-07-01 response: body: string: '{"name":"priv_endpoint000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005","etag":"W/\"6789a980-117b-4bf5-90e7-9454a27e00fc\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Updating","resourceGuid":"1885062d-b88a-436f-9777-c3e4d2ff31b9","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"priv_endpointconn000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005/manualPrivateLinkServiceConnections/priv_endpointconn000006","etag":"W/\"6789a980-117b-4bf5-90e7-9454a27e00fc\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/testreg000002","groupIds":["registry"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -959,7 +959,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005?api-version=2025-07-01 response: body: string: '{"name":"priv_endpoint000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005","etag":"W/\"abb19e0d-4c72-4efc-8577-06f96dcc832f\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Succeeded","resourceGuid":"1885062d-b88a-436f-9777-c3e4d2ff31b9","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"priv_endpointconn000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000005/manualPrivateLinkServiceConnections/priv_endpointconn000006","etag":"W/\"abb19e0d-4c72-4efc-8577-06f96dcc832f\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/testreg000002","groupIds":["registry"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000003/subnets/testsubnet000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000005.nic.60bb890d-7289-4e3c-910c-65302aca19a0"}],"customDnsConfigs":[],"ipVersionType":"IPv4"}}' @@ -1293,7 +1293,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007?api-version=2025-07-01 response: body: string: '{"name":"priv_endpoint000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007","etag":"W/\"bfa8f244-5dfc-43eb-8f41-faf4cadd1721\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Updating","resourceGuid":"9bf9893f-7565-4a2b-930d-d21d0c8a7a6c","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"priv_endpointconn000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007/manualPrivateLinkServiceConnections/priv_endpointconn000008","etag":"W/\"bfa8f244-5dfc-43eb-8f41-faf4cadd1721\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/testreg000002","groupIds":["registry"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -1504,7 +1504,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007?api-version=2025-07-01 response: body: string: '{"name":"priv_endpoint000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007","etag":"W/\"75ba1164-5b7f-44bd-9cee-408dfbf6f3ad\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Succeeded","resourceGuid":"9bf9893f-7565-4a2b-930d-d21d0c8a7a6c","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"priv_endpointconn000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000007/manualPrivateLinkServiceConnections/priv_endpointconn000008","etag":"W/\"75ba1164-5b7f-44bd-9cee-408dfbf6f3ad\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/testreg000002","groupIds":["registry"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000003/subnets/testsubnet000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000007.nic.2079c907-6bc4-494d-96f6-eb43792a7b4e"}],"customDnsConfigs":[],"ipVersionType":"IPv4"}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_apim.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_apim.yaml index 8953744babd..d588d4022ee 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_apim.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_apim.yaml @@ -3978,7 +3978,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint000005?api-version=2025-07-01 response: body: string: '{"name":"apim-privatelink-endpoint000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint000005","etag":"W/\"de193a21-5388-4b21-b0a8-8863c792128e\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Updating","resourceGuid":"5dcc1fef-e12e-445b-8206-2420da3fdca3","privateLinkServiceConnections":[{"name":"apim-privatelink-endpointconn000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint000005/privateLinkServiceConnections/apim-privatelink-endpointconn000006","etag":"W/\"de193a21-5388-4b21-b0a8-8863c792128e\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.ApiManagement/service/apim-privatelink-service000002","groupIds":["Gateway"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -4444,7 +4444,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint000005?api-version=2025-07-01 response: body: string: '{"name":"apim-privatelink-endpoint000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint000005","etag":"W/\"4607e972-430e-41cc-9d23-dfc5cf673e48\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Succeeded","resourceGuid":"5dcc1fef-e12e-445b-8206-2420da3fdca3","privateLinkServiceConnections":[{"name":"apim-privatelink-endpointconn000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint000005/privateLinkServiceConnections/apim-privatelink-endpointconn000006","etag":"W/\"4607e972-430e-41cc-9d23-dfc5cf673e48\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.ApiManagement/service/apim-privatelink-service000002","groupIds":["Gateway"],"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/virtualNetworks/apim-privatelink-vnet000003/subnets/apim-privatelink-subnet000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/networkInterfaces/apim-privatelink-endpoint000005.nic.a073636d-07f6-4c7a-a0c7-62a98ec5edeb"}],"customDnsConfigs":[{"fqdn":"apim-privatelink-service000002.azure-api.net","ipAddresses":["10.0.0.4"]}]}}' @@ -5282,7 +5282,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint2000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint2000007?api-version=2025-07-01 response: body: string: '{"name":"apim-privatelink-endpoint2000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint2000007","etag":"W/\"82c84ad5-aa8b-4c87-b231-e4f2e8ac73ef\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Updating","resourceGuid":"d2d9f548-0b56-4217-86df-02b0f59d7c04","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"apim-privatelink-endpointconn2000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint2000007/manualPrivateLinkServiceConnections/apim-privatelink-endpointconn2000008","etag":"W/\"82c84ad5-aa8b-4c87-b231-e4f2e8ac73ef\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.ApiManagement/service/apim-privatelink-service000002","groupIds":["Gateway"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -5493,7 +5493,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint2000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint2000007?api-version=2025-07-01 response: body: string: '{"name":"apim-privatelink-endpoint2000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint2000007","etag":"W/\"fd35bcad-4149-42af-a148-1fb727c212bb\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Succeeded","resourceGuid":"d2d9f548-0b56-4217-86df-02b0f59d7c04","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"apim-privatelink-endpointconn2000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/apim-privatelink-endpoint2000007/manualPrivateLinkServiceConnections/apim-privatelink-endpointconn2000008","etag":"W/\"fd35bcad-4149-42af-a148-1fb727c212bb\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.ApiManagement/service/apim-privatelink-service000002","groupIds":["Gateway"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/virtualNetworks/apim-privatelink-vnet000003/subnets/apim-privatelink-subnet000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_api_management_private_endpoint_000001/providers/Microsoft.Network/networkInterfaces/apim-privatelink-endpoint2000007.nic.0e5843bc-aa19-4eaf-8e25-6b4f045d6938"}],"customDnsConfigs":[]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_app_configuration.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_app_configuration.yaml index d0d69321296..4e58fbc0ec3 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_app_configuration.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_app_configuration.yaml @@ -889,7 +889,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004","etag":"W/\"6a059e4d-9598-47d7-92ab-d0aa8157ce7b\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Updating","resourceGuid":"ce2e5f3a-d71e-4878-8b87-6840a4ac16b8","privateLinkServiceConnections":[{"name":"cli-pec-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005","etag":"W/\"6a059e4d-9598-47d7-92ab-d0aa8157ce7b\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/clitestappconfig","groupIds":["configurationStores"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1092,7 +1092,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004","etag":"W/\"943650cd-c668-4af7-8ca1-4f48494b6091\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Succeeded","resourceGuid":"ce2e5f3a-d71e-4878-8b87-6840a4ac16b8","privateLinkServiceConnections":[{"name":"cli-pec-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005","etag":"W/\"943650cd-c668-4af7-8ca1-4f48494b6091\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/clitestappconfig","groupIds":["configurationStores"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000004.nic.3a6c5074-ca9d-4260-ba6d-103608074b49"}],"customDnsConfigs":[{"fqdn":"clitestappconfig.azconfig.io","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_batch_account.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_batch_account.yaml index a3f09661d79..28c14472bf1 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_batch_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_batch_account.yaml @@ -801,7 +801,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_batch_account000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_batch_account000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_batch_account000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"0b5b6704-ad6a-4878-9693-a9d0e7a59092\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"81715ddd-95cb-4b25-9539-b4bad859f4e1","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_batch_account000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"0b5b6704-ad6a-4878-9693-a9d0e7a59092\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_batch_account000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000002","groupIds":["batchAccount"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1012,7 +1012,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_batch_account000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_batch_account000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_batch_account000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"178e44e9-2b07-4f29-a404-707fa6e0af07\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"81715ddd-95cb-4b25-9539-b4bad859f4e1","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_batch_account000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"178e44e9-2b07-4f29-a404-707fa6e0af07\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_batch_account000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000002","groupIds":["batchAccount"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_batch_account000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_batch_account000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.a27567cf-fe0c-4651-afa3-1eedca6d7ae5"}],"customDnsConfigs":[{"fqdn":"clibatchtestacct000002.eastus.batch.azure.com","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_cosmosdb.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_cosmosdb.yaml index 9b190f7a761..3f615c6cae1 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_cosmosdb.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_cosmosdb.yaml @@ -858,7 +858,7 @@ interactions: User-Agent: - AZURECLI/2.80.0 azsdk-python-core/1.35.0 Python/3.12.3 (Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"98174494-58c5-4cf5-a649-fb8d33e4763d\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"e9179de1-f7ad-47ce-8d0b-91ee8a63937b","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"98174494-58c5-4cf5-a649-fb8d33e4763d\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002","groupIds":["Sql"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1426,7 +1426,7 @@ interactions: User-Agent: - AZURECLI/2.80.0 azsdk-python-core/1.35.0 Python/3.12.3 (Linux-6.6.87.2-microsoft-standard-WSL2-x86_64-with-glibc2.39) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"5da48053-4ccd-467c-b08b-65171543df3c\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"e9179de1-f7ad-47ce-8d0b-91ee8a63937b","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"5da48053-4ccd-467c-b08b-65171543df3c\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002","groupIds":["Sql"],"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.ce79fd45-f88c-42be-84a9-233fdaf5ca47"}],"customDnsConfigs":[{"fqdn":"cli-test-cosmosdb-pe-000002.documents.azure.com","ipAddresses":["10.0.0.4"]},{"fqdn":"cli-test-cosmosdb-pe-000002-westus.documents.azure.com","ipAddresses":["10.0.0.5"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_cosmosdb_mongo_clusters.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_cosmosdb_mongo_clusters.yaml index 8b4ce08292b..91739794d55 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_cosmosdb_mongo_clusters.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_cosmosdb_mongo_clusters.yaml @@ -863,7 +863,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongo_cl000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongo_cl000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongo_cl000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"179ba8e7-62a5-4419-97a1-aff797331402\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"37337585-97a4-4925-9470-c28cb5914805","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongo_cl000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/manualPrivateLinkServiceConnections/cli-pec-000006","etag":"W/\"179ba8e7-62a5-4419-97a1-aff797331402\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongo_cl000001/providers/Microsoft.DocumentDB/mongoClusters/cli000002","groupIds":["MongoCluster"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -1125,7 +1125,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongo_cl000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongo_cl000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongo_cl000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"a99ec39a-c78d-4146-8ffe-3a19e4fdd636\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"37337585-97a4-4925-9470-c28cb5914805","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongo_cl000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/manualPrivateLinkServiceConnections/cli-pec-000006","etag":"W/\"a99ec39a-c78d-4146-8ffe-3a19e4fdd636\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongo_cl000001/providers/Microsoft.DocumentDB/mongoClusters/cli000002","groupIds":["MongoCluster"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongo_cl000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongo_cl000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.d83784dc-62ae-4064-8a36-7c62bcaadab0"}],"customDnsConfigs":[]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_cosmosdb_postgres.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_cosmosdb_postgres.yaml index 2426600b77f..8b627c15cab 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_cosmosdb_postgres.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_cosmosdb_postgres.yaml @@ -1749,7 +1749,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"55dfcd67-323a-4545-b671-be3dc91e2a1d\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"15fe6848-8b41-42ef-955c-af1f1075336d","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/manualPrivateLinkServiceConnections/cli-pec-000006","etag":"W/\"55dfcd67-323a-4545-b671-be3dc91e2a1d\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pg000001/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/cli000002","groupIds":["coordinator"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -2011,7 +2011,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"7ed6e9f7-c918-4f43-b4b2-f38df648f0a2\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"15fe6848-8b41-42ef-955c-af1f1075336d","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/manualPrivateLinkServiceConnections/cli-pec-000006","etag":"W/\"7ed6e9f7-c918-4f43-b4b2-f38df648f0a2\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pg000001/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/cli000002","groupIds":["coordinator"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.453e943f-5374-4f47-94a2-0fcc19f8398f"}],"customDnsConfigs":[]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_digitaltwins.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_digitaltwins.yaml index ab1fc1ff403..a75c097a7a4 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_digitaltwins.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_digitaltwins.yaml @@ -997,7 +997,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_digital_twin_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_digital_twin_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_digital_twin_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006","etag":"W/\"9e5945cc-9179-4423-9a1b-3c20edaf2dce\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"ef5efbf2-0cfe-4e43-9832-142a25270b87","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_digital_twin_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000007","etag":"W/\"9e5945cc-9179-4423-9a1b-3c20edaf2dce\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_digital_twin_private_endpoint_000001/providers/Microsoft.DigitalTwins/digitalTwinsInstances/cli-test-dt-000002","groupIds":["API"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -1208,7 +1208,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_digital_twin_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_digital_twin_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_digital_twin_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006","etag":"W/\"16eb9e51-311c-43c8-b3f8-e9f305084488\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"ef5efbf2-0cfe-4e43-9832-142a25270b87","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_digital_twin_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000007","etag":"W/\"16eb9e51-311c-43c8-b3f8-e9f305084488\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_digital_twin_private_endpoint_000001/providers/Microsoft.DigitalTwins/digitalTwinsInstances/cli-test-dt-000002","groupIds":["API"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_digital_twin_private_endpoint_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000004/subnets/cli-subnet-000005"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_digital_twin_private_endpoint_000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000006.nic.230f0175-6384-45ee-8624-7da30f327361"}],"customDnsConfigs":[]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_disk_access.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_disk_access.yaml index aa985a0b73b..aa1c6c81494 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_disk_access.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_disk_access.yaml @@ -858,7 +858,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004","etag":"W/\"f611ea0c-c879-49ea-8bbb-f6bdd692eacc\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"445cf41f-2e64-4ddc-91df-02ebf1a603c1","privateLinkServiceConnections":[{"name":"cli-pec-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005","etag":"W/\"f611ea0c-c879-49ea-8bbb-f6bdd692eacc\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006","groupIds":["disks"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1069,7 +1069,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004","etag":"W/\"5add6bba-e4e1-4c52-970b-c62a048f4810\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"445cf41f-2e64-4ddc-91df-02ebf1a603c1","privateLinkServiceConnections":[{"name":"cli-pec-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005","etag":"W/\"5add6bba-e4e1-4c52-970b-c62a048f4810\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006","groupIds":["disks"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000004.nic.b3fac749-9896-41ac-836a-297a1c005804"}],"customDnsConfigs":[{"fqdn":"md-impexp-ptjj02sm4qxd.z50.blob.storage.azure.net","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_durable_task_scheduler.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_durable_task_scheduler.yaml index 207731b33cd..9d6b3a33c17 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_durable_task_scheduler.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_durable_task_scheduler.yaml @@ -1287,7 +1287,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '{"name":"cli000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005","etag":"W/\"953608bd-250c-4858-a9a4-5c744e264cb6\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Updating","resourceGuid":"9cfc7b2a-aa86-4991-b0cb-f000db18d8c5","privateLinkServiceConnections":[{"name":"cli000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005/privateLinkServiceConnections/cli000006","etag":"W/\"953608bd-250c-4858-a9a4-5c744e264cb6\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000001/providers/Microsoft.DurableTask/schedulers/cli000007","groupIds":["scheduler"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1600,7 +1600,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '{"name":"cli000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005","etag":"W/\"edf078f4-ddd7-4cd7-b3cd-9870f5cb0225\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Succeeded","resourceGuid":"9cfc7b2a-aa86-4991-b0cb-f000db18d8c5","privateLinkServiceConnections":[{"name":"cli000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005/privateLinkServiceConnections/cli000006","etag":"W/\"edf078f4-ddd7-4cd7-b3cd-9870f5cb0225\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000001/providers/Microsoft.DurableTask/schedulers/cli000007","groupIds":["scheduler"],"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":""}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000002/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000002/providers/Microsoft.Network/networkInterfaces/cli000005.nic.fbcf88aa-b06d-4241-8d80-3d0e434dc5ce"}],"customDnsConfigs":[{"fqdn":"cliomr77fh4pzrw-bbg2gua3.centraluseuap.durabletask.io","ipAddresses":["10.0.0.4"]}]}}' @@ -2542,7 +2542,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_durable_task_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_domain.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_domain.yaml index f81916dc3de..fce0d1aaba3 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_domain.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_domain.yaml @@ -815,7 +815,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '{"name":"cli000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005","etag":"W/\"70045c30-3393-4ca0-884b-50660fb8345a\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Updating","resourceGuid":"8e8ff4b6-b892-42d9-9732-7f559cf5ccd8","privateLinkServiceConnections":[{"name":"cli000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005/privateLinkServiceConnections/cli000006","etag":"W/\"70045c30-3393-4ca0-884b-50660fb8345a\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000001/providers/Microsoft.EventGrid/domains/cli000007","groupIds":["domain"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1026,7 +1026,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '{"name":"cli000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005","etag":"W/\"f5cd0172-8806-4760-b53f-2e8b0364f98a\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Succeeded","resourceGuid":"8e8ff4b6-b892-42d9-9732-7f559cf5ccd8","privateLinkServiceConnections":[{"name":"cli000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005/privateLinkServiceConnections/cli000006","etag":"W/\"f5cd0172-8806-4760-b53f-2e8b0364f98a\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000001/providers/Microsoft.EventGrid/domains/cli000007","groupIds":["domain"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/networkInterfaces/cli000005.nic.9c5afb6b-b7f3-434b-b69c-f8a48e06f095"}],"customDnsConfigs":[{"fqdn":"cli000007.centraluseuap-1.eventgrid.azure.net","ipAddresses":["10.0.0.4"]}]}}' @@ -1591,7 +1591,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_namespaces.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_namespaces.yaml index b5b707c1aae..5c530f82158 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_namespaces.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_namespaces.yaml @@ -1135,7 +1135,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '{"name":"cli000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005","etag":"W/\"67856518-447a-4a65-a602-ac11484e0f2a\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Updating","resourceGuid":"2e482980-da86-473b-baae-a483fccac064","privateLinkServiceConnections":[{"name":"cli000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005/privateLinkServiceConnections/cli000006","etag":"W/\"67856518-447a-4a65-a602-ac11484e0f2a\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000001/providers/Microsoft.EventGrid/namespaces/cli000007","groupIds":["topic"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1346,7 +1346,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '{"name":"cli000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005","etag":"W/\"df01b641-c699-4652-bc8d-bc40ab715865\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Succeeded","resourceGuid":"2e482980-da86-473b-baae-a483fccac064","privateLinkServiceConnections":[{"name":"cli000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005/privateLinkServiceConnections/cli000006","etag":"W/\"df01b641-c699-4652-bc8d-bc40ab715865\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000001/providers/Microsoft.EventGrid/namespaces/cli000007","groupIds":["topic"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/networkInterfaces/cli000005.nic.8dc1be23-ac59-4859-8488-59393f8c708a"}],"customDnsConfigs":[{"fqdn":"cli000007.centraluseuap-1.eventgrid.azure.net","ipAddresses":["10.0.0.4"]}]}}' @@ -2029,7 +2029,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_partner_namespaces.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_partner_namespaces.yaml index 5b3711e77c9..0c27f9fd47e 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_partner_namespaces.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_partner_namespaces.yaml @@ -794,7 +794,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '{"name":"cli000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005","etag":"W/\"244494c7-34d7-45ab-bb05-c928a81d2732\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Updating","resourceGuid":"c0afb5b3-ab0c-40fb-b8cf-9fed39af7d47","privateLinkServiceConnections":[{"name":"cli000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005/privateLinkServiceConnections/cli000006","etag":"W/\"244494c7-34d7-45ab-bb05-c928a81d2732\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000001/providers/Microsoft.EventGrid/partnerNamespaces/cli000008","groupIds":["partnerNamespace"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -997,7 +997,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '{"name":"cli000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005","etag":"W/\"747ee66c-cc51-4fd4-8d94-b532cf1f256e\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Succeeded","resourceGuid":"c0afb5b3-ab0c-40fb-b8cf-9fed39af7d47","privateLinkServiceConnections":[{"name":"cli000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005/privateLinkServiceConnections/cli000006","etag":"W/\"747ee66c-cc51-4fd4-8d94-b532cf1f256e\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000001/providers/Microsoft.EventGrid/partnerNamespaces/cli000008","groupIds":["partnerNamespace"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/networkInterfaces/cli000005.nic.c15fcbcc-5733-4677-ab96-48859ccd7f1b"}],"customDnsConfigs":[{"fqdn":"cli000008.centraluseuap-1.eventgrid.azure.net","ipAddresses":["10.0.0.4"]}]}}' @@ -1544,7 +1544,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_topic.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_topic.yaml index 9d30603f946..d47f14c9f95 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_topic.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_event_grid_topic.yaml @@ -742,7 +742,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '{"name":"cli000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005","etag":"W/\"fa711b2a-b3b3-4685-92e1-3fb58bf1f264\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Updating","resourceGuid":"3a7724d6-b2fb-43e1-a789-46495591d88a","privateLinkServiceConnections":[{"name":"cli000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005/privateLinkServiceConnections/cli000006","etag":"W/\"fa711b2a-b3b3-4685-92e1-3fb58bf1f264\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000001/providers/Microsoft.EventGrid/topics/cli000007","groupIds":["topic"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -945,7 +945,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '{"name":"cli000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005","etag":"W/\"1c727810-1954-45d3-aed5-7881d2db33cb\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Succeeded","resourceGuid":"3a7724d6-b2fb-43e1-a789-46495591d88a","privateLinkServiceConnections":[{"name":"cli000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005/privateLinkServiceConnections/cli000006","etag":"W/\"1c727810-1954-45d3-aed5-7881d2db33cb\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000001/providers/Microsoft.EventGrid/topics/cli000007","groupIds":["topic"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/networkInterfaces/cli000005.nic.5fd349a4-8c9a-4397-a2fb-9d2d026540d9"}],"customDnsConfigs":[{"fqdn":"cli000007.centraluseuap-1.eventgrid.azure.net","ipAddresses":["10.0.0.4"]}]}}' @@ -1492,7 +1492,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.12.6 (Windows-11-10.0.22631-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_event_grid_pec000002/providers/Microsoft.Network/privateEndpoints/cli000005?api-version=2025-07-01 response: body: string: '' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_eventhub.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_eventhub.yaml index 9873f19553b..fdb823c3979 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_eventhub.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_eventhub.yaml @@ -907,7 +907,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004","etag":"W/\"a09918ba-f12a-49b1-a16f-25408e187fdc\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"f071c6a4-ff2d-4537-a807-fb7be1571124","privateLinkServiceConnections":[{"name":"cli-pec-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005","etag":"W/\"a09918ba-f12a-49b1-a16f-25408e187fdc\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006","groupIds":["namespace"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1169,7 +1169,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004","etag":"W/\"07b02b0d-b8d2-4d5b-b767-cf21e62facfb\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"f071c6a4-ff2d-4537-a807-fb7be1571124","privateLinkServiceConnections":[{"name":"cli-pec-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005","etag":"W/\"07b02b0d-b8d2-4d5b-b767-cf21e62facfb\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006","groupIds":["namespace"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000004.nic.e2fff2ed-a238-4f18-83ed-c552e9bb1b76"}],"customDnsConfigs":[{"fqdn":"cli-test-resource-000006.servicebus.windows.net","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_horizondb_cluster.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_horizondb_cluster.yaml index ad133b99cf5..bc2c4d1aee2 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_horizondb_cluster.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_horizondb_cluster.yaml @@ -1177,7 +1177,7 @@ interactions: User-Agent: - AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hdb000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hdb000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hdb000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"edf8d13b-da1f-44e1-92e0-b9c9c4806716\"","type":"Microsoft.Network/privateEndpoints","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"287fadd1-2d62-42c3-ae45-0370d0eec481","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hdb000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/manualPrivateLinkServiceConnections/cli-pec-000006","etag":"W/\"edf8d13b-da1f-44e1-92e0-b9c9c4806716\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hdb000001/providers/Microsoft.HorizonDB/clusters/clitest000002","groupIds":["DefaultPool"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -1397,7 +1397,7 @@ interactions: User-Agent: - AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hdb000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hdb000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hdb000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"ba7569f3-244e-4e91-872e-b112283f2634\"","type":"Microsoft.Network/privateEndpoints","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"287fadd1-2d62-42c3-ae45-0370d0eec481","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hdb000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/manualPrivateLinkServiceConnections/cli-pec-000006","etag":"W/\"ba7569f3-244e-4e91-872e-b112283f2634\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hdb000001/providers/Microsoft.HorizonDB/clusters/clitest000002","groupIds":["DefaultPool"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Pending","actionsRequired":""}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hdb000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_hdb000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.81f53206-03a8-416f-9bbd-b82e10546e65"}],"customDnsConfigs":[],"ipVersionType":"IPv4"}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_keyvault.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_keyvault.yaml index ce90af488b5..ebdbf46614e 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_keyvault.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_keyvault.yaml @@ -512,7 +512,7 @@ interactions: - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.13.7 (Linux-6.8.0-1034-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"d36d94c3-9923-451b-aaae-9e1d513983fd\"","type":"Microsoft.Network/privateEndpoints","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"225eff27-dbec-41ad-8fef-c8044dc7b0d6","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"d36d94c3-9923-451b-aaae-9e1d513983fd\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pe000001/providers/Microsoft.KeyVault/vaults/cli-test-kv-pe-000002","groupIds":["vault"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -779,7 +779,7 @@ interactions: - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.13.7 (Linux-6.8.0-1034-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"31f079ea-0429-4d44-87cc-bbc1c4b4d309\"","type":"Microsoft.Network/privateEndpoints","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"225eff27-dbec-41ad-8fef-c8044dc7b0d6","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"31f079ea-0429-4d44-87cc-bbc1c4b4d309\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pe000001/providers/Microsoft.KeyVault/vaults/cli-test-kv-pe-000002","groupIds":["vault"],"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_keyvault_pe000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.97a7f464-1884-4a00-8858-c70ff1f11611"}],"customDnsConfigs":[{"fqdn":"cli-test-kv-pe-000002.vault.azure.net","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_maps.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_maps.yaml index bf204d9e662..3455aa984e7 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_maps.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_maps.yaml @@ -648,7 +648,7 @@ interactions: User-Agent: - AZURECLI/2.80.0 azsdk-python-core/1.35.0 Python/3.13.7 (Linux-6.17.7-arch1-1-x86_64-with-glibc2.42) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint000005?api-version=2025-07-01 response: body: string: '{"name":"maps-privatelink-endpoint000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint000005","etag":"W/\"c2992013-5c8b-483e-8752-ff2ec4f02d3c\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Updating","resourceGuid":"234b595c-88f1-4d94-a3cb-547bce7555b9","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"maps-privatelink-endpointconn000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint000005/manualPrivateLinkServiceConnections/maps-privatelink-endpointconn000006","etag":"W/\"c2992013-5c8b-483e-8752-ff2ec4f02d3c\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Maps/accounts/maps-privatelink-account000002","groupIds":["mapsAccount"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -910,7 +910,7 @@ interactions: User-Agent: - AZURECLI/2.80.0 azsdk-python-core/1.35.0 Python/3.13.7 (Linux-6.17.7-arch1-1-x86_64-with-glibc2.42) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint000005?api-version=2025-07-01 response: body: string: '{"name":"maps-privatelink-endpoint000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint000005","etag":"W/\"43201c56-f38e-4412-ac50-1a234927a4a6\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Succeeded","resourceGuid":"234b595c-88f1-4d94-a3cb-547bce7555b9","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"maps-privatelink-endpointconn000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint000005/manualPrivateLinkServiceConnections/maps-privatelink-endpointconn000006","etag":"W/\"43201c56-f38e-4412-ac50-1a234927a4a6\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Maps/accounts/maps-privatelink-account000002","groupIds":["mapsAccount"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":""}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/virtualNetworks/maps-privatelink-vnet000003/subnets/maps-privatelink-subnet000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/networkInterfaces/maps-privatelink-endpoint000005.nic.1cbf47e5-9db7-4d8b-ad44-6a79c526473e"}],"customDnsConfigs":[{"fqdn":"3bc5698f-6742-4192-9779-b49a7bc8ac5c.westus2.account.maps.azure.com","ipAddresses":["10.0.0.4"]}]}}' @@ -1455,7 +1455,7 @@ interactions: User-Agent: - AZURECLI/2.80.0 azsdk-python-core/1.35.0 Python/3.13.7 (Linux-6.17.7-arch1-1-x86_64-with-glibc2.42) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint2000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint2000007?api-version=2025-07-01 response: body: string: '{"name":"maps-privatelink-endpoint2000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint2000007","etag":"W/\"93215127-e16d-4c46-9266-9def0c0f2b92\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Updating","resourceGuid":"ce042580-b8f6-4aa5-bdce-ff9e1d24cdde","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"maps-privatelink-endpointconn2000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint2000007/manualPrivateLinkServiceConnections/maps-privatelink-endpointconn2000008","etag":"W/\"93215127-e16d-4c46-9266-9def0c0f2b92\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Maps/accounts/maps-privatelink-account000002","groupIds":["mapsAccount"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -1666,7 +1666,7 @@ interactions: User-Agent: - AZURECLI/2.80.0 azsdk-python-core/1.35.0 Python/3.13.7 (Linux-6.17.7-arch1-1-x86_64-with-glibc2.42) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint2000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint2000007?api-version=2025-07-01 response: body: string: '{"name":"maps-privatelink-endpoint2000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint2000007","etag":"W/\"55feb483-0743-4bd6-a4fd-beed18273941\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Succeeded","resourceGuid":"ce042580-b8f6-4aa5-bdce-ff9e1d24cdde","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"maps-privatelink-endpointconn2000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/privateEndpoints/maps-privatelink-endpoint2000007/manualPrivateLinkServiceConnections/maps-privatelink-endpointconn2000008","etag":"W/\"55feb483-0743-4bd6-a4fd-beed18273941\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Maps/accounts/maps-privatelink-account000002","groupIds":["mapsAccount"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":""}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/virtualNetworks/maps-privatelink-vnet000003/subnets/maps-privatelink-subnet000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_maps_private_endpoint_connection_000001/providers/Microsoft.Network/networkInterfaces/maps-privatelink-endpoint2000007.nic.91eecd28-9dc4-4dc5-9759-179296f7e57f"}],"customDnsConfigs":[{"fqdn":"3bc5698f-6742-4192-9779-b49a7bc8ac5c.westus2.account.maps.azure.com","ipAddresses":["10.0.0.5"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_media_service.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_media_service.yaml index 55415729334..3afdc097731 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_media_service.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_media_service.yaml @@ -728,7 +728,7 @@ interactions: User-Agent: - AZURECLI/2.55.0 (PIP) (AAZ) azsdk-python-core/1.26.0 Python/3.8.10 (Windows-10-10.0.19045-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_media_service000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_media_service000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-07-01 response: body: string: "{\r\n \"name\": \"cli-pe-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_media_service000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006\",\r\n @@ -948,7 +948,7 @@ interactions: User-Agent: - AZURECLI/2.55.0 (PIP) (AAZ) azsdk-python-core/1.26.0 Python/3.8.10 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_media_service000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_media_service000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-07-01 response: body: string: "{\r\n \"name\": \"cli-pe-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_media_service000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006\",\r\n diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_mysql_flexible_server.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_mysql_flexible_server.yaml index a3378d2bd35..15f68b2b9ef 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_mysql_flexible_server.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_mysql_flexible_server.yaml @@ -1482,7 +1482,7 @@ interactions: User-Agent: - AZURECLI/2.81.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/mysql-privatelink-endpoint000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/mysql-privatelink-endpoint000006?api-version=2025-07-01 response: body: string: '{"name":"mysql-privatelink-endpoint000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/mysql-privatelink-endpoint000006","etag":"W/\"f42a4ba5-cff1-4b9a-81d9-41141d740d22\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Updating","resourceGuid":"8d64d40f-2650-446b-819b-0eee42830f2e","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"mysql-privatelink-endpointconn000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/mysql-privatelink-endpoint000006/manualPrivateLinkServiceConnections/mysql-privatelink-endpointconn000007","etag":"W/\"f42a4ba5-cff1-4b9a-81d9-41141d740d22\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/flexibleServers/mysql-privatelink-server000002","groupIds":["mysqlServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -1846,7 +1846,7 @@ interactions: User-Agent: - AZURECLI/2.81.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/mysql-privatelink-endpoint000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/mysql-privatelink-endpoint000006?api-version=2025-07-01 response: body: string: '{"name":"mysql-privatelink-endpoint000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/mysql-privatelink-endpoint000006","etag":"W/\"50c99cd2-6201-483b-9b01-5403a918e585\"","type":"Microsoft.Network/privateEndpoints","location":"centraluseuap","properties":{"provisioningState":"Succeeded","resourceGuid":"8d64d40f-2650-446b-819b-0eee42830f2e","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"mysql-privatelink-endpointconn000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/mysql-privatelink-endpoint000006/manualPrivateLinkServiceConnections/mysql-privatelink-endpointconn000007","etag":"W/\"50c99cd2-6201-483b-9b01-5403a918e585\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/flexibleServers/mysql-privatelink-server000002","groupIds":["mysqlServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/mysql-privatelink-vnet000004/subnets/mysql-privatelink-subnet000005"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/mysql-privatelink-endpoint000006.nic.e45bef8f-13d9-474f-a75c-761c2f8e6745"}],"customDnsConfigs":[]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_postgres_flexible_server.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_postgres_flexible_server.yaml index 76402836f8c..cac52a16875 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_postgres_flexible_server.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_postgres_flexible_server.yaml @@ -746,7 +746,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_fspg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_fspg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_fspg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"87dcf445-083f-4dbf-aa57-8a2ba7fe03e3\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Updating","resourceGuid":"91274cf8-6194-4592-ab36-9f273dc7b96e","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_fspg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/manualPrivateLinkServiceConnections/cli-pec-000006","etag":"W/\"87dcf445-083f-4dbf-aa57-8a2ba7fe03e3\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_fspg000001/providers/Microsoft.DBforPostgreSQL/flexibleServers/clitest000002","groupIds":["postgresqlServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -957,7 +957,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_fspg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_fspg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_fspg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"6f8a6092-34f6-409b-8d63-571d4f4b4cfa\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Succeeded","resourceGuid":"91274cf8-6194-4592-ab36-9f273dc7b96e","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_fspg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/manualPrivateLinkServiceConnections/cli-pec-000006","etag":"W/\"6f8a6092-34f6-409b-8d63-571d4f4b4cfa\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_fspg000001/providers/Microsoft.DBforPostgreSQL/flexibleServers/clitest000002","groupIds":["postgresqlServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":""}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_fspg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_fspg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.abc5300d-3400-4de2-b227-5ba44db2b267"}],"customDnsConfigs":[]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_powerbi_ignoreReject.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_powerbi_ignoreReject.yaml index 173abd62daf..e07a3f61a84 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_powerbi_ignoreReject.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_powerbi_ignoreReject.yaml @@ -692,7 +692,7 @@ interactions: User-Agent: - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_powerbi000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_powerbi000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-07-01 response: body: string: "{\r\n \"name\": \"cli-pe-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_powerbi000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\",\r\n @@ -910,7 +910,7 @@ interactions: User-Agent: - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_powerbi000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_powerbi000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-07-01 response: body: string: "{\r\n \"name\": \"cli-pe-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_powerbi000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\",\r\n diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_resourcemanagementprivatelink.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_resourcemanagementprivatelink.yaml index e67e9e94955..efac219881e 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_resourcemanagementprivatelink.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_resourcemanagementprivatelink.yaml @@ -506,7 +506,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_rmpl_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_rmpl_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_rmpl_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"a459219c-a702-47c1-a09e-e9a8439c93a9\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"22d8846d-97fe-44f6-835c-679ac3a2130d","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_rmpl_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"a459219c-a702-47c1-a09e-e9a8439c93a9\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_rmpl_pe000001/providers/Microsoft.Authorization/resourceManagementPrivateLinks/cli-test-rmpl-pe-000002","groupIds":["ResourceManagement"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -717,7 +717,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_rmpl_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_rmpl_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_rmpl_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"10c2ead5-14b8-49a1-b19d-15f4ac69d6f3\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"22d8846d-97fe-44f6-835c-679ac3a2130d","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_rmpl_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"10c2ead5-14b8-49a1-b19d-15f4ac69d6f3\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_rmpl_pe000001/providers/Microsoft.Authorization/resourceManagementPrivateLinks/cli-test-rmpl-pe-000002","groupIds":["ResourceManagement"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_rmpl_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_rmpl_pe000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.81d3ed2e-bbd1-496e-bc01-8269dd78c0f0"}],"customDnsConfigs":[{"fqdn":"management.azure.com","ipAddresses":["10.0.0.4"]},{"fqdn":"edge.management.azure.com","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_search.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_search.yaml index 83778eeeef3..77325d389bf 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_search.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_search.yaml @@ -1299,7 +1299,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_search_service_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_search_service_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_search_service_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006","etag":"W/\"60828d95-2de0-46c9-8a0e-810725983688\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"5ee3ae19-e872-4847-b951-2e4f7ba8254a","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_search_service_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000007","etag":"W/\"60828d95-2de0-46c9-8a0e-810725983688\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_search_service_private_endpoint_000001/providers/Microsoft.Search/searchServices/cli-test-azs-000002","groupIds":["searchService"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -1510,7 +1510,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_search_service_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_search_service_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_search_service_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006","etag":"W/\"1d52694e-8596-4396-bea9-2279a54fb6b8\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"5ee3ae19-e872-4847-b951-2e4f7ba8254a","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_search_service_private_endpoint_000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000007","etag":"W/\"1d52694e-8596-4396-bea9-2279a54fb6b8\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_search_service_private_endpoint_000001/providers/Microsoft.Search/searchServices/cli-test-azs-000002","groupIds":["searchService"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_search_service_private_endpoint_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000004/subnets/cli-subnet-000005"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_search_service_private_endpoint_000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000006.nic.b6466aaf-cba6-4b3c-bf21-9d30e394704c"}],"customDnsConfigs":[]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_service_bus.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_service_bus.yaml index 47bdd90ba26..a36b35d1ae0 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_service_bus.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_service_bus.yaml @@ -967,7 +967,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_service_bus000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_service_bus000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_service_bus000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004","etag":"W/\"931e6b9e-e96d-4ac4-a87a-80ff421d7060\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"0b429970-2ce3-4b9c-8fd2-e438f59fa7b8","privateLinkServiceConnections":[{"name":"cli-pec-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_service_bus000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005","etag":"W/\"931e6b9e-e96d-4ac4-a87a-80ff421d7060\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_service_bus000001/providers/Microsoft.ServiceBus/namespaces/cli-test-resource-000006","groupIds":["namespace"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1229,7 +1229,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_service_bus000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_service_bus000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_service_bus000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004","etag":"W/\"3870531a-6b17-4d0f-bf56-7d5d5dca6960\"","type":"Microsoft.Network/privateEndpoints","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"0b429970-2ce3-4b9c-8fd2-e438f59fa7b8","privateLinkServiceConnections":[{"name":"cli-pec-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_service_bus000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005","etag":"W/\"3870531a-6b17-4d0f-bf56-7d5d5dca6960\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_service_bus000001/providers/Microsoft.ServiceBus/namespaces/cli-test-resource-000006","groupIds":["namespace"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_service_bus000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_service_bus000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000004.nic.4b564bce-e792-408b-be01-caff3842deb8"}],"customDnsConfigs":[{"fqdn":"cli-test-resource-000006.servicebus.windows.net","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_sql_server.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_sql_server.yaml index 6e1f4095129..4cf89febc13 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_sql_server.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_sql_server.yaml @@ -1079,7 +1079,7 @@ interactions: User-Agent: - AZURECLI/2.76.0 azsdk-python-core/1.35.0 Python/3.12.0 (Windows-2022Server-10.0.20348-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004","etag":"W/\"b340c053-3fff-4f24-9c65-efffdbbef68f\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Updating","resourceGuid":"e800b425-d4db-41cc-9d24-984f8331bd8e","privateLinkServiceConnections":[{"name":"cli-pec-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005","etag":"W/\"b340c053-3fff-4f24-9c65-efffdbbef68f\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006","groupIds":["sqlServer"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1341,7 +1341,7 @@ interactions: User-Agent: - AZURECLI/2.76.0 azsdk-python-core/1.35.0 Python/3.12.0 (Windows-2022Server-10.0.20348-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004","etag":"W/\"883848ce-4bf3-45ee-8b76-d3a092f32289\"","type":"Microsoft.Network/privateEndpoints","location":"westus2","properties":{"provisioningState":"Succeeded","resourceGuid":"e800b425-d4db-41cc-9d24-984f8331bd8e","privateLinkServiceConnections":[{"name":"cli-pec-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005","etag":"W/\"883848ce-4bf3-45ee-8b76-d3a092f32289\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006","groupIds":["sqlServer"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000004.nic.ccded7c2-4f3b-4a06-88b5-033f58142a98"}],"customDnsConfigs":[{"fqdn":"cli-test-resource-000006.database.windows.net","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_storage_account.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_storage_account.yaml index ed01709aa5f..0b5e8feb865 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_storage_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_storage_account.yaml @@ -558,7 +558,7 @@ interactions: - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.13.7 (Linux-6.8.0-1034-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"48a3880c-c2e3-4de5-961e-44edeca31c3c\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"884e5ff2-dea8-4643-a957-677dc77ac58a","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"48a3880c-c2e3-4de5-961e-44edeca31c3c\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -773,7 +773,7 @@ interactions: - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.13.7 (Linux-6.8.0-1034-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"587bf709-59ab-4607-b6ac-8f2797b48ac5\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"884e5ff2-dea8-4643-a957-677dc77ac58a","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"587bf709-59ab-4607-b6ac-8f2797b48ac5\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.30c63b7f-eb57-4172-8adb-310d3f105b31"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_synapse_workspace.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_synapse_workspace.yaml index a920130e3d2..10eec65e26a 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_synapse_workspace.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_synapse_workspace.yaml @@ -1222,7 +1222,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"ed6f35d4-f0f5-414e-aca9-f7ae9e244869\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"2e27499c-021b-46f6-acdb-6e62131dc157","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"ed6f35d4-f0f5-414e-aca9-f7ae9e244869\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007","groupIds":["Sql"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1484,7 +1484,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"c288cc0a-33b6-4720-8b10-96e33925f806\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"2e27499c-021b-46f6-acdb-6e62131dc157","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"c288cc0a-33b6-4720-8b10-96e33925f806\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007","groupIds":["Sql"],"privateLinkServiceConnectionState":{"status":"Approved","description":"","actionsRequired":""}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.d421b189-0d12-4b3a-942d-be099056bdea"}],"customDnsConfigs":[{"fqdn":"cli-test-resource-000007.sql.azuresynapse.net","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_webapp.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_webapp.yaml index 66dfc6fe899..2dc88bb39fd 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_webapp.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_webapp.yaml @@ -1364,7 +1364,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.14.2 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint000006?api-version=2025-07-01 response: body: string: '{"name":"webapp-privatelink-endpoint000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint000006","etag":"W/\"69179d0e-cfff-46da-ad0c-703f52afe8fd\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"721deb10-8b5e-4c23-b355-0d06bfda3aea","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"webapp-privatelink-endpointconn000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint000006/manualPrivateLinkServiceConnections/webapp-privatelink-endpointconn000007","etag":"W/\"69179d0e-cfff-46da-ad0c-703f52afe8fd\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-privatelink-webapp000002","groupIds":["sites"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -1575,7 +1575,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.14.2 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint000006?api-version=2025-07-01 response: body: string: '{"name":"webapp-privatelink-endpoint000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint000006","etag":"W/\"ae0a39f1-c97b-4792-ab52-3cb549f88155\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"721deb10-8b5e-4c23-b355-0d06bfda3aea","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"webapp-privatelink-endpointconn000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint000006/manualPrivateLinkServiceConnections/webapp-privatelink-endpointconn000007","etag":"W/\"ae0a39f1-c97b-4792-ab52-3cb549f88155\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-privatelink-webapp000002","groupIds":["sites"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/webapp-privatelink-vnet000004/subnets/webapp-privatelink-subnet000005"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/webapp-privatelink-endpoint000006.nic.d694414f-714e-41e6-90f7-edd6473eea74"}],"customDnsConfigs":[],"ipVersionType":"IPv4"}}' @@ -2070,7 +2070,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.14.2 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint2000008?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint2000008?api-version=2025-07-01 response: body: string: '{"name":"webapp-privatelink-endpoint2000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint2000008","etag":"W/\"3999d2f4-9a0b-4dd2-a443-0865154e066c\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"63945ba8-f4f3-4745-8485-5942c0672d2e","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"webapp-privatelink-endpointconn2000009","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint2000008/manualPrivateLinkServiceConnections/webapp-privatelink-endpointconn2000009","etag":"W/\"3999d2f4-9a0b-4dd2-a443-0865154e066c\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-privatelink-webapp000002","groupIds":["sites"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -2281,7 +2281,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.14.2 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint2000008?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint2000008?api-version=2025-07-01 response: body: string: '{"name":"webapp-privatelink-endpoint2000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint2000008","etag":"W/\"f22b6c51-2025-4ec5-9974-d040dc2df837\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"63945ba8-f4f3-4745-8485-5942c0672d2e","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"webapp-privatelink-endpointconn2000009","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/webapp-privatelink-endpoint2000008/manualPrivateLinkServiceConnections/webapp-privatelink-endpointconn2000009","etag":"W/\"f22b6c51-2025-4ec5-9974-d040dc2df837\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-privatelink-webapp000002","groupIds":["sites"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/webapp-privatelink-vnet000004/subnets/webapp-privatelink-subnet000005"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/webapp-privatelink-endpoint2000008.nic.a9ea8461-e8f6-425c-8e97-dd655a3e1784"}],"customDnsConfigs":[],"ipVersionType":"IPv4"}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_pls.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_pls.yaml index 1447aae86ce..20bd1f93572 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_pls.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_pls.yaml @@ -1481,7 +1481,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000008?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000008?api-version=2025-07-01 response: body: string: '{"name":"cli-test-endpoint-000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000008","etag":"W/\"6228b717-cf15-4461-a21c-08fe44c4f2e1\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Updating","resourceGuid":"3702ac0e-2b3e-4a4f-9a2d-c6255a795dad","privateLinkServiceConnections":[{"name":"cli-test-conn-000010","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000008/privateLinkServiceConnections/cli-test-conn-000010","etag":"W/\"6228b717-cf15-4461-a21c-08fe44c4f2e1\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateLinkServices/cli-test-pls-000007","privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1738,7 +1738,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000008?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000008?api-version=2025-07-01 response: body: string: '{"name":"cli-test-endpoint-000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000008","etag":"W/\"cb1e4306-72b9-4886-9ec4-f8cc00cbf8c6\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Succeeded","resourceGuid":"3702ac0e-2b3e-4a4f-9a2d-c6255a795dad","privateLinkServiceConnections":[{"name":"cli-test-conn-000010","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000008/privateLinkServiceConnections/cli-test-conn-000010","etag":"W/\"cb1e4306-72b9-4886-9ec4-f8cc00cbf8c6\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateLinkServices/cli-test-pls-000007","privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -2062,7 +2062,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000009?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000009?api-version=2025-07-01 response: body: string: '{"name":"cli-test-endpoint-000009","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000009","etag":"W/\"84ff8ba0-862c-4b0c-85be-5adfefc6df03\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Updating","resourceGuid":"9e60962d-49a5-403b-8cdf-0a8773b39a62","privateLinkServiceConnections":[{"name":"cli-test-conn-000011","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000009/privateLinkServiceConnections/cli-test-conn-000011","etag":"W/\"84ff8ba0-862c-4b0c-85be-5adfefc6df03\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateLinkServices/cli-test-pls-000007","privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -2319,7 +2319,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000009?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000009?api-version=2025-07-01 response: body: string: '{"name":"cli-test-endpoint-000009","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000009","etag":"W/\"db941a8f-cf41-4e2b-866d-e559555d0aeb\"","type":"Microsoft.Network/privateEndpoints","location":"centralus","properties":{"provisioningState":"Succeeded","resourceGuid":"9e60962d-49a5-403b-8cdf-0a8773b39a62","privateLinkServiceConnections":[{"name":"cli-test-conn-000011","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateEndpoints/cli-test-endpoint-000009/privateLinkServiceConnections/cli-test-conn-000011","etag":"W/\"db941a8f-cf41-4e2b-866d-e559555d0aeb\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_private_endpoint_pls000001/providers/Microsoft.Network/privateLinkServices/cli-test-pls-000007","privateLinkServiceConnectionState":{"status":"Approved","description":"Auto diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_hdinsight.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_hdinsight.yaml index 40423e02501..5cde9922db7 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_hdinsight.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_hdinsight.yaml @@ -572,7 +572,7 @@ interactions: User-Agent: - AZURECLI/2.28.1 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.2 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_hdi_private_link000001/providers/Microsoft.Network/privateEndpoints/hdi-privatelink-endpoint000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_hdi_private_link000001/providers/Microsoft.Network/privateEndpoints/hdi-privatelink-endpoint000004?api-version=2025-07-01 response: body: string: "{\r\n \"name\": \"hdi-privatelink-endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_hdi_private_link000001/providers/Microsoft.Network/privateEndpoints/hdi-privatelink-endpoint000004\",\r\n @@ -741,7 +741,7 @@ interactions: User-Agent: - AZURECLI/2.28.1 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.2 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_hdi_private_link000001/providers/Microsoft.Network/privateEndpoints/hdi-privatelink-endpoint000004?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_hdi_private_link000001/providers/Microsoft.Network/privateEndpoints/hdi-privatelink-endpoint000004?api-version=2025-07-01 response: body: string: "{\r\n \"name\": \"hdi-privatelink-endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_hdi_private_link000001/providers/Microsoft.Network/privateEndpoints/hdi-privatelink-endpoint000004\",\r\n diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py index eea8415d1a1..6d2c2b35d77 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py @@ -9891,6 +9891,95 @@ def test_network_private_endpoint_ip_version_type(self, resource_group, storage_ self.check('length(@)', 3) ]) + @ResourceGroupPreparer(name_prefix='test_network_private_endpoint_billing_sku', location='eastus2euap') + @StorageAccountPreparer(name_prefix='sapebsku', kind='StorageV2') + def test_network_private_endpoint_billing_sku(self, resource_group, storage_account): + self.kwargs.update({ + 'sa': storage_account, + 'rg': resource_group, + 'location': 'eastus2euap', + + 'vnet': 'vnetbsku', + 'subnet_pe': 'subnetpe', + 'subnet_pe_prefix': '10.0.1.0/24', + 'vnet_prefix': '10.0.0.0/16', + + 'pe_conn': 'cn', + 'pe_fixed': 'pefixed', + 'pe_paygo': 'pepaygo', + 'nic_fixed': 'nicfixed', + 'nic_paygo': 'nicpaygo', + }) + + # VNet + Private Endpoint subnet + self.cmd( + 'network vnet create -g {rg} -n {vnet} -l {location} ' + '--address-prefixes {vnet_prefix} ' + '--subnet-name {subnet_pe} --subnet-prefixes {subnet_pe_prefix}' + ) + self.cmd( + 'network vnet subnet update -g {rg} -n {subnet_pe} --vnet-name {vnet} ' + '--disable-private-endpoint-network-policies' + ) + + # Storage PLR + pr = self.cmd( + 'storage account private-link-resource list --account-name {sa} -g {rg}' + ).get_output_in_json() + self.kwargs['group_id'] = pr[0]['groupId'] + + storage = self.cmd( + 'storage account show -n {sa} -g {rg}' + ).get_output_in_json() + self.kwargs['sa_id'] = storage['id'] + + # Create with billing sku Fixed + self.cmd( + 'network private-endpoint create -g {rg} -n {pe_fixed} ' + '--vnet-name {vnet} --subnet {subnet_pe} ' + '--group-id {group_id} ' + '--private-connection-resource-id {sa_id} ' + '--connection-name {pe_conn} ' + '-l {location} --nic-name {nic_fixed} ' + '--billing-sku Fixed', + checks=[ + self.check('name', '{pe_fixed}'), + self.check('provisioningState', 'Succeeded'), + self.check('billingSku', 'Fixed'), + ] + ) + + # Create with billing sku PayAsYouGo + self.cmd( + 'network private-endpoint create -g {rg} -n {pe_paygo} ' + '--vnet-name {vnet} --subnet {subnet_pe} ' + '--group-id {group_id} ' + '--private-connection-resource-id {sa_id} ' + '--connection-name {pe_conn} ' + '-l {location} --nic-name {nic_paygo} ' + '--billing-sku PayAsYouGo', + checks=[ + self.check('name', '{pe_paygo}'), + self.check('provisioningState', 'Succeeded'), + self.check('billingSku', 'PayAsYouGo'), + ] + ) + + # Update billing sku PayAsYouGo -> Fixed + self.cmd( + 'network private-endpoint update -g {rg} -n {pe_paygo} ' + '--billing-sku Fixed', + checks=[ + self.check('name', '{pe_paygo}'), + self.check('provisioningState', 'Succeeded'), + self.check('billingSku', 'Fixed'), + ] + ) + + self.cmd('network private-endpoint show -g {rg} -n {pe_fixed}', checks=[ + self.check('billingSku', 'Fixed'), + ]) + class NetworkApplicationGatewayHttpSettingsScenario(ScenarioTest): @ResourceGroupPreparer(name_prefix='test_ag', location='eastus') diff --git a/src/azure-cli/azure/cli/command_modules/postgresql/tests/latest/recordings/test_postgres_flexible_server_private_endpoint_mgmt.yaml b/src/azure-cli/azure/cli/command_modules/postgresql/tests/latest/recordings/test_postgres_flexible_server_private_endpoint_mgmt.yaml index e14c70e14f3..22e8dee1ad6 100644 --- a/src/azure-cli/azure/cli/command_modules/postgresql/tests/latest/recordings/test_postgres_flexible_server_private_endpoint_mgmt.yaml +++ b/src/azure-cli/azure/cli/command_modules/postgresql/tests/latest/recordings/test_postgres_flexible_server_private_endpoint_mgmt.yaml @@ -1105,7 +1105,7 @@ interactions: User-Agent: - AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.13.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"0e3911a2-8dfa-4e67-be37-9024770fffad\"","type":"Microsoft.Network/privateEndpoints","location":"canadacentral","properties":{"provisioningState":"Updating","resourceGuid":"76c0f2ba-7dbc-430c-9028-747df3d6a9de","privateLinkServiceConnections":[{"name":"cli-pec-000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008","etag":"W/\"0e3911a2-8dfa-4e67-be37-9024770fffad\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/flexibleServers/azuredbclitest-000002","groupIds":["postgresqlServer"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1379,7 +1379,7 @@ interactions: User-Agent: - AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.13.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"a4a17ad6-ba18-484f-9187-48c992e2f646\"","type":"Microsoft.Network/privateEndpoints","location":"canadacentral","properties":{"provisioningState":"Succeeded","resourceGuid":"76c0f2ba-7dbc-430c-9028-747df3d6a9de","privateLinkServiceConnections":[{"name":"cli-pec-000008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008","etag":"W/\"a4a17ad6-ba18-484f-9187-48c992e2f646\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/flexibleServers/azuredbclitest-000002","groupIds":["postgresqlServer"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":""}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.6b6d086a-c37b-47e3-97ed-f44bb9c9941d"}],"customDnsConfigs":[{"fqdn":"azuredbclitest-000002.postgres.database.azure.com","ipAddresses":["10.0.0.4"]}],"ipVersionType":"IPv4"}}' @@ -2191,7 +2191,7 @@ interactions: User-Agent: - AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.13.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006","etag":"W/\"61e9cb0c-94e7-4473-a640-47931092cb51\"","type":"Microsoft.Network/privateEndpoints","location":"canadacentral","properties":{"provisioningState":"Updating","resourceGuid":"6822be35-1480-4c4f-a0fa-44c247704c90","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000009","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000009","etag":"W/\"61e9cb0c-94e7-4473-a640-47931092cb51\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/flexibleServers/azuredbclitest-000002","groupIds":["postgresqlServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -2411,7 +2411,7 @@ interactions: User-Agent: - AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.13.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006","etag":"W/\"e3b24df7-ed67-45b0-95fb-0e895b1d7749\"","type":"Microsoft.Network/privateEndpoints","location":"canadacentral","properties":{"provisioningState":"Succeeded","resourceGuid":"6822be35-1480-4c4f-a0fa-44c247704c90","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000009","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000009","etag":"W/\"e3b24df7-ed67-45b0-95fb-0e895b1d7749\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/flexibleServers/azuredbclitest-000002","groupIds":["postgresqlServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":""}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000006.nic.9412082c-6772-43fe-a66c-c6bb91b32573"}],"customDnsConfigs":[],"ipVersionType":"IPv4"}}' @@ -3223,7 +3223,7 @@ interactions: User-Agent: - AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.13.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007","etag":"W/\"facd1b5b-07ff-45a3-b84e-6d1a4ae79181\"","type":"Microsoft.Network/privateEndpoints","location":"canadacentral","properties":{"provisioningState":"Updating","resourceGuid":"b8f79681-9a11-4cca-a09d-886e41217000","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000010","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/manualPrivateLinkServiceConnections/cli-pec-000010","etag":"W/\"facd1b5b-07ff-45a3-b84e-6d1a4ae79181\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/flexibleServers/azuredbclitest-000002","groupIds":["postgresqlServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -3443,7 +3443,7 @@ interactions: User-Agent: - AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.13.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000007","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007","etag":"W/\"e5e03324-4844-4ef7-aee4-54cbf46e8547\"","type":"Microsoft.Network/privateEndpoints","location":"canadacentral","properties":{"provisioningState":"Succeeded","resourceGuid":"b8f79681-9a11-4cca-a09d-886e41217000","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"cli-pec-000010","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/manualPrivateLinkServiceConnections/cli-pec-000010","etag":"W/\"e5e03324-4844-4ef7-aee4-54cbf46e8547\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/flexibleServers/azuredbclitest-000002","groupIds":["postgresqlServer"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":""}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000007.nic.7c16af65-5ce1-41b1-a9b0-3b867933d6a3"}],"customDnsConfigs":[],"ipVersionType":"IPv4"}}' diff --git a/src/azure-cli/azure/cli/command_modules/search/tests/latest/recordings/test_private_endpoint_connection_crud.yaml b/src/azure-cli/azure/cli/command_modules/search/tests/latest/recordings/test_private_endpoint_connection_crud.yaml index a3434fef016..c62a7ea948b 100644 --- a/src/azure-cli/azure/cli/command_modules/search/tests/latest/recordings/test_private_endpoint_connection_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/search/tests/latest/recordings/test_private_endpoint_connection_crud.yaml @@ -1853,7 +1853,7 @@ interactions: User-Agent: - AZURECLI/2.76.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Network/privateEndpoints/testpe000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Network/privateEndpoints/testpe000005?api-version=2025-07-01 response: body: string: '{"name":"testpe000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Network/privateEndpoints/testpe000005","etag":"W/\"74210482-07cc-47a5-ba19-11f22d196ce2\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Updating","resourceGuid":"6bdad5b5-8a28-443e-b66b-ba4e8e04adf6","privateLinkServiceConnections":[{"name":"testpec000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Network/privateEndpoints/testpe000005/privateLinkServiceConnections/testpec000006","etag":"W/\"74210482-07cc-47a5-ba19-11f22d196ce2\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Search/searchServices/test000002","groupIds":["searchService"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -2064,7 +2064,7 @@ interactions: User-Agent: - AZURECLI/2.76.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Network/privateEndpoints/testpe000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Network/privateEndpoints/testpe000005?api-version=2025-07-01 response: body: string: '{"name":"testpe000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Network/privateEndpoints/testpe000005","etag":"W/\"f9551615-be34-4dc3-86a7-c92307f3e48c\"","type":"Microsoft.Network/privateEndpoints","location":"eastus2euap","properties":{"provisioningState":"Succeeded","resourceGuid":"6bdad5b5-8a28-443e-b66b-ba4e8e04adf6","privateLinkServiceConnections":[{"name":"testpec000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Network/privateEndpoints/testpe000005/privateLinkServiceConnections/testpec000006","etag":"W/\"f9551615-be34-4dc3-86a7-c92307f3e48c\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Search/searchServices/test000002","groupIds":["searchService"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Network/networkInterfaces/testpe000005.nic.f958eadd-37bf-45d3-8a7d-9f64453308c4"}],"customDnsConfigs":[{"fqdn":"test000002.search.windows.net","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_privateendpoint.yaml b/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_privateendpoint.yaml index 192614f2a40..0294a8fff4e 100644 --- a/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_privateendpoint.yaml +++ b/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_privateendpoint.yaml @@ -897,7 +897,7 @@ interactions: User-Agent: - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-migration/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-migration/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-migration/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"c9d5d065-2048-459b-855a-22a9e03320ea\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"dfb44d93-9eb2-4377-83ad-c1fbdea2d11a","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-migration/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"c9d5d065-2048-459b-855a-22a9e03320ea\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-migration/providers/Microsoft.ServiceBus/namespaces/servicebus-nscli000002","groupIds":["namespace"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -1149,7 +1149,7 @@ interactions: User-Agent: - AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-migration/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-migration/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-migration/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"ccee5135-38f1-4d4b-bbcd-6db9f831cc3a\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"dfb44d93-9eb2-4377-83ad-c1fbdea2d11a","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-migration/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"ccee5135-38f1-4d4b-bbcd-6db9f831cc3a\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-migration/providers/Microsoft.ServiceBus/namespaces/servicebus-nscli000002","groupIds":["namespace"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-migration/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-migration/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.e44d8c77-987c-42a8-aa3c-0be77290703b"}],"customDnsConfigs":[{"fqdn":"servicebus-nscli000002.servicebus.windows.net","ipAddresses":["10.0.0.4"]}]}}' diff --git a/src/azure-cli/azure/cli/command_modules/signalr/tests/latest/recordings/test_signalr_private_endpoint_2.yaml b/src/azure-cli/azure/cli/command_modules/signalr/tests/latest/recordings/test_signalr_private_endpoint_2.yaml index 2952c398898..3e30474cee6 100644 --- a/src/azure-cli/azure/cli/command_modules/signalr/tests/latest/recordings/test_signalr_private_endpoint_2.yaml +++ b/src/azure-cli/azure/cli/command_modules/signalr/tests/latest/recordings/test_signalr_private_endpoint_2.yaml @@ -714,7 +714,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/private_endpoint1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/private_endpoint1?api-version=2025-07-01 response: body: string: '{"name":"private_endpoint1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/private_endpoint1","etag":"W/\"130cea5e-63f6-45f5-8fae-d87a2ed84241\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"25a36f07-b08f-4934-9b63-bd330511d0d0","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"private_endpoint_connection1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/private_endpoint1/manualPrivateLinkServiceConnections/private_endpoint_connection1","etag":"W/\"130cea5e-63f6-45f5-8fae-d87a2ed84241\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.SignalRService/SignalR/signalr000002","groupIds":["signalr"],"privateLinkServiceConnectionState":{"status":"Pending","description":"Awaiting @@ -925,7 +925,7 @@ interactions: User-Agent: - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/private_endpoint1?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/private_endpoint1?api-version=2025-07-01 response: body: string: '{"name":"private_endpoint1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/private_endpoint1","etag":"W/\"a61aa41b-5330-4b12-9e4a-caf3f6ce590b\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"25a36f07-b08f-4934-9b63-bd330511d0d0","privateLinkServiceConnections":[],"manualPrivateLinkServiceConnections":[{"name":"private_endpoint_connection1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/private_endpoint1/manualPrivateLinkServiceConnections/private_endpoint_connection1","etag":"W/\"a61aa41b-5330-4b12-9e4a-caf3f6ce590b\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.SignalRService/SignalR/signalr000002","groupIds":["signalr"],"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections"}],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/private_endpoint1.nic.94ee8380-8858-4a42-abb3-9f24fbcd9133"}],"customDnsConfigs":[]}}' diff --git a/src/azure-cli/azure/cli/command_modules/storage/tests/latest/recordings/test_storage_account_private_endpoint.yaml b/src/azure-cli/azure/cli/command_modules/storage/tests/latest/recordings/test_storage_account_private_endpoint.yaml index 8c6527b2b3d..352dd69d098 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/tests/latest/recordings/test_storage_account_private_endpoint.yaml +++ b/src/azure-cli/azure/cli/command_modules/storage/tests/latest/recordings/test_storage_account_private_endpoint.yaml @@ -645,7 +645,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-10-10.0.19045-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"2be56057-8c1c-417a-ad27-9caf30f83b70\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"3904c419-3351-4a68-84f9-01b89dda9894","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"2be56057-8c1c-417a-ad27-9caf30f83b70\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto @@ -852,7 +852,7 @@ interactions: User-Agent: - AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2025-07-01 response: body: string: '{"name":"cli-pe-000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005","etag":"W/\"bfe50f83-e0ba-47c1-8f5e-e1c0297ffc9e\"","type":"Microsoft.Network/privateEndpoints","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"3904c419-3351-4a68-84f9-01b89dda9894","privateLinkServiceConnections":[{"name":"cli-pec-000006","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006","etag":"W/\"bfe50f83-e0ba-47c1-8f5e-e1c0297ffc9e\"","properties":{"provisioningState":"Succeeded","privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Storage/storageAccounts/saplr000002","groupIds":["blob"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}},"type":"Microsoft.Network/privateEndpoints/privateLinkServiceConnections"}],"manualPrivateLinkServiceConnections":[],"customNetworkInterfaceName":"","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"},"ipConfigurations":[],"networkInterfaces":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_pe000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.bfd1e2e2-29ed-4b1c-9dc5-a96c45d48692"}],"customDnsConfigs":[{"fqdn":"saplr000002.blob.core.windows.net","ipAddresses":["10.0.1.4"]}],"ipVersionType":"IPv4"}}'