From 88c17ba2054818c9f570ce8cbfebc5cf387f5f4d Mon Sep 17 00:00:00 2001 From: Jorge Cotillo Date: Tue, 7 May 2019 13:54:30 -0700 Subject: [PATCH] Major module update (#39) * added diagnostic storage account * added retrieval of sas token from an arm template * added sas properties * enabled azure security center deployment * added solutions to log analytics plus datastores * added storage account v2 template * added storage account templates * updated diagnostic storage account output parameters * added IaaSDiagnostic wad settings * enabled service endpoint on shared services network * renamed module names * updated archetype module versions * updated archetype module versions * fixed invalid parameters * updated shared services archetype * updated adds extension names * added app rule and network rule collections to allow for log analytics egress access from VMs * added virtual network module and updated app rule collection * updated security center - workspace pricing tier * enabled security center log analytics auto provisioning * enabled update management * added diagnostic settings to automation account * added linux schedules * modified shared services test archetype based on latest modifications * added azure backup log analytics solution and whitelisted linux package managers * updated palo alto module versions * fixed bootstrap file encoding * removed unused parameter * added 1.0 version as default module version * added cdn and made storage account template more generic * modified templates to use common diagnostic storage account * added diagnostic storage account * updated ntier iaas deployment * Added storage-account v2.0 * Added placeholders for policy,rbac and script folders in storage-account v2.0 * Updated the comments in the test scripts for storage-account module * added v2 of storage account deployment * added placeholder for scripts folder * Changed the path logic to be os agnostic * removed tokens from v2.0 storage parameters file * Update to path concatenation logic applied * updated sql server template * added sql server cloudwitness service endpoint * updated azure firewall rules and increase vmapp-lb size * updated ntier iaas archetypes to use latest log analytics module * updated ntier SQL Cluster IP * updated aks, sap, cloud break and squid modules to use single diagnostic storage account * modified sqldb to be ISO compliant * fixed deployment of single diagnostic storage * reduced number of integration tests. integration tests help test the python orchestration * updated aks archetype file name * added update management tag on linux jumpbox * updated templates based on feedback * fix deployment name, converted to string * forced rebuild --- .gitignore | 2 + ...chetypes.test.json => archetype.test.json} | 188 +- archetypes/cloudbreak/archetype.test.json | 194 +- archetypes/ntier-iaas/archetype.test.json | 151 +- archetypes/on-premises/archetype.test.json | 4 +- archetypes/paas/archetype.test.json | 164 +- archetypes/pcf/archetype.test.json | 103 +- archetypes/sap-hana/archetype.test.json | 94 +- .../archetype.palo-alto.test.json | 244 +- .../shared-services/archetype.test.json | 242 +- dockerfile | 3 + docs/archetypes/ntier-iaas/parameters.adoc | 3 +- modules/acr/1.0/azureDeploy.json | 8 +- modules/adds/1.0/azureDeploy.json | 719 +++- modules/adds/1.0/azureDeploy.parameters.json | 2 +- modules/aks/1.0/azureDeploy.json | 73 +- modules/aks/1.0/azureDeploy.parameters.json | 13 +- .../automation-account/1.0/azureDeploy.json | 434 +++ .../1.0/azureDeploy.parameters.json | 14 + modules/azure-fw/1.0/azureDeploy.json | 84 +- .../azure-fw/1.0/azureDeploy.parameters.json | 3 - modules/cb/1.0/azureDeploy.json | 828 ++++- modules/cb/1.0/azureDeploy.parameters.json | 2 +- .../custom-la-solution/1.0/azureDeploy.json | 711 ++++ .../1.0/azureDeploy.parameters.json | 0 modules/hana/1.0/azureDeploy.json | 53 +- modules/iscsi/1.0/azureDeploy.json | 36 +- modules/jb/1.0/azureDeploy.json | 1424 +++++++- modules/jb/1.0/azureDeploy.parameters.json | 9 +- modules/kdc/1.0/azureDeploy.json | 845 ++++- modules/kdc/1.0/azureDeploy.parameters.json | 10 +- modules/kv/1.0/azureDeploy.json | 100 +- modules/kv/1.0/azureDeploy.parameters.json | 3 + modules/la/1.0/azureDeploy.json | 1192 ++++++- modules/la/1.0/azureDeploy.parameters.json | 5 +- modules/management/1.0/arm.policies.json | 23 - modules/management/1.0/azureDeploy.json | 160 - .../1.0/azureDeploy.parameters.json | 17 - modules/netweaver/1.0/azureDeploy.json | 41 +- modules/nfs/1.0/azureDeploy.json | 39 +- modules/nsg/1.0/azureDeploy.json | 132 +- .../1.0/azureDeploy.json | 113 - .../palo-alto-egress-nva/1.0/azureDeploy.json | 34 +- .../1.0/azureDeploy.json | 36 +- modules/pcf-opsmanager/1.0/azureDeploy.json | 35 +- .../1.0}/azureDeploy.json | 0 .../1.0}/azureDeploy.parameters.json | 0 .../1.0}/azureDeploy.json | 0 .../1.0}/azureDeploy.parameters.json | 0 modules/security-center/1.0/azureDeploy.json | 98 + .../1.0/azureDeploy.parameters.json | 1 + .../shared-services-net/1.0/azureDeploy.json | 3 +- modules/sqldb/1.0/azureDeploy.json | 176 +- modules/sqldb/1.0/azureDeploy.parameters.json | 6 + .../sqlserver-alwayson/1.0/azureDeploy.json | 710 +++- .../1.0/azureDeploy.parameters.json | 2 +- modules/squid-proxy/1.0/azureDeploy.json | 832 ++++- .../storage-account-cdn/1.0/azureDeploy.json | 114 + .../1.0/azureDeploy.parameters.json | 8 + ...loy.enable-serviceEndpoint.parameters.json | 11 + modules/storage-account/1.0/azureDeploy.json | 168 + .../1.0/azureDeploy.parameters.json | 11 + modules/ubuntu-nva/1.0/azureDeploy.json | 810 ++++- .../1.0/azureDeploy.parameters.json | 4 +- modules/vgw-connection/1.0/azureDeploy.json | 55 +- ...Deploy.onpremToSharedsvcs.parameters.json} | 25 +- .../1.0/azureDeploy.parameters.json | 20 - ...eDeploy.sharedsvcsToOnprem.parameters.json | 32 + modules/vgw/1.0/azureDeploy.json | 120 +- modules/vmapp-azone/1.0/azureDeploy.json | 606 +++- modules/vmapp-lb/1.0/azureDeploy.json | 600 +++- modules/vmapp/1.0/azureDeploy.json | 689 +++- modules/workload-net/1.0/azureDeploy.json | 20 +- .../1.0/azureDeploy.parameters.json | 82 +- orchestration/models/resource_module.py | 17 +- orchestration/resource_deployment.py | 54 +- orchestration/resource_validation.py | 27 +- scripts/aks/create-and-upload-ca-cert.sh | 0 ...create-and-upload-helm-and-tiller-certs.sh | 0 .../aks/create-cluster-rbac-role-bindings.sh | 0 .../aks/create-sign-w-x509-and-upload-cert.sh | 0 .../aks/create-tiller-enabled-namespace.sh | 0 scripts/aks/install-kubectl.sh | 0 .../aks/install-secured-tiller-instance.sh | 0 .../windows/enable-local-policy-settings.ps1 | 17 + ...est_a_workload_log_analytics_creation.yaml | 808 ----- ...on_tests.test_b_workload_nsg_creation.yaml | 631 ---- ...ests.test_c_workload_network_creation.yaml | 715 ---- ...ion_tests.test_d_workload_kv_creation.yaml | 751 ---- ...s.test_e_workload_cloudbreak_creation.yaml | 1323 ------- ...on_tests.test_f_workload_kdc_creation.yaml | 1175 ------- .../test_cloudbreak_integration_tests.py | 111 - ...est_a_workload_log_analytics_creation.yaml | 805 ----- ...on_tests.test_b_workload_nsg_creation.yaml | 632 ---- ...ests.test_c_workload_network_creation.yaml | 716 ---- ...ion_tests.test_d_workload_kv_creation.yaml | 752 ---- ...test_e_workload_vmapp_web_lb_creation.yaml | 1361 -------- ...test_f_workload_vmapp_biz_lb_creation.yaml | 1246 ------- ....test_g_workload_app_gateway_creation.yaml | 1225 ------- ...workload_sql_server_alwayson_creation.yaml | 3043 ----------------- .../test_iaas_integration_tests.py | 137 - ...est_a_workload_log_analytics_creation.yaml | 808 ----- ...on_tests.test_b_workload_nsg_creation.yaml | 658 ---- ...ests.test_c_workload_network_creation.yaml | 716 ---- ...ion_tests.test_d_workload_kv_creation.yaml | 752 ---- ..._tests.test_e_workload_sqldb_creation.yaml | 655 ---- ...on_tests.test_f_workload_ase_creation.yaml | 688 ---- .../test_paas_integration_tests.py | 111 - ...est_a_workload_log_analytics_creation.yaml | 808 ----- ...on_tests.test_b_workload_nsg_creation.yaml | 632 ---- ...ests.test_c_workload_network_creation.yaml | 737 ---- ...ion_tests.test_d_workload_kv_creation.yaml | 801 ----- ..._tests.test_e_workload_iscsi_creation.yaml | 1510 -------- ...on_tests.test_f_workload_nfs_creation.yaml | 1326 ------- ...n_tests.test_g_workload_hana_creation.yaml | 1119 ------ ...n_tests.test_h_workload_ascs_creation.yaml | 774 ----- ...ts.test_i_workload_netweaver_creation.yaml | 935 ----- .../test_sap_integration_tests.py | 147 - ...s_diagnostic_storage_account_creation.yaml | 420 +++ ...hared_services_log_analytics_creation.yaml | 809 ----- ...hared_services_log_analytics_creation.yaml | 413 +++ ...s.test_b_shared_services_nsg_creation.yaml | 632 ---- ..._services_automation_account_creation.yaml | 543 +++ ...st_c_shared_services_network_creation.yaml | 759 ---- ...st_d_shared_services_network_creation.yaml | 778 ----- ...red_services_security_center_creation.yaml | 444 +++ ...st_e_shared_services_network_creation.yaml | 736 ---- ...s.test_e_shared_services_nsg_creation.yaml | 461 +++ ...st_f_shared_services_network_creation.yaml | 1098 +++--- ...n_diagnostic_storage_account_creation.yaml | 550 +++ ...st_g_shared_services_network_creation.yaml | 686 ---- ...t_h_shared_services_keyvault_creation.yaml | 752 ---- ...st_h_shared_services_network_creation.yaml | 572 ++++ ...st_i_shared_services_jumpbox_creation.yaml | 905 ----- ...st_i_shared_services_network_creation.yaml | 519 +++ ....test_j_shared_services_adds_creation.yaml | 1297 ------- ...st_j_shared_services_network_creation.yaml | 462 +++ ...st_k_shared_services_network_creation.yaml | 589 ++++ ...t_l_shared_services_keyvault_creation.yaml | 513 +++ ...st_m_shared_services_jumpbox_creation.yaml | 569 +++ .../test_shared_services_integration_tests.py | 72 +- 141 files changed, 18248 insertions(+), 38847 deletions(-) rename archetypes/aks/{archetypes.test.json => archetype.test.json} (84%) create mode 100644 modules/automation-account/1.0/azureDeploy.json create mode 100644 modules/automation-account/1.0/azureDeploy.parameters.json create mode 100644 modules/custom-la-solution/1.0/azureDeploy.json create mode 100644 modules/custom-la-solution/1.0/azureDeploy.parameters.json delete mode 100644 modules/management/1.0/arm.policies.json delete mode 100644 modules/management/1.0/azureDeploy.json delete mode 100644 modules/management/1.0/azureDeploy.parameters.json delete mode 100644 modules/onprem-vgw-connection/1.0/azureDeploy.json rename modules/{role-assignments/resourceGroup-scope => role-assignments-rg-scope/1.0}/azureDeploy.json (100%) rename modules/{role-assignments/resourceGroup-scope => role-assignments-rg-scope/1.0}/azureDeploy.parameters.json (100%) rename modules/{role-assignments/subscription-scope => role-assignments-subscription-scope/1.0}/azureDeploy.json (100%) rename modules/{role-assignments/subscription-scope => role-assignments-subscription-scope/1.0}/azureDeploy.parameters.json (100%) create mode 100644 modules/security-center/1.0/azureDeploy.json create mode 100644 modules/security-center/1.0/azureDeploy.parameters.json create mode 100644 modules/storage-account-cdn/1.0/azureDeploy.json create mode 100644 modules/storage-account-cdn/1.0/azureDeploy.parameters.json create mode 100644 modules/storage-account/1.0/azureDeploy.enable-serviceEndpoint.parameters.json create mode 100644 modules/storage-account/1.0/azureDeploy.json create mode 100644 modules/storage-account/1.0/azureDeploy.parameters.json rename modules/{onprem-vgw-connection/1.0/azureDeploy.parameters.json => vgw-connection/1.0/azureDeploy.onpremToSharedsvcs.parameters.json} (50%) delete mode 100644 modules/vgw-connection/1.0/azureDeploy.parameters.json create mode 100644 modules/vgw-connection/1.0/azureDeploy.sharedsvcsToOnprem.parameters.json mode change 100644 => 100755 scripts/aks/create-and-upload-ca-cert.sh mode change 100644 => 100755 scripts/aks/create-and-upload-helm-and-tiller-certs.sh mode change 100644 => 100755 scripts/aks/create-cluster-rbac-role-bindings.sh mode change 100644 => 100755 scripts/aks/create-sign-w-x509-and-upload-cert.sh mode change 100644 => 100755 scripts/aks/create-tiller-enabled-namespace.sh mode change 100644 => 100755 scripts/aks/install-kubectl.sh mode change 100644 => 100755 scripts/aks/install-secured-tiller-instance.sh create mode 100644 scripts/windows/enable-local-policy-settings.ps1 delete mode 100644 tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_a_workload_log_analytics_creation.yaml delete mode 100644 tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_b_workload_nsg_creation.yaml delete mode 100644 tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_c_workload_network_creation.yaml delete mode 100644 tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_d_workload_kv_creation.yaml delete mode 100644 tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_e_workload_cloudbreak_creation.yaml delete mode 100644 tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_f_workload_kdc_creation.yaml delete mode 100644 tests/integration_tests/cloudbreak-workload/test_cloudbreak_integration_tests.py delete mode 100644 tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_a_workload_log_analytics_creation.yaml delete mode 100644 tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_b_workload_nsg_creation.yaml delete mode 100644 tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_c_workload_network_creation.yaml delete mode 100644 tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_d_workload_kv_creation.yaml delete mode 100644 tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_e_workload_vmapp_web_lb_creation.yaml delete mode 100644 tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_f_workload_vmapp_biz_lb_creation.yaml delete mode 100644 tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_g_workload_app_gateway_creation.yaml delete mode 100644 tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_h_workload_sql_server_alwayson_creation.yaml delete mode 100644 tests/integration_tests/ntier_iaas_workload/test_iaas_integration_tests.py delete mode 100644 tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_a_workload_log_analytics_creation.yaml delete mode 100644 tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_b_workload_nsg_creation.yaml delete mode 100644 tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_c_workload_network_creation.yaml delete mode 100644 tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_d_workload_kv_creation.yaml delete mode 100644 tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_e_workload_sqldb_creation.yaml delete mode 100644 tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_f_workload_ase_creation.yaml delete mode 100644 tests/integration_tests/paas_workload/test_paas_integration_tests.py delete mode 100644 tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_a_workload_log_analytics_creation.yaml delete mode 100644 tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_b_workload_nsg_creation.yaml delete mode 100644 tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_c_workload_network_creation.yaml delete mode 100644 tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_d_workload_kv_creation.yaml delete mode 100644 tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_e_workload_iscsi_creation.yaml delete mode 100644 tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_f_workload_nfs_creation.yaml delete mode 100644 tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_g_workload_hana_creation.yaml delete mode 100644 tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_h_workload_ascs_creation.yaml delete mode 100644 tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_i_workload_netweaver_creation.yaml delete mode 100644 tests/integration_tests/sap_workload/test_sap_integration_tests.py create mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_a_shared_services_diagnostic_storage_account_creation.yaml delete mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_a_shared_services_log_analytics_creation.yaml create mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_b_shared_services_log_analytics_creation.yaml delete mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_b_shared_services_nsg_creation.yaml create mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_c_shared_services_automation_account_creation.yaml delete mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_c_shared_services_network_creation.yaml delete mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_d_shared_services_network_creation.yaml create mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_d_shared_services_security_center_creation.yaml delete mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_e_shared_services_network_creation.yaml create mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_e_shared_services_nsg_creation.yaml create mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_g_shared_services_enable_service_endpoint_on_diagnostic_storage_account_creation.yaml delete mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_g_shared_services_network_creation.yaml delete mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_h_shared_services_keyvault_creation.yaml create mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_h_shared_services_network_creation.yaml delete mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_i_shared_services_jumpbox_creation.yaml create mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_i_shared_services_network_creation.yaml delete mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_j_shared_services_adds_creation.yaml create mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_j_shared_services_network_creation.yaml create mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_k_shared_services_network_creation.yaml create mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_l_shared_services_keyvault_creation.yaml create mode 100644 tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_m_shared_services_jumpbox_creation.yaml diff --git a/.gitignore b/.gitignore index 8c2078843..414087231 100644 --- a/.gitignore +++ b/.gitignore @@ -41,6 +41,7 @@ legacy_mgmt_settings_real.py vdc_settings_real.py app_creds_real.py **/archetype.json +**/archetypes.json # User-specific files *.suo @@ -74,3 +75,4 @@ src/build # Azure deployment credentials *.pubxml archetypes/aks/archetypes.json +archetypes/shared-services/archetype.test.devops.json diff --git a/archetypes/aks/archetypes.test.json b/archetypes/aks/archetype.test.json similarity index 84% rename from archetypes/aks/archetypes.test.json rename to archetypes/aks/archetype.test.json index b175b2ad1..306ae1c5c 100644 --- a/archetypes/aks/archetypes.test.json +++ b/archetypes/aks/archetype.test.json @@ -6,31 +6,28 @@ "vdc-storage-account-name": "storage", "vdc-storage-account-rg": "vdc-storage-rg", "on-premises": { - "deployment-name": "onprem", "subscription-id": "00000000-0000-0000-0000-000000000000", + "deployment-name": "onprem", "region": "West US 2", "network": { "address-prefix": "192.168.1.0/28" - }, - "active-directory": { - "primaryDC-IP": "192.168.1.4" - }, - "allow-rdp-address-range": "192.168.1.4" + } }, "shared-services": { - "deployment-name": "ssvcs", "subscription-id": "00000000-0000-0000-0000-000000000000", + "deployment-name": "ssvcs", "region": "West US 2", - "vm-configuration": { - "local-admin-user": "admin-user", - "enable-encryption": false, - "encryption-keys-for": [] - }, - "log-analytics": { - "region": "West US 2" + "active-directory": { + "vm-ip-address-start": "10.4.0.46" }, "network": { - "address-prefix": "10.4.0.32/27" + "address-prefix": "10.4.0.32/27", + "network-virtual-appliance": { + "egress-ip": "10.4.1.4", + "azure-firewall": { + "name": "${general.organization-name}-${general.shared-services.deployment-name}-az-fw" + } + } } }, "workload": { @@ -38,11 +35,15 @@ "subscription-id": "00000000-0000-0000-0000-000000000000", "region": "West US 2", "keyvault": { + "name": "${general.organization-name}-${general.workload.deployment-name}-kv", "secrets": [] }, "log-analytics": { "region": "West US 2" }, + "automation-account": { + "region": "West US 2" + }, "kubernetes": { "kubernetes-version": "1.12.6", "os-type": "Linux", @@ -55,14 +56,14 @@ "enable-http-application-routing": false, "enable-oms-agent": true, "service-principal-client-id": "00000000-0000-0000-0000-000000000000", - "service-principal-client-secret": "00000000-0000-0000-0000-000000000000", + "service-principal-client-secret": "", "rbac-server-appid": "00000000-0000-0000-0000-000000000000", "rbac-server-secret": "", "rbac-client-appid": "00000000-0000-0000-0000-000000000000", "rbac-tenant": "00000000-0000-0000-0000-000000000000", - "aks-cluster-admin-rbac-role-id": "0ab0b1a8-8aac-4efd-b8c2-3ee1fb270be8", - "aks-cluster-user-rbac-role-id": "4abbcc35-e782-43d8-92c5-2d3f1bd2253f", - "reader-rbac-role-id": "acdd72a7-3385-48ef-bd42-f606fba81ae7", + "aks-cluster-admin-rbac-role-id": "00000000-0000-0000-0000-000000000000", + "aks-cluster-user-rbac-role-id": "00000000-0000-0000-0000-000000000000", + "reader-rbac-role-id": "00000000-0000-0000-0000-000000000000", "cluster-admin-group-id": "00000000-0000-0000-0000-000000000000", "noc-user-group-id": "00000000-0000-0000-0000-000000000000", "dev-user-group-id": "00000000-0000-0000-0000-000000000000", @@ -84,7 +85,7 @@ { "name": "aks-cluster-nrc-01", "properties": { - "priority": "100", + "priority": "500", "action": { "type": "Allow" }, @@ -113,7 +114,7 @@ { "name": "aks-cluster-01", "properties": { - "priority": 130, + "priority": 500, "action": { "type": "Allow" }, @@ -147,14 +148,18 @@ }, "orchestration": { "modules-to-deploy": [ + "diagnostic-storage-account", "la", + "automation-account", + "security-center", "event-hub", "nsg", "workload-net", + "enable-service-endpoint-on-diagnostic-storage-account", "kv", "acr", "aks", - "role-assignments", + "role-assignments-rg-scope", "aks-node-role-assignments", "permissions-scripts-pre-reqs", "scripts-pre-reqs", @@ -166,13 +171,46 @@ "import-modules": "file(modules)", "custom-scripts": "file(scripts)", "modules": [ + { + "module": "diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0)" + }, + "dependencies": [] + }, { "module": "la", "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", "source": { "version": "1.0" }, - "dependencies": [] + "dependencies": [ + "diagnostic-storage-account" + ] + }, + { + "module": "automation-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "security-center", + "create-resource-group": false, + "source": { + "version": "1.0" + }, + "dependencies": [ + "la" + ] }, { "module": "event-hub", @@ -183,23 +221,37 @@ "dependencies": [] }, { - "module": "workload-net", + "module": "nsg", "resource-group-name": "${general.organization-name}-${workload.deployment-name}-net-rg", "source": { "version": "1.0" }, "dependencies": [ - "nsg" + "la", + "diagnostic-storage-account" ] }, { - "module": "nsg", + "module": "workload-net", "resource-group-name": "${general.organization-name}-${workload.deployment-name}-net-rg", "source": { "version": "1.0" }, "dependencies": [ - "la" + "nsg" + ] + }, + { + "module": "enable-service-endpoint-on-diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0/azureDeploy.enable-serviceEndpoint.parameters.json)" + }, + "dependencies": [ + "workload-net", + "diagnostic-storage-account" ] }, { @@ -209,7 +261,9 @@ "version": "1.0" }, "dependencies": [ - "la" + "la", + "workload-net", + "diagnostic-storage-account" ] }, { @@ -221,12 +275,10 @@ "dependencies": [] }, { - "module": "role-assignments", + "module": "role-assignments-rg-scope", "resource-group-name": "${general.organization-name}-${workload.deployment-name}-rg", "source": { - "version": "1.0", - "template-path": "file(modules/role-assignments/resourceGroup-scope/azureDeploy.json)", - "parameters-path": "file(modules/role-assignments/resourceGroup-scope/azureDeploy.parameters.json)" + "version": "1.0" }, "dependencies": [ "aks" @@ -236,9 +288,7 @@ "module": "aks-node-role-assignments", "resource-group-name": "${general.organization-name}-${workload.deployment-name}-rg", "source": { - "version": "1.0", - "template-path": "file(modules/aks-node-role-assignments/1.0/azureDeploy.json)", - "parameters-path": "file(modules/aks-node-role-assignments/1.0/azureDeploy.parameters.json)" + "version": "1.0" }, "dependencies": [ "aks" @@ -252,6 +302,7 @@ }, "dependencies": [ "la", + "diagnostic-storage-account", "event-hub", "workload-net" ] @@ -283,7 +334,7 @@ { "module": "create-cluster-rbac-role-bindings", "type": "bash", - "command": "scripts/aks/create-cluster-rbac-role-bindings.sh ${workload.kubernetes.cluster-name} ${workload.kubernetes.cluster-resource-group-name} 558eed0b-9358-483a-813c-aa7fc19b8f94 f8016c94-5774-4d07-910c-65bdc4d1412d Y Y", + "command": "scripts/aks/create-cluster-rbac-role-bindings.sh ${workload.kubernetes.cluster-name} ${workload.kubernetes.cluster-resource-group-name} ${general.workload.kubernetes.cluster-admin-group-id} ${general.workload.kubernetes.noc-user-group-id} Y Y", "dependencies": [ "scripts-pre-reqs" ] @@ -296,46 +347,24 @@ "deployment-name": "${general.on-premises.deployment-name}", "region": "${general.on-premises.region}", "network": { - "address-prefix": "192.168.1.0/28", - "resource-group-name": "${general.organization-name}-${on-premises.deployment-name}-net-rg", - "virtual-gateway": { - "gateway-name": "${general.organization-name}-${on-premises.deployment-name}-gw" - } - }, - "allow-rdp-address-range": "192.168.1.4" + "address-prefix": "${general.on-premises.network.address-prefix}" + } }, "shared-services": { "subscription-id": "${general.shared-services.subscription-id}", "deployment-name": "${general.shared-services.deployment-name}", "region": "${general.shared-services.region}", - "adds": { - "vm-ip-address-start": "10.4.0.46" - }, - "vm-configuration": { - "local-admin-user": "${general.shared-services.vm-configuration.local-admin-user}", - "enable-encryption": "${general.shared-services.vm-configuration.enable-encryption}", - "encryption-keys-for": "${general.shared-services.vm-configuration.encryption-keys-for}" - }, - "log-analytics": { - "region": "${general.shared-services.log-analytics.region}" + "active-directory": { + "vm-ip-address-start": "${general.shared-services.active-directory.vm-ip-address-start}" }, "network": { - "resource-group-name": "${general.organization-name}-${general.shared-services.deployment-name}-net-rg", "name": "${general.organization-name}-${general.shared-services.deployment-name}-vnet", + "resource-group-name": "${general.organization-name}-${general.shared-services.deployment-name}-net-rg", "address-prefix": "${general.shared-services.network.address-prefix}", - "virtual-gateway": { - "gateway-udr-name": "${general.organization-name}-${general.shared-services.deployment-name}-gw-udr" - }, "network-virtual-appliance": { - "egress-ip": "10.4.1.4", + "egress-ip": "${general.shared-services.network.network-virtual-appliance.egress-ip}", "azure-firewall": { - "name": "${general.organization-name}-${general.shared-services.deployment-name}-az-fw" - }, - "custom-ubuntu": { - "egress": { - "ip": "10.4.0.20", - "vm-ip-address-start": "10.4.0.5" - } + "name": "${general.shared-services.network.network-virtual-appliance.azure-firewall.name}" } } } @@ -351,8 +380,21 @@ "sku": "standalone" }, "keyvault": { - "name": "${general.organization-name}-${general.workload.deployment-name}-kv", - "secrets": "${general.workload.keyvault.secrets}" + "name": "${general.workload.keyvault.name}", + "secrets": "${general.workload.keyvault.secrets}", + "network-acls": {} + }, + "storage-account": { + "network-acls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": "${workload.network.subnets[0].name}" + } + ], + "ipRules": [] + } }, "network": { "enable-ddos-protection": "${general.workload.network.enable-ddos-protection}", @@ -504,17 +546,24 @@ "network-security-group": "${workload.network.network-security-groups[0].name}", "user-defined-route": "${workload.network.user-defined-routes[0].name}", "service-endpoints": [ + { + "service": "Microsoft.EventHub" + }, { "service": "Microsoft.Sql" }, { "service": "Microsoft.KeyVault" + }, + { + "service": "Microsoft.Storage" } ] } ], "dns-servers": [ - "${shared-services.adds.vm-ip-address-start}" + "${shared-services.active-directory.vm-ip-address-start}", + "next-ip(${shared-services.active-directory.vm-ip-address-start}, 1)" ] }, "kubernetes": { @@ -608,6 +657,9 @@ "log-analytics": { "region": "${general.workload.log-analytics.region}" }, + "automation-account": { + "region": "${general.workload.automation-account.region}" + }, "event-hub": { "namespace": "${general.organization-name}eventhubnamespace", "name": "${general.organization-name}-diagnostics-eventhub", diff --git a/archetypes/cloudbreak/archetype.test.json b/archetypes/cloudbreak/archetype.test.json index d6e6ad700..c3865a5bf 100644 --- a/archetypes/cloudbreak/archetype.test.json +++ b/archetypes/cloudbreak/archetype.test.json @@ -17,19 +17,19 @@ "shared-services": { "subscription-id": "00000000-0000-0000-0000-000000000000", "deployment-name": "ssvcs", - "adds": { + "active-directory": { "vm-ip-address-start": "10.4.0.46", "adds-vm1-hostname": "adds-vm1", - "adds-vm2-hostname": "adds-vm2" - }, - "active-directory": { + "adds-vm2-hostname": "adds-vm2", + "resource-group-name": "${general.organization-name}-${general.shared-services.deployment-name}-adds-rg", + "adds-vm1-resource-name": "${general.organization-name}-${general.shared-services.deployment-name}-${general.shared-services.active-directory.adds-vm1-hostname}", "discovery-custom-domain": "contosocloud.com", "domain-admin-user": "contoso", "domain-name": "contoso.com" }, "network": { "network-virtual-appliance": { - "egress-ip": "10.4.1.4", + "egress-ip": "10.4.1.4", "custom-ubuntu": { "egress": { "ip": "10.4.0.20", @@ -43,9 +43,9 @@ } }, "workload": { - "subscription-id": "00000000-0000-0000-0000-000000000000", + "subscription-id": "00000000-0000-0000-0000-000000000000", "deployment-name": "cb", - "region":"Central US", + "region": "West US 2", "vm-configuration": { "local-admin-user": "admin-user", "enable-encryption": false, @@ -66,16 +66,23 @@ "log-analytics": { "region": "West US 2" }, + "automation-account": { + "region": "West US 2" + }, "network": { "enable-ddos-protection": false } } }, "orchestration": { - "modules-to-deploy":[ + "modules-to-deploy": [ + "diagnostic-storage-account", "la", + "automation-account", + "security-center", "nsg", "workload-net", + "enable-service-endpoint-on-diagnostic-storage-account", "kv", "cb", "kdc" @@ -88,13 +95,44 @@ "custom-scripts": "file(scripts)", "modules": [ { - "module": "workload-net", - "resource-group-name": "${general.organization-name}-${workload.deployment-name}-net-rg", + "module": "diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0)" + }, + "dependencies": [] + }, + { + "module": "la", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", "source": { "version": "1.0" }, "dependencies": [ - "nsg" + "diagnostic-storage-account" + ] + }, + { + "module": "automation-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "security-center", + "create-resource-group": false, + "source": { + "version": "1.0" + }, + "dependencies": [ + "la" ] }, { @@ -104,7 +142,31 @@ "version": "1.0" }, "dependencies": [ - "la" + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "workload-net", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-net-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "nsg" + ] + }, + { + "module": "enable-service-endpoint-on-diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0/azureDeploy.enable-serviceEndpoint.parameters.json)" + }, + "dependencies": [ + "workload-net", + "diagnostic-storage-account" ] }, { @@ -114,7 +176,9 @@ "version": "1.0" }, "dependencies": [ - "la" + "la", + "workload-net", + "diagnostic-storage-account" ] }, { @@ -126,7 +190,8 @@ "dependencies": [ "kv", "workload-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -137,7 +202,8 @@ "dependencies": [ "kv", "workload-net", - "la" + "la", + "diagnostic-storage-account" ] } ] @@ -152,17 +218,15 @@ }, "allow-rdp-address-range": "${general.on-premises.allow-rdp-address-range}" }, - "shared-services":{ + "shared-services": { "subscription-id": "${general.shared-services.subscription-id}", "deployment-name": "${general.shared-services.deployment-name}", - "adds": { - "vm-ip-address-start": "${general.shared-services.adds.vm-ip-address-start}", - "adds-vm1-hostname": "${general.shared-services.adds.adds-vm1-hostname}", - "adds-vm2-hostname": "${general.shared-services.adds.adds-vm2-hostname}", - "resource-group-name": "${general.organization-name}-${general.shared-services.deployment-name}-adds-rg", - "adds-vm1-resource-name": "${general.organization-name}-${general.shared-services.deployment-name}-${general.shared-services.adds.adds-vm1-hostname}" - }, "active-directory": { + "vm-ip-address-start": "${general.shared-services.active-directory.vm-ip-address-start}", + "adds-vm1-hostname": "${general.shared-services.active-directory.adds-vm1-hostname}", + "adds-vm2-hostname": "${general.shared-services.active-directory.adds-vm2-hostname}", + "resource-group-name": "${general.shared-services.active-directory.resource-group-name}", + "adds-vm1-resource-name": "${general.shared-services.active-directory.adds-vm1-resource-name}", "discovery-custom-domain": "${general.shared-services.active-directory.discovery-custom-domain}", "domain-admin-user": "${general.shared-services.active-directory.domain-admin-user}", "domain-name": "${general.shared-services.active-directory.domain-name}" @@ -198,8 +262,8 @@ "name": "${general.organization-name}-${general.shared-services.deployment-name}-kv" } }, - "workload":{ - "subscription-id": "${general.workload.subscription-id}", + "workload": { + "subscription-id": "${general.workload.subscription-id}", "deployment-name": "${general.workload.deployment-name}", "region": "${general.workload.region}", "vm-configuration": { @@ -210,7 +274,34 @@ "log-analytics": { "region": "${general.workload.log-analytics.region}" }, - "keyvault": "${general.workload.keyvault}", + "automation-account": { + "region": "${general.workload.automation-account.region}" + }, + "keyvault": { + "secrets": "${general.workload.keyvault.secrets}", + "network-acls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": "${workload.network.subnets[0].name}" + } + ], + "ipRules": [] + } + }, + "storage-account": { + "network-acls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": "${workload.network.subnets[0].name}" + } + ], + "ipRules": [] + } + }, "network": { "enable-ddos-protection": "${general.workload.network.enable-ddos-protection}", "address-prefix": "10.4.6.0/24", @@ -233,7 +324,7 @@ "destinationAddressPrefixes": [], "destinationAddressPrefix": "", "destinationPortRange": "443", - "destinationPortRanges":[], + "destinationPortRanges": [], "destinationApplicationSecurityGroups": [ { "name": "${workload.network.application-security-groups[0].name}" @@ -245,7 +336,7 @@ "sourcePortRange": "*", "sourcePortRanges": [], "sourceAddressPrefix": "VirtualNetwork", - "sourceApplicationSecurityGroups":[] + "sourceApplicationSecurityGroups": [] } }, { @@ -255,7 +346,7 @@ "destinationAddressPrefixes": [], "destinationAddressPrefix": "", "destinationPortRange": "80", - "destinationPortRanges":[], + "destinationPortRanges": [], "destinationApplicationSecurityGroups": [ { "name": "${workload.network.application-security-groups[0].name}" @@ -267,7 +358,7 @@ "sourcePortRange": "*", "sourcePortRanges": [], "sourceAddressPrefix": "VirtualNetwork", - "sourceApplicationSecurityGroups":[] + "sourceApplicationSecurityGroups": [] } }, { @@ -277,7 +368,7 @@ "destinationAddressPrefixes": [], "destinationAddressPrefix": "", "destinationPortRange": "9443", - "destinationPortRanges":[], + "destinationPortRanges": [], "destinationApplicationSecurityGroups": [ { "name": "${workload.network.application-security-groups[0].name}" @@ -289,7 +380,7 @@ "sourcePortRange": "*", "sourcePortRanges": [], "sourceAddressPrefix": "VirtualNetwork", - "sourceApplicationSecurityGroups":[] + "sourceApplicationSecurityGroups": [] } }, { @@ -299,7 +390,7 @@ "destinationAddressPrefixes": [], "destinationAddressPrefix": "", "destinationPortRange": "8443", - "destinationPortRanges":[], + "destinationPortRanges": [], "destinationApplicationSecurityGroups": [ { "name": "${workload.network.application-security-groups[0].name}" @@ -311,7 +402,7 @@ "sourcePortRange": "*", "sourcePortRanges": [], "sourceAddressPrefix": "VirtualNetwork", - "sourceApplicationSecurityGroups":[] + "sourceApplicationSecurityGroups": [] } }, { @@ -321,7 +412,7 @@ "destinationAddressPrefixes": [], "destinationAddressPrefix": "", "destinationPortRange": "22", - "destinationPortRanges":[], + "destinationPortRanges": [], "destinationApplicationSecurityGroups": [ { "name": "${workload.network.application-security-groups[0].name}" @@ -333,7 +424,7 @@ "sourcePortRange": "*", "sourcePortRanges": [], "sourceAddressPrefix": "VirtualNetwork", - "sourceApplicationSecurityGroups":[] + "sourceApplicationSecurityGroups": [] } }, { @@ -343,7 +434,7 @@ "destinationAddressPrefixes": [], "destinationAddressPrefix": "", "destinationPortRange": "22", - "destinationPortRanges":[], + "destinationPortRanges": [], "destinationApplicationSecurityGroups": [ { "name": "${workload.network.application-security-groups[1].name}" @@ -355,7 +446,7 @@ "sourcePortRange": "*", "sourcePortRanges": [], "sourceAddressPrefix": "VirtualNetwork", - "sourceApplicationSecurityGroups":[] + "sourceApplicationSecurityGroups": [] } }, { @@ -365,7 +456,7 @@ "destinationAddressPrefixes": [], "destinationAddressPrefix": "", "destinationPortRange": "754", - "destinationPortRanges":[], + "destinationPortRanges": [], "destinationApplicationSecurityGroups": [ { "name": "${workload.network.application-security-groups[1].name}" @@ -377,7 +468,7 @@ "sourcePortRange": "*", "sourcePortRanges": [], "sourceAddressPrefix": "VirtualNetwork", - "sourceApplicationSecurityGroups":[] + "sourceApplicationSecurityGroups": [] } }, { @@ -387,15 +478,15 @@ "destinationAddressPrefix": "*", "destinationAddressPrefixes": [], "destinationPortRange": "*", - "destinationPortRanges":[], - "destinationApplicationSecurityGroups":[], + "destinationPortRanges": [], + "destinationApplicationSecurityGroups": [], "direction": "Inbound", "priority": 4095, "protocol": "Tcp", "sourcePortRange": "*", "sourcePortRanges": [], "sourceAddressPrefix": "Internet", - "sourceApplicationSecurityGroups":[] + "sourceApplicationSecurityGroups": [] } }, { @@ -405,15 +496,15 @@ "destinationAddressPrefix": "VirtualNetwork", "destinationAddressPrefixes": [], "destinationPortRange": "*", - "destinationPortRanges":[], - "destinationApplicationSecurityGroups":[], + "destinationPortRanges": [], + "destinationApplicationSecurityGroups": [], "direction": "Inbound", "priority": 4096, "protocol": "Tcp", "sourcePortRange": "*", "sourcePortRanges": [], "sourceAddressPrefix": "VirtualNetwork", - "sourceApplicationSecurityGroups":[] + "sourceApplicationSecurityGroups": [] } } ] @@ -448,14 +539,23 @@ "network-security-group": "${workload.network.network-security-groups[0].name}", "user-defined-route": "${workload.network.user-defined-routes[0].name}", "service-endpoints": [ + { + "service": "Microsoft.EventHub" + }, { "service": "Microsoft.Sql" + }, + { + "service": "Microsoft.KeyVault" + }, + { + "service": "Microsoft.Storage" } ] } ], "dns-servers": [ - "${shared-services.adds.vm-ip-address-start}" + "${shared-services.active-directory.vm-ip-address-start}" ] } } diff --git a/archetypes/ntier-iaas/archetype.test.json b/archetypes/ntier-iaas/archetype.test.json index 0dd9681f4..88a7a72e5 100644 --- a/archetypes/ntier-iaas/archetype.test.json +++ b/archetypes/ntier-iaas/archetype.test.json @@ -17,12 +17,10 @@ "shared-services": { "subscription-id": "00000000-0000-0000-0000-000000000000", "deployment-name": "ssvcs", - "adds": { - "vm-ip-address-start": "10.4.0.46" - }, "active-directory": { "domain-admin-user": "contoso", - "domain-name": "contoso.com" + "domain-name": "contoso.com", + "vm-ip-address-start": "10.4.0.46" }, "network": { "network-virtual-appliance": { @@ -38,8 +36,8 @@ }, "workload": { "subscription-id": "00000000-0000-0000-0000-000000000000", - "deployment-name": "iaas", - "region":"Central US", + "deployment-name": "ntier", + "region":"West US 2", "vm-configuration": { "local-admin-user": "admin-user", "enable-encryption": false, @@ -60,6 +58,9 @@ "log-analytics": { "region": "West US 2" }, + "automation-account": { + "region": "West US 2" + }, "network": { "enable-ddos-protection": false } @@ -67,13 +68,16 @@ }, "orchestration": { "modules-to-deploy":[ + "diagnostic-storage-account", "la", + "automation-account", + "security-center", "nsg", "workload-net", + "enable-service-endpoint-on-diagnostic-storage-account", "kv", "vmapp-web-lb", "vmapp-biz-lb", - "app-gateway", "sqlserver-alwayson" ], "module-validation-dependencies": [ @@ -84,13 +88,44 @@ "custom-scripts": "file(scripts)", "modules": [ { - "module": "workload-net", - "resource-group-name": "${general.organization-name}-${workload.deployment-name}-net-rg", + "module": "diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0)" + }, + "dependencies": [] + }, + { + "module": "la", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", "source": { "version": "1.0" }, "dependencies": [ - "nsg" + "diagnostic-storage-account" + ] + }, + { + "module": "automation-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "security-center", + "create-resource-group": false, + "source": { + "version": "1.0" + }, + "dependencies": [ + "la" ] }, { @@ -100,7 +135,31 @@ "version": "1.0" }, "dependencies": [ - "la" + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "workload-net", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-net-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "nsg" + ] + }, + { + "module": "enable-service-endpoint-on-diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0/azureDeploy.enable-serviceEndpoint.parameters.json)" + }, + "dependencies": [ + "workload-net", + "diagnostic-storage-account" ] }, { @@ -110,7 +169,9 @@ "version": "1.0" }, "dependencies": [ - "la" + "workload-net", + "la", + "diagnostic-storage-account" ] }, { @@ -122,7 +183,8 @@ "dependencies": [ "kv", "workload-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -134,7 +196,8 @@ "dependencies": [ "kv", "workload-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -148,7 +211,8 @@ "dependencies": [ "kv", "workload-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -162,7 +226,8 @@ "dependencies": [ "kv", "workload-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -174,7 +239,8 @@ "dependencies": [ "kv", "workload-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -202,10 +268,8 @@ "shared-services":{ "subscription-id": "${general.shared-services.subscription-id}", "deployment-name": "${general.shared-services.deployment-name}", - "adds": { - "vm-ip-address-start": "${general.shared-services.adds.vm-ip-address-start}" - }, "active-directory": { + "vm-ip-address-start": "${general.shared-services.active-directory.vm-ip-address-start}", "domain-admin-user": "${general.shared-services.active-directory.domain-admin-user}", "domain-name": "${general.shared-services.active-directory.domain-name}" }, @@ -258,7 +322,34 @@ "log-analytics": { "region": "${general.workload.log-analytics.region}" }, - "keyvault": "${general.workload.keyvault}", + "automation-account": { + "region": "${general.workload.automation-account.region}" + }, + "keyvault": { + "secrets": "${general.workload.keyvault.secrets}", + "network-acls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": "${workload.network.subnets[0].name}" + } + ], + "ipRules": [] + } + }, + "storage-account": { + "network-acls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": "${workload.network.subnets[0].name}" + } + ], + "ipRules": [] + } + }, "network": { "address-prefix": "10.4.2.0/24", "enable-ddos-protection": "${general.workload.network.enable-ddos-protection}", @@ -496,11 +587,25 @@ "address-prefix": "10.4.2.0/27", "network-security-group": "${workload.network.network-security-groups[0].name}", "user-defined-route": "${workload.network.user-defined-routes[0].name}", - "service-endpoints": [] + "service-endpoints": [ + { + "service": "Microsoft.EventHub" + }, + { + "service": "Microsoft.Sql" + }, + { + "service": "Microsoft.KeyVault" + }, + { + "service": "Microsoft.Storage" + } + ] } ], "dns-servers": [ - "${shared-services.adds.vm-ip-address-start}" + "${shared-services.active-directory.vm-ip-address-start}", + "next-ip(${shared-services.active-directory.vm-ip-address-start}, 1)" ] } } diff --git a/archetypes/on-premises/archetype.test.json b/archetypes/on-premises/archetype.test.json index 01d2db77d..615c3cd77 100644 --- a/archetypes/on-premises/archetype.test.json +++ b/archetypes/on-premises/archetype.test.json @@ -8,7 +8,7 @@ "on-premises": { "subscription-id": "00000000-0000-0000-0000-000000000000", "deployment-name": "onprem", - "region": "Central US", + "region": "West US 2", "active-directory": { "AD-sitename": "Cloud-Site", "cloud-zone": "contosocloud.com", @@ -26,7 +26,7 @@ }, "shared-services": { "subscription-id": "00000000-0000-0000-0000-000000000000", - "deployment-name": "cus-ss" + "deployment-name": "ssvcs" } }, "orchestration": { diff --git a/archetypes/paas/archetype.test.json b/archetypes/paas/archetype.test.json index c5ef10801..5655aa1b5 100644 --- a/archetypes/paas/archetype.test.json +++ b/archetypes/paas/archetype.test.json @@ -17,32 +17,49 @@ "shared-services": { "subscription-id": "00000000-0000-0000-0000-000000000000", "deployment-name": "ssvcs", - "adds": { - "vm-ip-address-start": "10.4.0.46" - }, "active-directory": { + "vm-ip-address-start": "10.4.0.46", "discovery-custom-domain": "contosocloud.com", "domain-admin-user": "contoso", "domain-name": "contoso.com" }, "network": { + "resource-group-name": "${general.organization-name}-${general.shared-services.deployment-name}-net-rg", + "name": "${general.organization-name}-${general.shared-services.deployment-name}-vnet", + "address-prefix": "10.4.0.32/27", "network-virtual-appliance": { "egress-ip": "10.4.1.4", + "azure-firewall": { + "name": "${general.organization-name}-${general.shared-services.deployment-name}-az-fw" + }, "custom-ubuntu": { "egress": { "ip": "10.4.0.20", "vm-ip-address-start": "10.4.0.5" } } + }, + + "virtual-gateway": { + "gateway-name": "${general.organization-name}-${general.shared-services.deployment-name}-gw", + "gateway-udr-name": "${general.organization-name}-${general.shared-services.deployment-name}-gw-udr" + }, + "subnet": { + "shared-services-subnet-address-prefix": "10.4.0.32/27" + }, + "application-gateway": { + "name": "${general.organization-name}-${general.shared-services.deployment-name}-app-gw" } } }, "workload": { - "subscription-id": "00000000-0000-0000-0000-000000000000", + "subscription-id": "00000000-0000-0000-0000-000000000000", "deployment-name": "paas", - "region": "Central US", + "region": "West US 2", "azure-sql-configuration": { - "admin-user": "sql-admin-user" + "admin-user": "sql-admin-user", + "aad-admin-objectId": "00000000-0000-0000-0000-000000000000", + "aad-admin-email": "" }, "keyvault": { "secrets": [ @@ -55,6 +72,9 @@ "log-analytics": { "region": "West US 2" }, + "automation-account": { + "region": "West US 2" + }, "network": { "enable-ddos-protection": false } @@ -62,9 +82,13 @@ }, "orchestration": { "modules-to-deploy": [ + "diagnostic-storage-account", "la", + "automation-account", + "security-center", "nsg", "workload-net", + "enable-service-endpoint-on-diagnostic-storage-account", "kv", "sqldb", "ase" @@ -77,13 +101,44 @@ "custom-scripts": "file(scripts)", "modules": [ { - "module": "workload-net", - "resource-group-name": "${general.organization-name}-${workload.deployment-name}-net-rg", + "module": "diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0)" + }, + "dependencies": [] + }, + { + "module": "la", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", "source": { "version": "1.0" }, "dependencies": [ - "nsg" + "diagnostic-storage-account" + ] + }, + { + "module": "automation-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "security-center", + "create-resource-group": false, + "source": { + "version": "1.0" + }, + "dependencies": [ + "la" ] }, { @@ -93,7 +148,31 @@ "version": "1.0" }, "dependencies": [ - "la" + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "workload-net", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-net-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "nsg" + ] + }, + { + "module": "enable-service-endpoint-on-diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0/azureDeploy.enable-serviceEndpoint.parameters.json)" + }, + "dependencies": [ + "workload-net", + "diagnostic-storage-account" ] }, { @@ -103,7 +182,9 @@ "version": "1.0" }, "dependencies": [ - "la" + "workload-net", + "la", + "diagnostic-storage-account" ] }, { @@ -112,7 +193,9 @@ "version": "1.0" }, "dependencies": [ - "workload-net" + "workload-net", + "la", + "diagnostic-storage-account" ] }, { @@ -139,21 +222,19 @@ "shared-services": { "subscription-id": "${general.shared-services.subscription-id}", "deployment-name": "${general.shared-services.deployment-name}", - "adds": { - "vm-ip-address-start": "${general.shared-services.adds.vm-ip-address-start}" - }, "active-directory": { + "vm-ip-address-start": "${general.shared-services.active-directory.vm-ip-address-start}", "domain-admin-user": "${general.shared-services.active-directory.domain-admin-user}", "domain-name": "${general.shared-services.active-directory.domain-name}" }, "network": { - "resource-group-name": "${general.organization-name}-${general.shared-services.deployment-name}-net-rg", - "name": "${general.organization-name}-${general.shared-services.deployment-name}-vnet", - "address-prefix": "10.4.0.32/27", + "resource-group-name": "${general.shared-services.network.resource-group-name}", + "name": "${general.shared-services.network.name}", + "address-prefix": "${general.shared-services.network.address-prefix}", "network-virtual-appliance": { "egress-ip": "${general.shared-services.network.network-virtual-appliance.egress-ip}", "azure-firewall": { - "name": "${general.organization-name}-${general.shared-services.deployment-name}-az-fw" + "name": "${general.shared-services.network.network-virtual-appliance.azure-firewall.name}" }, "custom-ubuntu": { "egress": { @@ -163,12 +244,12 @@ } }, "virtual-gateway": { - "gateway-name": "${general.organization-name}-${general.shared-services.deployment-name}-gw", - "gateway-udr-name": "${general.organization-name}-${general.shared-services.deployment-name}-gw-udr" + "gateway-name": "${general.shared-services.network.virtual-gateway.gateway-name}", + "gateway-udr-name": "${general.shared-services.network.virtual-gateway.gateway-udr-name}" }, "subnet": { "app-gateway-subnet-name": "AppGateway", - "shared-services-subnet-address-prefix": "10.4.0.32/27" + "shared-services-subnet-address-prefix": "${general.shared-services.network.subnet.shared-services-subnet-address-prefix}" }, "application-gateway": { "name": "${general.organization-name}-${general.shared-services.deployment-name}-app-gw" @@ -184,12 +265,41 @@ "deployment-name": "${general.workload.deployment-name}", "region": "${general.workload.region}", "azure-sql-configuration": { - "admin-user": "${general.workload.azure-sql-configuration.admin-user}" + "admin-user": "${general.workload.azure-sql-configuration.admin-user}", + "aad-admin-objectId": "${general.workload.azure-sql-configuration.aad-admin-objectId}", + "aad-admin-email": "${general.workload.azure-sql-configuration.aad-admin-email}" }, - "keyvault": "${general.workload.keyvault}", "log-analytics": { "region": "${general.workload.log-analytics.region}" }, + "automation-account": { + "region": "${general.workload.automation-account.region}" + }, + "keyvault": { + "secrets": "${general.workload.keyvault.secrets}", + "network-acls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": "${workload.network.subnets[0].name}" + } + ], + "ipRules": [] + } + }, + "storage-account": { + "network-acls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": "${workload.network.subnets[0].name}" + } + ], + "ipRules": [] + } + }, "network": { "enable-ddos-protection": "${general.workload.network.enable-ddos-protection}", "address-prefix": "10.4.4.0/23", @@ -628,6 +738,9 @@ { "service": "Microsoft.Sql" }, + { + "service": "Microsoft.KeyVault" + }, { "service": "Microsoft.Storage" } @@ -635,7 +748,8 @@ } ], "dns-servers": [ - "${shared-services.adds.vm-ip-address-start}" + "${shared-services.active-directory.vm-ip-address-start}", + "next-ip(${shared-services.active-directory.vm-ip-address-start}, 1)" ] } } diff --git a/archetypes/pcf/archetype.test.json b/archetypes/pcf/archetype.test.json index 1030ba7fb..35667f21e 100644 --- a/archetypes/pcf/archetype.test.json +++ b/archetypes/pcf/archetype.test.json @@ -14,10 +14,13 @@ "shared-services": { "subscription-id": "00000000-0000-0000-0000-000000000000", "deployment-name": "ssvcs", - "adds": { + "active-directory": { "vm-ip-address-start": "10.4.0.46", "adds-vm1-hostname": "adds-vm1", - "adds-vm2-hostname": "adds-vm2" + "adds-vm2-hostname": "adds-vm2", + "adds-vm1-resource-name": "${general.organization-name}-${general.shared-services.deployment-name}-${general.shared-services.adds.adds-vm1-hostname}", + "resource-group-name": "${general.organization-name}-${general.shared-services.deployment-name}-adds-rg", + "domain-name": "contoso.com" }, "network": { "network-virtual-appliance": { @@ -29,9 +32,6 @@ } } } - }, - "active-directory": { - "domain-name": "contoso.com" } }, "workload": { @@ -62,8 +62,11 @@ }, "orchestration": { "modules-to-deploy":[ + "diagnostic-storage-account", "la", - "nsg", + "automation-account", + "security-center", + "nsg", "workload-net", "kv", "pcf-storage-accounts", @@ -78,18 +81,39 @@ "custom-scripts": "file(scripts)", "modules": [ { - "module": "workload-net", - "resource-group-name": "${general.organization-name}-net-rg", + "module": "diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0)" + }, + "dependencies": [] + }, + { + "module": "la", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", "source": { "version": "1.0" }, "dependencies": [ - "nsg" + "diagnostic-storage-account" ] }, { - "module": "nsg", - "resource-group-name": "${general.organization-name}-net-rg", + "module": "automation-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "security-center", + "create-resource-group": false, "source": { "version": "1.0" }, @@ -97,13 +121,49 @@ "la" ] }, + { + "module": "nsg", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-net-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "workload-net", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-net-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "nsg" + ] + }, + { + "module": "enable-service-endpoint-on-diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0/azureDeploy.enable-serviceEndpoint.parameters.json)" + }, + "dependencies": [ + "workload-net", + "diagnostic-storage-account" + ] + }, { "module": "kv", "source": { "version": "1.0" }, "dependencies": [ - "la" + "workload-net", + "la", + "diagnostic-storage-account" ] }, { @@ -115,7 +175,8 @@ "dependencies": [ "kv", "workload-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -148,12 +209,13 @@ "shared-services":{ "subscription-id": "${general.shared-services.subscription-id}", "deployment-name": "${general.shared-services.deployment-name}", - "adds": { - "vm-ip-address-start": "${general.shared-services.adds.vm-ip-address-start}", - "adds-vm1-hostname": "${general.shared-services.adds.adds-vm1-hostname}", - "adds-vm2-hostname": "${general.shared-services.adds.adds-vm2-hostname}", - "resource-group-name": "${general.organization-name}-${general.shared-services.deployment-name}-adds-rg", - "adds-vm1-resource-name": "${general.organization-name}-${general.shared-services.deployment-name}-${general.shared-services.adds.adds-vm1-hostname}" + "active-directory": { + "vm-ip-address-start": "${general.shared-services.active-directory.vm-ip-address-start}", + "adds-vm1-hostname": "${general.shared-services.active-directory.adds-vm1-hostname}", + "adds-vm2-hostname": "${general.shared-services.active-directory.adds-vm2-hostname}", + "adds-vm1-resource-name": "${general.shared-services.active-directory.adds-vm1-resource-name}", + "domain-name": "${general.shared-services.active-directory.domain-name}", + "resource-group-name": "${general.shared-services.active-directory.resource-group-name}" }, "network": { "resource-group-name": "${general.organization-name}-${general.shared-services.deployment-name}-net-rg", @@ -177,9 +239,6 @@ "network-security-group": { "shared-services-nsg-name": "${general.organization-name}-${general.shared-services.deployment-name}-sharedsvcs-nsg" } - }, - "active-directory": { - "domain-name": "${general.shared-services.active-directory.domain-name}" } }, "workload":{ diff --git a/archetypes/sap-hana/archetype.test.json b/archetypes/sap-hana/archetype.test.json index 96b64ff74..485bbc18c 100644 --- a/archetypes/sap-hana/archetype.test.json +++ b/archetypes/sap-hana/archetype.test.json @@ -17,10 +17,8 @@ "shared-services": { "subscription-id": "00000000-0000-0000-0000-000000000000", "deployment-name": "ssvcs", - "adds": { - "vm-ip-address-start": "10.4.0.46" - }, "active-directory": { + "vm-ip-address-start": "10.4.0.46", "discovery-custom-domain": "contosocloud.com", "domain-admin-user": "contoso", "domain-name": "contoso.com" @@ -69,7 +67,10 @@ }, "orchestration": { "modules-to-deploy": [ + "diagnostic-storage-account", "la", + "automation-account", + "security-center", "nsg", "workload-net", "kv", @@ -87,13 +88,44 @@ "custom-scripts": "file(scripts)", "modules": [ { - "module": "workload-net", - "resource-group-name": "${general.organization-name}-${workload.deployment-name}-net-rg", + "module": "diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0)" + }, + "dependencies": [] + }, + { + "module": "la", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", "source": { "version": "1.0" }, "dependencies": [ - "nsg" + "diagnostic-storage-account" + ] + }, + { + "module": "automation-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "security-center", + "create-resource-group": false, + "source": { + "version": "1.0" + }, + "dependencies": [ + "la" ] }, { @@ -103,17 +135,42 @@ "version": "1.0" }, "dependencies": [ - "la" + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "workload-net", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-net-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "nsg" + ] + }, + { + "module": "enable-service-endpoint-on-diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${workload.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0/azureDeploy.enable-serviceEndpoint.parameters.json)" + }, + "dependencies": [ + "workload-net", + "diagnostic-storage-account" ] }, { "module": "kv", - "resource-group-name": "${general.organization-name}-${workload.deployment-name}-kv-rg", "source": { "version": "1.0" }, "dependencies": [ - "la" + "workload-net", + "la", + "diagnostic-storage-account" ] }, { @@ -122,7 +179,8 @@ "version": "1.0" }, "dependencies": [ - "workload-net" + "workload-net", + "diagnostic-storage-account" ] }, { @@ -131,7 +189,8 @@ "version": "1.0" }, "dependencies": [ - "workload-net" + "workload-net", + "diagnostic-storage-account" ] }, { @@ -140,7 +199,8 @@ "version": "1.0" }, "dependencies": [ - "workload-net" + "workload-net", + "diagnostic-storage-account" ] }, { @@ -149,7 +209,8 @@ "version": "1.0" }, "dependencies": [ - "workload-net" + "workload-net", + "diagnostic-storage-account" ] }, { @@ -158,7 +219,8 @@ "version": "1.0" }, "dependencies": [ - "workload-net" + "workload-net", + "diagnostic-storage-account" ] } ] @@ -176,10 +238,8 @@ "shared-services": { "subscription-id": "${general.shared-services.subscription-id}", "deployment-name": "${general.shared-services.deployment-name}", - "adds": { - "vm-ip-address-start": "${general.shared-services.adds.vm-ip-address-start}" - }, "active-directory": { + "vm-ip-address-start": "${general.shared-services.active-directory.vm-ip-address-start}", "domain-admin-user": "${general.shared-services.active-directory.domain-admin-user}", "domain-name": "${general.shared-services.active-directory.domain-name}" }, diff --git a/archetypes/shared-services/archetype.palo-alto.test.json b/archetypes/shared-services/archetype.palo-alto.test.json index 060356ecf..f7711c820 100644 --- a/archetypes/shared-services/archetype.palo-alto.test.json +++ b/archetypes/shared-services/archetype.palo-alto.test.json @@ -6,19 +6,27 @@ "vdc-storage-account-name": "storage", "vdc-storage-account-rg": "vdc-storage-rg", "on-premises": { - "deployment-name": "onprem", "subscription-id": "00000000-0000-0000-0000-000000000000", - "region": "Central US", + "deployment-name": "onprem", + "region": "West US 2", "active-directory": { "AD-sitename": "Cloud-Site", "domain-admin-user": "contoso", - "domain-name": "contoso.com" - } + "domain-name": "contoso.com", + "primaryDC-IP": "192.168.1.4" + }, + "network": { + "address-prefix": "192.168.1.0/28" + }, + "allow-rdp-address-range": "192.168.1.4" }, "shared-services": { - "deployment-name": "ssvcs", "subscription-id": "00000000-0000-0000-0000-000000000000", - "region": "Central US", + "deployment-name": "ssvcs", + "region": "West US 2", + "active-directory": { + "vm-ip-address-start": "10.4.0.46" + }, "vm-configuration": { "local-admin-user": "admin-user", "enable-encryption": false, @@ -44,9 +52,18 @@ } ] }, + "network": { + "network-resource-group-name": "${general.organization-name}-${general.shared-services.deployment-name}-net-rg", + "virtual-gateway": { + "gateway-name": "${general.organization-name}-${shared-services.deployment-name}-gw" + } + }, "log-analytics": { "region": "West US 2" }, + "automation-account": { + "region": "West US 2" + }, "paloalto-storage-resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-paloalto-storage-rg" }, "custom-script": { @@ -56,9 +73,13 @@ }, "orchestration": { "modules-to-deploy": [ + "diagnostic-storage-account", "la", + "automation-account", + "security-center", "nsg", "shared-services-net", + "enable-service-endpoint-on-diagnostic-storage-account", "vgw", "vgw-connection", "onprem-vgw-connection", @@ -81,18 +102,60 @@ "custom-scripts": "file(scripts)", "modules": [ { - "module": "la", + "module": "diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-diagnostics-rg", "source": { "version": "1.0", - "template-path": "file(modules/la/1.0)", - "parameters-path": "file(modules/la/1.0)", - "policy-path": "file(modules/la/1.0)" + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0)" }, "dependencies": [] }, + { + "module": "la", + "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "diagnostic-storage-account" + ] + }, + { + "module": "automation-account", + "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "security-center", + "create-resource-group": false, + "source": { + "version": "1.0" + }, + "dependencies": [ + "la" + ] + }, + { + "module": "nsg", + "resource-group-name": "${general.shared-services.network.network-resource-group-name}", + "source": { + "version": "1.0" + }, + "dependencies": [ + "la", + "diagnostic-storage-account" + ] + }, { "module": "shared-services-net", - "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-net-rg", + "resource-group-name": "${general.shared-services.network.network-resource-group-name}", "source": { "version": "1.0" }, @@ -101,18 +164,21 @@ ] }, { - "module": "nsg", - "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-net-rg", + "module": "enable-service-endpoint-on-diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-diagnostics-rg", "source": { - "version": "latest" + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0/azureDeploy.enable-serviceEndpoint.parameters.json)" }, "dependencies": [ - "la" + "shared-services-net", + "diagnostic-storage-account" ] }, { "module": "vgw", - "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-net-rg", + "resource-group-name": "${general.shared-services.network.network-resource-group-name}", "source": { "version": "1.0" }, @@ -122,9 +188,11 @@ }, { "module": "vgw-connection", - "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-net-rg", + "resource-group-name": "${general.shared-services.network.network-resource-group-name}", "source": { - "version": "1.0" + "version": "1.0", + "template-path": "file(modules/vgw-connection/1.0/azureDeploy.json)", + "parameters-path": "file(modules/vgw-connection/1.0/azureDeploy.sharedsvcsToOnprem.parameters.json)" }, "dependencies": [ "shared-services-net", @@ -133,9 +201,11 @@ }, { "module": "onprem-vgw-connection", - "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-net-rg", + "resource-group-name": "${general.shared-services.network.network-resource-group-name}", "source": { - "version": "1.0" + "version": "1.0", + "template-path": "file(modules/vgw-connection/1.0/azureDeploy.json)", + "parameters-path": "file(modules/vgw-connection/1.0/azureDeploy.onpremToSharedsvcs.parameters.json)" }, "dependencies": [ "shared-services-net" @@ -143,13 +213,14 @@ }, { "module": "azure-fw", - "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-net-rg", + "resource-group-name": "${general.shared-services.network.network-resource-group-name}", "source": { "version": "1.0" }, "dependencies": [ "shared-services-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -185,7 +256,9 @@ "dependencies": [ "kv", "shared-services-net", - "palo-alto-storage" + "palo-alto-storage", + "la", + "diagnostic-storage-account" ] }, { @@ -203,7 +276,9 @@ "dependencies": [ "kv", "shared-services-net", - "palo-alto-storage" + "palo-alto-storage", + "la", + "diagnostic-storage-account" ] }, { @@ -224,7 +299,9 @@ "version": "1.0" }, "dependencies": [ - "la" + "shared-services-net", + "la", + "diagnostic-storage-account" ] }, { @@ -235,7 +312,8 @@ "dependencies": [ "kv", "shared-services-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -246,7 +324,8 @@ "dependencies": [ "kv", "shared-services-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -256,7 +335,8 @@ }, "dependencies": [ "kv", - "shared-services-net" + "shared-services-net", + "diagnostic-storage-account" ] } ] @@ -267,26 +347,26 @@ "deployment-name": "${general.on-premises.deployment-name}", "region": "${general.on-premises.region}", "network": { - "address-prefix": "192.168.1.0/28", + "address-prefix": "${general.on-premises.network.address-prefix}", "resource-group-name": "${general.organization-name}-${on-premises.deployment-name}-net-rg", "virtual-gateway": { "gateway-name": "${general.organization-name}-${on-premises.deployment-name}-gw" } }, "active-directory": { - "AD-sitename": "${general.on-premises.active-directory.AD-sitename}", + "AD-sitename": "${general.on-premises.active-directory.AD-sitename}", "domain-admin-user": "${general.on-premises.active-directory.domain-admin-user}", "domain-name": "${general.on-premises.active-directory.domain-name}", - "primaryDC-IP": "192.168.1.4" + "primaryDC-IP": "${general.on-premises.active-directory.primaryDC-IP}" }, - "allow-rdp-address-range": "192.168.1.4" + "allow-rdp-address-range": "${general.on-premises.allow-rdp-address-range}" }, "shared-services": { "subscription-id": "${general.shared-services.subscription-id}", "deployment-name": "${general.shared-services.deployment-name}", "region": "${general.shared-services.region}", - "adds": { - "vm-ip-address-start": "10.4.0.46" + "active-directory": { + "vm-ip-address-start": "${general.shared-services.active-directory.vm-ip-address-start}" }, "vm-configuration": { "local-admin-user": "${general.shared-services.vm-configuration.local-admin-user}", @@ -296,13 +376,52 @@ "log-analytics": { "region": "${general.shared-services.log-analytics.region}" }, + "automation-account": { + "region": "${general.shared-services.automation-account.region}" + }, "paloalto-storage-resource-group-name": "${general.shared-services.paloalto-storage-resource-group-name}", - "keyvault": "${general.shared-services.keyvault}", + "keyvault": { + "secrets": "${general.shared-services.keyvault.secrets}", + "network-acls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": "${shared-services.network.subnets[0].name}" + }, + { + "subnet": "${shared-services.network.subnets[1].name}" + }, + { + "subnet": "${shared-services.network.subnets[2].name}" + } + ], + "ipRules": [] + } + }, + "storage-account": { + "network-acls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": "${shared-services.network.subnets[0].name}" + }, + { + "subnet": "${shared-services.network.subnets[1].name}" + }, + { + "subnet": "${shared-services.network.subnets[2].name}" + } + ], + "ipRules": [] + } + }, "network": { "enable-ddos-protection": false, "address-prefix": "10.4.0.0/23", "network-virtual-appliance": { - "egress-ip": "${shared-services.network.network-virtual-appliance.palo-alto.egress.ip}", + "egress-ip": "${shared-services.network.network-virtual-appliance.azure-firewall.egress.ip}", "azure-firewall": { "egress": { "ip": "10.4.1.4" @@ -610,7 +729,7 @@ "137", "53", "49152-65535" - ], + ], "destinationPortRange": "", "direction": "Inbound", "priority": 170, @@ -822,21 +941,60 @@ "address-prefix": "10.4.0.32/27", "network-security-group": "${shared-services.network.network-security-groups[0].name}", "user-defined-route": "${shared-services.network.user-defined-routes[0].name}", - "service-endpoints": [] + "service-endpoints": [ + { + "service": "Microsoft.EventHub" + }, + { + "service": "Microsoft.Sql" + }, + { + "service": "Microsoft.KeyVault" + }, + { + "service": "Microsoft.Storage" + } + ] }, { "name": "trust", "address-prefix": "10.4.0.96/28", "network-security-group": "${shared-services.network.network-security-groups[1].name}", "user-defined-route": "", - "service-endpoints": [] + "service-endpoints": [ + { + "service": "Microsoft.EventHub" + }, + { + "service": "Microsoft.Sql" + }, + { + "service": "Microsoft.KeyVault" + }, + { + "service": "Microsoft.Storage" + } + ] }, { "name": "dmz", "address-prefix": "10.4.0.0/27", "network-security-group": "${shared-services.network.network-security-groups[2].name}", "user-defined-route": "", - "service-endpoints": [] + "service-endpoints": [ + { + "service": "Microsoft.EventHub" + }, + { + "service": "Microsoft.Sql" + }, + { + "service": "Microsoft.KeyVault" + }, + { + "service": "Microsoft.Storage" + } + ] }, { "name": "AppGateway", @@ -859,9 +1017,11 @@ "user-defined-route": "", "service-endpoints": [] } - ], + ], "dns-servers": [ - "${shared-services.adds.vm-ip-address-start}" + "${on-premises.active-directory.primaryDC-IP}", + "${shared-services.active-directory.vm-ip-address-start}", + "next-ip(${shared-services.active-directory.vm-ip-address-start}, 1)" ] } } diff --git a/archetypes/shared-services/archetype.test.json b/archetypes/shared-services/archetype.test.json index 7c4aa5c41..e959b0aff 100644 --- a/archetypes/shared-services/archetype.test.json +++ b/archetypes/shared-services/archetype.test.json @@ -1,24 +1,32 @@ { "general": { - "organization-name": "org", + "organization-name": "cntso", "tenant-id": "00000000-0000-0000-0000-000000000000", "deployment-user-id": "00000000-0000-0000-0000-000000000000", "vdc-storage-account-name": "storage", "vdc-storage-account-rg": "vdc-storage-rg", "on-premises": { - "deployment-name": "onprem", "subscription-id": "00000000-0000-0000-0000-000000000000", - "region": "Central US", + "deployment-name": "onprem", + "region": "West US 2", "active-directory": { "AD-sitename": "Cloud-Site", "domain-admin-user": "contoso", - "domain-name": "contoso.com" - } + "domain-name": "contoso.com", + "primaryDC-IP": "192.168.1.4" + }, + "network": { + "address-prefix": "192.168.1.0/28" + }, + "allow-rdp-address-range": "192.168.1.4" }, "shared-services": { - "deployment-name": "ssvcs", "subscription-id": "00000000-0000-0000-0000-000000000000", - "region": "Central US", + "deployment-name": "ssvcs", + "region": "West US 2", + "active-directory": { + "vm-ip-address-start": "10.4.0.46" + }, "vm-configuration": { "local-admin-user": "admin-user", "enable-encryption": false, @@ -44,9 +52,18 @@ } ] }, + "network": { + "network-resource-group-name": "${general.organization-name}-${general.shared-services.deployment-name}-net-rg", + "virtual-gateway": { + "gateway-name": "${general.organization-name}-${shared-services.deployment-name}-gw" + } + }, "log-analytics": { "region": "West US 2" }, + "automation-account": { + "region": "West US 2" + }, "paloalto-storage-resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-paloalto-storage-rg" }, "custom-script": { @@ -56,9 +73,13 @@ }, "orchestration": { "modules-to-deploy": [ + "diagnostic-storage-account", "la", + "automation-account", + "security-center", "nsg", "shared-services-net", + "enable-service-endpoint-on-diagnostic-storage-account", "vgw", "vgw-connection", "onprem-vgw-connection", @@ -75,18 +96,60 @@ "custom-scripts": "file(scripts)", "modules": [ { - "module": "la", + "module": "diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-diagnostics-rg", "source": { "version": "1.0", - "template-path": "file(modules/la/1.0)", - "parameters-path": "file(modules/la/1.0)", - "policy-path": "file(modules/la/1.0)" + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0)" }, "dependencies": [] }, + { + "module": "la", + "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "diagnostic-storage-account" + ] + }, + { + "module": "automation-account", + "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-diagnostics-rg", + "source": { + "version": "1.0" + }, + "dependencies": [ + "la", + "diagnostic-storage-account" + ] + }, + { + "module": "security-center", + "create-resource-group": false, + "source": { + "version": "1.0" + }, + "dependencies": [ + "la" + ] + }, + { + "module": "nsg", + "resource-group-name": "${general.shared-services.network.network-resource-group-name}", + "source": { + "version": "1.0" + }, + "dependencies": [ + "la", + "diagnostic-storage-account" + ] + }, { "module": "shared-services-net", - "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-net-rg", + "resource-group-name": "${general.shared-services.network.network-resource-group-name}", "source": { "version": "1.0" }, @@ -95,18 +158,21 @@ ] }, { - "module": "nsg", - "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-net-rg", + "module": "enable-service-endpoint-on-diagnostic-storage-account", + "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-diagnostics-rg", "source": { - "version": "latest" + "version": "1.0", + "template-path": "file(modules/storage-account/1.0)", + "parameters-path": "file(modules/storage-account/1.0/azureDeploy.enable-serviceEndpoint.parameters.json)" }, "dependencies": [ - "la" + "shared-services-net", + "diagnostic-storage-account" ] }, { "module": "vgw", - "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-net-rg", + "resource-group-name": "${general.shared-services.network.network-resource-group-name}", "source": { "version": "1.0" }, @@ -116,9 +182,11 @@ }, { "module": "vgw-connection", - "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-net-rg", + "resource-group-name": "${general.shared-services.network.network-resource-group-name}", "source": { - "version": "1.0" + "version": "1.0", + "template-path": "file(modules/vgw-connection/1.0/azureDeploy.json)", + "parameters-path": "file(modules/vgw-connection/1.0/azureDeploy.sharedsvcsToOnprem.parameters.json)" }, "dependencies": [ "shared-services-net", @@ -127,9 +195,11 @@ }, { "module": "onprem-vgw-connection", - "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-net-rg", + "resource-group-name": "${general.shared-services.network.network-resource-group-name}", "source": { - "version": "1.0" + "version": "1.0", + "template-path": "file(modules/vgw-connection/1.0/azureDeploy.json)", + "parameters-path": "file(modules/vgw-connection/1.0/azureDeploy.onpremToSharedsvcs.parameters.json)" }, "dependencies": [ "shared-services-net" @@ -137,13 +207,14 @@ }, { "module": "azure-fw", - "resource-group-name": "${general.organization-name}-${shared-services.deployment-name}-net-rg", + "resource-group-name": "${general.shared-services.network.network-resource-group-name}", "source": { "version": "1.0" }, "dependencies": [ "shared-services-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -179,7 +250,8 @@ "dependencies": [ "kv", "shared-services-net", - "palo-alto-storage" + "palo-alto-storage", + "diagnostic-storage-account" ] }, { @@ -197,7 +269,8 @@ "dependencies": [ "kv", "shared-services-net", - "palo-alto-storage" + "palo-alto-storage", + "diagnostic-storage-account" ] }, { @@ -218,7 +291,9 @@ "version": "1.0" }, "dependencies": [ - "la" + "shared-services-net", + "la", + "diagnostic-storage-account" ] }, { @@ -229,7 +304,8 @@ "dependencies": [ "kv", "shared-services-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -240,7 +316,8 @@ "dependencies": [ "kv", "shared-services-net", - "la" + "la", + "diagnostic-storage-account" ] }, { @@ -250,7 +327,8 @@ }, "dependencies": [ "kv", - "shared-services-net" + "shared-services-net", + "diagnostic-storage-account" ] } ] @@ -261,26 +339,26 @@ "deployment-name": "${general.on-premises.deployment-name}", "region": "${general.on-premises.region}", "network": { - "address-prefix": "192.168.1.0/28", + "address-prefix": "${general.on-premises.network.address-prefix}", "resource-group-name": "${general.organization-name}-${on-premises.deployment-name}-net-rg", "virtual-gateway": { "gateway-name": "${general.organization-name}-${on-premises.deployment-name}-gw" } }, "active-directory": { - "AD-sitename": "${general.on-premises.active-directory.AD-sitename}", + "AD-sitename": "${general.on-premises.active-directory.AD-sitename}", "domain-admin-user": "${general.on-premises.active-directory.domain-admin-user}", "domain-name": "${general.on-premises.active-directory.domain-name}", - "primaryDC-IP": "192.168.1.4" + "primaryDC-IP": "${general.on-premises.active-directory.primaryDC-IP}" }, - "allow-rdp-address-range": "192.168.1.4" + "allow-rdp-address-range": "${general.on-premises.allow-rdp-address-range}" }, "shared-services": { "subscription-id": "${general.shared-services.subscription-id}", "deployment-name": "${general.shared-services.deployment-name}", "region": "${general.shared-services.region}", - "adds": { - "vm-ip-address-start": "10.4.0.46" + "active-directory": { + "vm-ip-address-start": "${general.shared-services.active-directory.vm-ip-address-start}" }, "vm-configuration": { "local-admin-user": "${general.shared-services.vm-configuration.local-admin-user}", @@ -290,8 +368,47 @@ "log-analytics": { "region": "${general.shared-services.log-analytics.region}" }, + "automation-account": { + "region": "${general.shared-services.automation-account.region}" + }, "paloalto-storage-resource-group-name": "${general.shared-services.paloalto-storage-resource-group-name}", - "keyvault": "${general.shared-services.keyvault}", + "keyvault": { + "secrets": "${general.shared-services.keyvault.secrets}", + "network-acls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": "${shared-services.network.subnets[0].name}" + }, + { + "subnet": "${shared-services.network.subnets[1].name}" + }, + { + "subnet": "${shared-services.network.subnets[2].name}" + } + ], + "ipRules": [] + } + }, + "storage-account": { + "network-acls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": "${shared-services.network.subnets[0].name}" + }, + { + "subnet": "${shared-services.network.subnets[1].name}" + }, + { + "subnet": "${shared-services.network.subnets[2].name}" + } + ], + "ipRules": [] + } + }, "network": { "enable-ddos-protection": false, "address-prefix": "10.4.0.0/23", @@ -604,7 +721,7 @@ "137", "53", "49152-65535" - ], + ], "destinationPortRange": "", "direction": "Inbound", "priority": 170, @@ -816,21 +933,60 @@ "address-prefix": "10.4.0.32/27", "network-security-group": "${shared-services.network.network-security-groups[0].name}", "user-defined-route": "${shared-services.network.user-defined-routes[0].name}", - "service-endpoints": [] + "service-endpoints": [ + { + "service": "Microsoft.EventHub" + }, + { + "service": "Microsoft.Sql" + }, + { + "service": "Microsoft.KeyVault" + }, + { + "service": "Microsoft.Storage" + } + ] }, { "name": "trust", "address-prefix": "10.4.0.96/28", "network-security-group": "${shared-services.network.network-security-groups[1].name}", "user-defined-route": "", - "service-endpoints": [] + "service-endpoints": [ + { + "service": "Microsoft.EventHub" + }, + { + "service": "Microsoft.Sql" + }, + { + "service": "Microsoft.KeyVault" + }, + { + "service": "Microsoft.Storage" + } + ] }, { "name": "dmz", "address-prefix": "10.4.0.0/27", "network-security-group": "${shared-services.network.network-security-groups[2].name}", "user-defined-route": "", - "service-endpoints": [] + "service-endpoints": [ + { + "service": "Microsoft.EventHub" + }, + { + "service": "Microsoft.Sql" + }, + { + "service": "Microsoft.KeyVault" + }, + { + "service": "Microsoft.Storage" + } + ] }, { "name": "AppGateway", @@ -853,9 +1009,11 @@ "user-defined-route": "", "service-endpoints": [] } - ], + ], "dns-servers": [ - "${shared-services.adds.vm-ip-address-start}" + "${on-premises.active-directory.primaryDC-IP}", + "${shared-services.active-directory.vm-ip-address-start}", + "next-ip(${shared-services.active-directory.vm-ip-address-start}, 1)" ] } } diff --git a/dockerfile b/dockerfile index 75ba62c2d..badbca91c 100644 --- a/dockerfile +++ b/dockerfile @@ -2,5 +2,8 @@ FROM microsoft/azure-cli WORKDIR /usr/src/app COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt && \ + pip freeze | grep azure | xargs pip uninstall -y && \ + pip freeze | grep msrest | xargs pip uninstall -y && \ + pip install azure-cli && \ pip install --upgrade pip COPY . . diff --git a/docs/archetypes/ntier-iaas/parameters.adoc b/docs/archetypes/ntier-iaas/parameters.adoc index a5ff1ce15..6fbab6067 100644 --- a/docs/archetypes/ntier-iaas/parameters.adoc +++ b/docs/archetypes/ntier-iaas/parameters.adoc @@ -24,5 +24,6 @@ These parameters are specific to the link:../../../archetypes/ntier-iaas/archety | `sql-server-ilb-ip-address` | IPV4 Address -| IP address of the SQL Server load balancer and used by clients to connect to the SQL Server failover cluster. +| IP address of the SQL Server load balancer and the IP address used by clients to connect to the SQL Server failover cluster. + |=== diff --git a/modules/acr/1.0/azureDeploy.json b/modules/acr/1.0/azureDeploy.json index 46e1d8de6..9ba32b227 100644 --- a/modules/acr/1.0/azureDeploy.json +++ b/modules/acr/1.0/azureDeploy.json @@ -36,10 +36,12 @@ ] } }, - "variables": {}, + "variables": { + "acr-name": "[replace(parameters('acr-name'), '-', '')]" + }, "resources": [ { - "name": "[parameters('acr-name')]", + "name": "[variables('acr-name')]", "type": "Microsoft.ContainerRegistry/registries", "apiVersion": "2017-10-01", "location": "[parameters('location')]", @@ -58,7 +60,7 @@ ], "outputs": { "acr-login-server": { - "value": "[reference(resourceId('Microsoft.ContainerRegistry/registries',parameters('acr-name')),'2017-10-01').loginServer]", + "value": "[reference(resourceId('Microsoft.ContainerRegistry/registries',variables('acr-name')),'2017-10-01').loginServer]", "type": "string" } } diff --git a/modules/adds/1.0/azureDeploy.json b/modules/adds/1.0/azureDeploy.json index 55a214fc6..c7adb4113 100644 --- a/modules/adds/1.0/azureDeploy.json +++ b/modules/adds/1.0/azureDeploy.json @@ -5,83 +5,101 @@ "deployment-prefix": { "type": "string", "metadata": { - "description": "Deployment prefix. E.g. Organization-DeploymentType" - } + "description": "Deployment prefix. E.g. Organization-DeploymentType" + } }, - "sas-key":{ - "type":"string", - "metadata":{ - "description":"Shared Access Signature Key used to download custom scripts" + "sas-key": { + "type": "securestring", + "metadata": { + "description": "Shared Access Signature Key used to download custom scripts" } }, - "output-params-storage-account-name":{ - "type":"string", - "metadata":{ - "description":"Default storage account name. Storage account that contains output parameters and common scripts" + "output-params-storage-account-name": { + "type": "securestring", + "metadata": { + "description": "Default storage account name. Storage account that contains output parameters and common scripts" } }, - "oms-workspace-id": { + "output-params-storage-key": { + "type": "securestring", + "metadata": { + "description": "Default storage account Key. Storage account that contains output parameters and common scripts" + } + }, + "la-workspace-id": { "type": "string", "metadata": { "description": "WorkspaceId or CustomerId value of OMS. This value is referenced in OMS VM Extension" } }, - "oms-primary-shared-key": { - "type": "string", + "la-primary-shared-key": { + "type": "securestring", "metadata": { "description": "WorkspaceKey value of OMS. This value is referenced in OMS VM Extension" } }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Storage account used to store diagnostic information" + } + }, + "storageAccount-sasToken": { + "type": "securestring", + "metadata": { + "description": "Diagnostic Storage Account SAS token" + } + }, "adds-address-start": { "type": "string", "metadata": { - "description": "IP address used as initial Active Directory Domain Services IP" - } + "description": "IP address used as initial Active Directory Domain Services IP" + } }, - "kv-uri":{ - "type":"string", - "metadata":{ - "description":"AKV URI" + "kv-uri": { + "type": "securestring", + "metadata": { + "description": "AKV URI" } }, "kv-id": { - "type": "string", + "type": "securestring", "metadata": { "description": "AKV Resource Id" } }, - "aad-principal-id":{ - "type":"string", + "aad-principal-id": { + "type": "securestring", "defaultValue": "", - "metadata":{ + "metadata": { "description": "Azure Active Directory Service Principal ID" } }, - "aad-certificate-thumb":{ - "type":"string", + "aad-certificate-thumb": { + "type": "securestring", "defaultValue": "", - "metadata":{ + "metadata": { "description": "Azure Active Directory Thumbprint" } }, - "aad-certificate-url":{ - "type":"string", + "aad-certificate-url": { + "type": "securestring", "defaultValue": "", - "metadata":{ + "metadata": { "description": "Azure Active Directory Certificate URL. Certificate gets installed in the VMs" } }, "adds-key": { - "type": "string", + "type": "securestring", "defaultValue": "", "metadata": { - "description": "Active Directory Domain Services AKV encryption key" - } + "description": "Active Directory Domain Services AKV encryption key" + } }, "vnet-id": { "type": "string", "metadata": { - "description": "Shared services Virtual Network resource Id" + "description": "Shared services Virtual Network resource identifier" } }, "vnet-resourceGroup": { @@ -121,7 +139,7 @@ } }, "admin-username": { - "type": "string", + "type": "securestring", "metadata": { "description": "The username used to establish ADDS VMs" } @@ -141,7 +159,7 @@ }, "virtualMachine-size": { "type": "string", - "defaultValue": "Standard_DS1_v2", + "defaultValue": "Standard_DS2_v2", "metadata": { "description": "Size of the ADDS VMs" } @@ -150,8 +168,7 @@ "type": "string", "defaultValue": "Windows", "allowedValues": [ - "Windows", - "Linux" + "Windows" ], "metadata": { "description": "OS platform of the ADDS VM image" @@ -164,31 +181,31 @@ } }, "domain-name": { - "type": "string", - "metadata": { + "type": "string", + "metadata": { "description": "AD domain name" } }, "on-premises-primaryDC-IP": { - "type": "string", - "metadata": { + "type": "string", + "metadata": { "description": "On-premises domain IP" } }, "on-premises-AD-Sitename": { - "type": "string", - "metadata": { + "type": "string", + "metadata": { "description": "On-premises Active Directory site name" } }, "dc-drive-letter": { - "type": "string", - "metadata": { + "type": "string", + "metadata": { "description": "Drive letter to install ADDS" } }, "domain-admin-user": { - "type": "string", + "type": "securestring", "metadata": { "description": "Domain user that has privileges to join a VM into a Domain" } @@ -204,49 +221,56 @@ "metadata": { "description": "Indicates whether or not to encrypt the VM disks" } - }, - "encryption-secrets": { - "type": "array", - "defaultValue": [ - { - "sourceVault": { - "id": "[parameters('kv-id')]" - }, - "vaultCertificates": [ - { - "certificateUrl": "[parameters('aad-certificate-url')]", - "certificateStore": "My" - } - ] - } - ] } }, "variables": { "resource-prefix": "[concat(parameters('deployment-prefix'), '-', parameters('extension-name'))]", + "uniqueString": "[uniqueString(subscription().id, resourceGroup().id, concat(parameters('deployment-prefix'), '-adds'))]", "configuration-url-sasToken": "[concat('?', parameters('sas-key'))]", "subnet-name": "[parameters('shared-services-subnet-name')]", "availabilitySet-name": "[concat(variables('resource-prefix'), '-as')]", "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-vm')]", "subnet-id": "[concat(parameters('vnet-id'), '/subnets/', variables('subnet-name'))]", - "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(variables('resource-prefix'), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", "antimalware-extension-name": "IaaSAntimalware", "diagnostics-extension-name": "IaaSDiagnostics", "networkWatcher-extension-name": "NetworkWatcher", + "MMA-extension-name": "OMSExtension", + "custom-adds-extension-name": "DSCSetupADDS", "encryption-extension-name": "AzureDiskEncryption", "encryption-operation": "EnableEncryption", "key-encryptionAlgorithm": "RSA-OAEP", - "diagnostic-storageAccount-id": "[resourceId('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name'))]", - "wad-logs": " ", - "wad-perf-counters1": "", - "wad-perf-counters2": "", - "wad-cfgx-start": "[concat(variables('wad-logs'), variables('wad-perf-counters1'), variables('wad-perf-counters2'), '", "dc-asg-id": "[resourceId(parameters('vnet-resourceGroup'),'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('dc-asg-name'), '-asg'))]", - "empty-array": [] + "encryption-secrets": [ + { + "sourceVault": { + "id": "[parameters('kv-id')]" + }, + "vaultCertificates": [ + { + "certificateUrl": "[parameters('aad-certificate-url')]", + "certificateStore": "My" + } + ] + } + ], + "empty-array": [], + "tag-patching": "3rdSat7pm", + "windows-password-policies-extension-name": "PwdPolicies", + "windows-dependency-extension-name": "DependencyAgent", + "windows-dependency-extension-publisher": "Microsoft.Azure.Monitoring.DependencyAgent", + "windows-dependency-extension-type": "DependencyAgentWindows", + "windows-dependency-extension-handler-version": "9.6", + "max-password-age": 70, + "min-password-age": 1, + "min-password-length": 14, + "pwd-history-count": 24, + "pwd-min-length-config-name": "MinimumPasswordLength", + "pwd-min-age-config-name": "MinimumPasswordAge", + "pwd-not-last-24-config-name": "EnforcePasswordHistory", + "pwd-without-reversible-encryption-config-name": "StorePasswordsUsingReversibleEncryption", + "pwd-max-age-config-name": "MaximumPasswordAge", + "pwd-complexity-config-name": "PasswordMustMeetComplexityRequirements", + "web-server-with-tls-1.1-config-name": "AuditSecureProtocol" }, "resources": [ { @@ -255,7 +279,7 @@ "location": "[resourceGroup().location]", "name": "[variables('availabilitySet-name')]", "tags": { - "displayName": "[variables('availabilitySet-name')]" + "layer": "Identity" }, "properties": { "platformFaultDomainCount": 2, @@ -272,7 +296,7 @@ "location": "[resourceGroup().location]", "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic')]", "tags": { - "displayName": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic')]" + "displayName": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), ' Network Interface')]" }, "copy": { "name": "nicLoop", @@ -288,7 +312,7 @@ "subnet": { "id": "[variables('subnet-id')]" }, - "applicationSecurityGroups":[ + "applicationSecurityGroups": [ { "id": "[variables('dc-asg-id')]" } @@ -298,36 +322,15 @@ ] } }, - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-06-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/virtualMachines", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1))]", "tags": { - "displayName": "[concat(variables('virtualMachine-name-prefix'), copyindex(1))]" + "layer": "Identity", + "computerName": "[concat(parameters('extension-name'), '-vm',copyindex(1))]", + "UpdateManagement": "[variables('tag-patching')]" }, "copy": { "name": "vmLoop", @@ -335,8 +338,7 @@ }, "dependsOn": [ "[resourceId('Microsoft.Compute/availabilitySets', variables('availabilitySet-name'))]", - "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]" ], "properties": { "availabilitySet": { @@ -346,7 +348,7 @@ "computerName": "[concat(parameters('extension-name'), '-vm',copyindex(1))]", "adminUsername": "[parameters('admin-username')]", "adminPassword": "[parameters('admin-password')]", - "secrets": "[if(equals(parameters('enable-encryption'), bool('false')), variables('empty-array'), parameters('encryption-secrets'))]" + "secrets": "[if(equals(parameters('enable-encryption'), bool('false')), variables('empty-array'), variables('encryption-secrets'))]" }, "hardwareProfile": { "vmSize": "[parameters('virtualMachine-size')]" @@ -359,14 +361,14 @@ "version": "latest" }, "osDisk": { - "name": "[replace(toLower(substring(concat(parameters('extension-name'), copyindex(1), '-osdisk', '-', replace(concat(variables('uniqueString'), variables('uniqueString')), '-', '')), 0, 30)), '-', '')]", + "name": "[replace(toLower(substring(concat(parameters('extension-name'), copyindex(1), '-osdisk', '-', replace(concat(variables('uniqueString'), variables('uniqueString')), '-', '')), 0, 30)), '-', '')]", "osType": "[parameters('os-type')]", "createOption": "FromImage" }, "dataDisks": [ { "lun": 0, - "name": "[replace(toLower(substring(concat(parameters('extension-name'), copyindex(1), '-dsk1', '-', replace(concat(variables('uniqueString'), variables('uniqueString')), '-', '')), 0, 30)), '-', '')]", + "name": "[replace(toLower(substring(concat(parameters('extension-name'), copyindex(1), '-dsk1', '-', replace(concat(variables('uniqueString'), variables('uniqueString')), '-', '')), 0, 30)), '-', '')]", "diskSizeGB": 127, "createOption": "Empty", "caching": "None" @@ -383,40 +385,40 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, "resources": [ { "type": "extensions", - "name": "OMSExtension", + "name": "[variables('mma-extension-name')]", "apiVersion": "2015-06-15", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" ], "properties": { - "publisher": "Microsoft.EnterpriseCloud.Monitoring", - "type": "MicrosoftMonitoringAgent", - "typeHandlerVersion": "1.0", - "autoUpgradeMinorVersion": true, - "settings": { - "workspaceId": "[parameters('oms-workspace-id')]" - }, - "protectedSettings": { - "workspaceKey": "[parameters('oms-primary-shared-key')]" - } + "publisher": "Microsoft.EnterpriseCloud.Monitoring", + "type": "MicrosoftMonitoringAgent", + "typeHandlerVersion": "1.0", + "autoUpgradeMinorVersion": true, + "settings": { + "workspaceId": "[parameters('la-workspace-id')]" + }, + "protectedSettings": { + "workspaceKey": "[parameters('la-primary-shared-key')]" + } } }, { "type": "extensions", - "name": "DSCSetupADDS", + "name": "[variables('custom-adds-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "OMSExtension" + "[variables('MMA-extension-name')]" ], "properties": { "publisher": "Microsoft.Powershell", @@ -434,7 +436,7 @@ "DiskId": 2 } }, - "protectedSettings": { + "protectedSettings": { "configurationUrlSasToken": "[variables('configuration-url-sasToken')]" } } @@ -446,7 +448,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupADDS')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('custom-adds-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.Security", @@ -472,7 +474,7 @@ "apiVersion": "2017-03-30", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupADDS')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('custom-adds-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.Diagnostics", @@ -480,12 +482,280 @@ "typeHandlerVersion": "1.5", "autoUpgradeMinorVersion": true, "settings": { - "xmlCfg": "[base64(concat(variables('wad-cfgx-start'), variables('wad-metrics-resource-id'), variables('virtualMachine-name-prefix'), copyindex(1), variables('wad-cfgx-end')))]", - "storageAccount": "[variables('diagnostic-storageAccount-name')]" + "StorageAccount": "[parameters('storageAccount-name')]", + "StorageType": "Blob", + "WadCfg": { + "DiagnosticMonitorConfiguration": { + "overallQuotaInMB": 5120, + "Metrics": { + "resourceId": "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "MetricAggregation": [ + { + "scheduledTransferPeriod": "PT1H" + }, + { + "scheduledTransferPeriod": "PT1M" + } + ] + }, + "DiagnosticInfrastructureLogs": { + "scheduledTransferLogLevelFilter": "Error" + }, + "PerformanceCounters": { + "scheduledTransferPeriod": "PT1M", + "PerformanceCounterConfiguration": [ + { + "counterSpecifier": "\\Processor Information(_Total)\\% Processor Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\% Privileged Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\% User Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\Processor Frequency", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Processes", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Thread Count", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Handle Count", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\System Up Time", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Context Switches/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Processor Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\% Committed Bytes In Use", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Available Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Committed Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Cache Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pool Paged Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pool Nonpaged Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pages/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Page Faults/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Working Set", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Working Set - Private", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Read Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Write Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Idle Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Read Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Write Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Transfers/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Reads/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Writes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Transfer", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Read", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Write", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Read Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Write Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Free Space", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Free Megabytes", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Total/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Sent/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Received/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Sent/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Received/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Outbound Errors", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Received Errors", + "unit": "Count", + "sampleRate": "PT60S" + } + ] + }, + "WindowsEventLog": { + "scheduledTransferPeriod": "PT1M", + "DataSource": [ + { + "name": "Application!*[System[(Level = 1 or Level = 2 or Level = 3)]]" + }, + { + "name": "Security!*[System[band(Keywords,4503599627370496)]]" + }, + { + "name": "System!*[System[(Level = 1 or Level = 2 or Level = 3)]]" + } + ] + } + } + } }, "protectedSettings": { - "storageAccountName": "[variables('diagnostic-storageAccount-name')]", - "storageAccountKey": "[listkeys(variables('diagnostic-storageAccount-id'), '2016-12-01').keys[0])", + "storageAccountName": "[parameters('storageAccount-name')]", + "storageAccountSasToken": "[parameters('storageAccount-sasToken')]", "storageAccountEndPoint": "https://core.windows.net" } } @@ -497,7 +767,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupADDS')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('custom-adds-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.NetworkWatcher", @@ -506,18 +776,190 @@ "autoUpgradeMinorVersion": true } }, + { + "type": "extensions", + "name": "[variables('windows-password-policies-extension-name')]", + "apiVersion": "2017-03-30", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + ], + "properties": { + "publisher": "Microsoft.Compute", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.8", + "autoUpgradeMinorVersion": true, + "settings": { + "fileUris": [ + "[concat('https://', parameters('output-params-storage-account-name'), '.blob.core.windows.net/scripts/windows/enable-local-policy-settings.ps1')]" + ] + }, + "protectedSettings": { + "storageAccountName": "[parameters('output-params-storage-account-name')]", + "storageAccountKey": "[parameters('output-params-storage-key')]", + "commandToExecute": "[concat('powershell -ExecutionPolicy Unrestricted -File ./windows/enable-local-policy-settings.ps1 -MaxPwdAge ', variables('max-password-age'), ' -MinPwdAge ', variables('min-password-age'), ' -MinPwdLength ', variables('min-password-length'), ' -PwdHistoryCount ', variables('pwd-history-count'))]" + } + } + }, + { + "type": "extensions", + "name": "[variables('windows-dependency-extension-name')]", + "apiVersion": "2018-06-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-password-policies-extension-name')]" + ], + "properties": { + "publisher": "[variables('windows-dependency-extension-publisher')]", + "type": "[variables('windows-dependency-extension-type')]", + "typeHandlerVersion": "[variables('windows-dependency-extension-handler-version')]", + "autoUpgradeMinorVersion": true + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-min-length-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-min-length-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-min-age-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-min-age-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-not-last-24-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-not-last-24-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-without-reversible-encryption-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-without-reversible-encryption-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('web-server-with-tls-1.1-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('web-server-with-tls-1.1-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-max-age-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-max-age-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-complexity-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-complexity-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2015-05-01-preview", + "name": "AzurePolicyforWindows", + "type": "extensions", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "publisher": "Microsoft.GuestConfiguration", + "type": "ConfigurationforWindows", + "typeHandlerVersion": "1.1", + "autoUpgradeMinorVersion": true, + "settings": {}, + "protectedSettings": {} + } + }, { "type": "extensions", "name": "[variables('encryption-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", - "condition": "[equals(parameters('enable-encryption'), bool('true'))]", + "condition": "[parameters('enable-encryption')]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupADDS')]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('custom-adds-extension-name'))]", "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('antimalware-extension-name'))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('diagnostics-extension-name'))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('networkWatcher-extension-name'))]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('diagnostics-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('networkWatcher-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'AzurePolicyforWindows')]" ], "properties": { "publisher": "Microsoft.Azure.Security", @@ -542,7 +984,7 @@ "name": "[concat('vm', copyindex(1), 'OSEncryptionNestedDeployment')]", "type": "Microsoft.Resources/deployments", "apiVersion": "2016-09-01", - "condition": "[equals(parameters('enable-encryption'), bool('true'))]", + "condition": "[parameters('enable-encryption')]", "dependsOn": [ "vmLoop" ], @@ -561,7 +1003,7 @@ "apiVersion": "2017-03-30", "type": "Microsoft.Compute/virtualMachines", "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1))]", - "condition": "[equals(parameters('enable-encryption'), bool('true'))]", + "condition": "[parameters('enable-encryption')]", "location": "[resourceGroup().location]", "properties": { "storageProfile": { @@ -616,7 +1058,7 @@ "resources": [ { "type": "extensions", - "name": "DSCSetupADDS", + "name": "[variables('custom-adds-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ @@ -641,7 +1083,7 @@ "DiskId": 2 } }, - "protectedSettings": { + "protectedSettings": { "configurationUrlSasToken": "[variables('configuration-url-sasToken')]", "configurationArguments": { "AdminCreds": { @@ -697,7 +1139,7 @@ } } ], - "functions":[ + "functions": [ { "namespace": "vdc", "members": { @@ -732,6 +1174,5 @@ } } ], - "outputs": { - } -} + "outputs": {} +} \ No newline at end of file diff --git a/modules/adds/1.0/azureDeploy.parameters.json b/modules/adds/1.0/azureDeploy.parameters.json index c83fa2161..945d6a8ad 100644 --- a/modules/adds/1.0/azureDeploy.parameters.json +++ b/modules/adds/1.0/azureDeploy.parameters.json @@ -33,7 +33,7 @@ "value": "Standard_DS2_v2" }, "adds-address-start": { - "value": "${shared-services.adds.vm-ip-address-start}" + "value": "${shared-services.active-directory.vm-ip-address-start}" }, "domain-name": { "value": "${on-premises.active-directory.domain-name}" diff --git a/modules/aks/1.0/azureDeploy.json b/modules/aks/1.0/azureDeploy.json index aca6cd4d3..125e958a7 100644 --- a/modules/aks/1.0/azureDeploy.json +++ b/modules/aks/1.0/azureDeploy.json @@ -8,12 +8,6 @@ "description": "Deployment prefix. E.g. Organization-DeploymentType" } }, - "shared-services-deployment-prefix": { - "type": "string", - "metadata": { - "description": "Deployment prefix for Shared Services. E.g. Organization-DeploymentType" - } - }, "location": { "type": "string", "metadata": { @@ -97,10 +91,17 @@ "description": "Boolean flag to turn on and off of RBAC." } }, - "vnet-subnet-id": { + "vnet-id": { + "type": "string", + "metadata": { + "description": "Resource ID of virtual network" + } + }, + "default-subnet-name": { "type": "string", + "defaultValue": "default", "metadata": { - "description": "Resource ID of virtual network subnet used for nodes and/or pods IP assignment." + "description": "Name of the private subnet inside the workload virtual network." } }, "service-cidr": { @@ -121,13 +122,13 @@ "description": "A CIDR notation IP for Docker bridge." } }, - "oms-id": { + "la-resourceId": { "type": "string", "metadata": { - "description": "Resource ID containing the insights" + "description": "Resource Identifier of Log Analytics" } }, - "diagnostic-event-hub-name": { + "diagnostics-event-hub-name": { "type": "string", "defaultValue": "", "metadata": { @@ -140,10 +141,10 @@ "description": "Resource ID of the event hub authorization rule for the Event Hubs namespace in which the event hub should be created or streamed to." } }, - "oms-storage-id": { + "storageAccount-resourceId": { "type": "string", "metadata": { - "description": "Storage account for the diagnostics events" + "description": "Diagnostic Storage Account resource identifier" } }, "rbac-server-appid": { @@ -187,30 +188,44 @@ "metadata": { "description": "AKS Cluster deployment Subcription Id" } + }, + "shared-services-subscription-id": { + "type": "string" + }, + "azure-firewall-resource-group": { + "type": "string", + "metadata": { + "description": "Azure Firewall Resource Group name" + } + }, + "azure-firewall-name": { + "type": "string", + "metadata": { + "description": "Azure Firewall Resource name" + } } }, "variables": { "auth-rule-resource-id": "[parameters('diagnostics-event-hub-auth-rule-id')]", "aks-cluster-name": "[concat(parameters('deployment-prefix'), '-k8s')]", + "subnet-id": "[concat(parameters('vnet-id'), '/subnets/', parameters('default-subnet-name'))]", "emptyContent": {}, "omsAgentConfig": { "omsagent": { "enabled": true, "config": { - "logAnalyticsWorkspaceResourceID": "[parameters('oms-id')]" + "logAnalyticsWorkspaceResourceID": "[parameters('la-resourceId')]" } } - }, - "azure-fw-resource-group": "[concat(parameters('shared-services-deployment-prefix'), '-net-rg')]", - "azure-fw-name": "[concat(parameters('shared-services-deployment-prefix'), '-az-fw')]" + } }, "resources": [ { "apiVersion": "2017-05-10", "name": "nestedDeployCreateAzureApplicationRules", "type": "Microsoft.Resources/deployments", - "resourceGroup": "[concat(parameters('shared-services-deployment-prefix'),'-net-rg')]", - "subscriptionId": "[parameters('subscription-id')]", + "resourceGroup": "[parameters('azure-firewall-resource-group')]", + "subscriptionId": "[parameters('shared-services-subscription-id')]", "dependsOn": [], "properties": { "mode": "Incremental", @@ -224,12 +239,12 @@ "type": "Microsoft.Network/azureFirewalls", "apiVersion": "2018-08-01", "location": "[resourceGroup().location]", - "name": "[variables('azure-fw-name')]", + "name": "[parameters('azure-firewall-name')]", "properties": { - "ipConfigurations": "[reference(resourceId(parameters('subscription-id'), variables('azure-fw-resource-group'), 'Microsoft.Network/azureFirewalls', variables('azure-fw-name')), '2018-08-01').ipConfigurations]", - "natRuleCollections": "[reference(resourceId(parameters('subscription-id'), variables('azure-fw-resource-group'), 'Microsoft.Network/azureFirewalls', variables('azure-fw-name')), '2018-08-01').natRuleCollections]", - "applicationRuleCollections": "[concat(reference(resourceId(parameters('subscription-id'), variables('azure-fw-resource-group'), 'Microsoft.Network/azureFirewalls', variables('azure-fw-name')), '2018-08-01').applicationRuleCollections, parameters('azure-firewall-application-rule-collection'))]", - "networkRuleCollections": "[concat(reference(resourceId(parameters('subscription-id'), variables('azure-fw-resource-group'), 'Microsoft.Network/azureFirewalls', variables('azure-fw-name')), '2018-08-01').networkRuleCollections, parameters('azure-firewall-network-rule-collection'))]" + "ipConfigurations": "[reference(resourceId(parameters('shared-services-subscription-id'), parameters('azure-firewall-resource-group'), 'Microsoft.Network/azureFirewalls', parameters('azure-firewall-name')), '2018-08-01').ipConfigurations]", + "natRuleCollections": "[reference(resourceId(parameters('shared-services-subscription-id'), parameters('azure-firewall-resource-group'), 'Microsoft.Network/azureFirewalls', parameters('azure-firewall-name')), '2018-08-01').natRuleCollections]", + "applicationRuleCollections": "[concat(reference(resourceId(parameters('shared-services-subscription-id'), parameters('azure-firewall-resource-group'), 'Microsoft.Network/azureFirewalls', parameters('azure-firewall-name')), '2018-08-01').applicationRuleCollections, parameters('azure-firewall-application-rule-collection'))]", + "networkRuleCollections": "[concat(reference(resourceId(parameters('shared-services-subscription-id'), parameters('azure-firewall-resource-group'), 'Microsoft.Network/azureFirewalls', parameters('azure-firewall-name')), '2018-08-01').networkRuleCollections, parameters('azure-firewall-network-rule-collection'))]" } } ] @@ -256,7 +271,7 @@ "vmSize": "[parameters('agent-vm-size')]", "osType": "[parameters('os-type')]", "storageProfile": "ManagedDisks", - "vnetSubnetID": "[parameters('vnet-subnet-id')]" + "vnetSubnetID": "[variables('subnet-id')]" } ], "servicePrincipalProfile": { @@ -275,7 +290,7 @@ "serverAppSecret": "[parameters('rbac-server-secret')]", "tenantID": "[parameters('rbac-tenant')]" }, - "addonProfiles": "[if( empty(parameters('oms-id')) , variables('emptyContent'), variables('omsAgentConfig'))]" + "addonProfiles": "[if( empty(parameters('la-resourceId')) , variables('emptyContent'), variables('omsAgentConfig'))]" }, "resources": [ @@ -287,9 +302,9 @@ ], "apiVersion": "2017-05-01-preview", "properties": { - "workspaceId": "[parameters('oms-id')]", - "storageAccountId": "[parameters('oms-storage-id')]", - "eventHubName": "[parameters('diagnostic-event-hub-name')]", + "workspaceId": "[parameters('la-resourceId')]", + "storageAccountId": "[parameters('storageAccount-resourceId')]", + "eventHubName": "[parameters('diagnostics-event-hub-name')]", "eventHubAuthorizationRuleId": "[parameters('diagnostics-event-hub-auth-rule-id')]", "logs": [ { diff --git a/modules/aks/1.0/azureDeploy.parameters.json b/modules/aks/1.0/azureDeploy.parameters.json index 7be29420e..6dd426d65 100644 --- a/modules/aks/1.0/azureDeploy.parameters.json +++ b/modules/aks/1.0/azureDeploy.parameters.json @@ -53,8 +53,8 @@ "enable-rbac": { "value": "${workload.kubernetes.enable-rbac}" }, - "vnet-subnet-id": { - "value": "/subscriptions/${general.workload.subscription-id}/resourceGroups/${workload.resource-group-prefix}-net-rg/providers/Microsoft.Network/virtualNetworks/${workload.resource-group-prefix}-vnet/subnets/default" + "default-subnet-name": { + "value": "${workload.network.subnets[0].name}" }, "service-cidr": { "value": "${workload.kubernetes.service-cidr}" @@ -73,5 +73,14 @@ }, "subscription-id": { "value": "${workload.subscription-id}" + }, + "azure-firewall-resource-group": { + "value": "${shared-services.network.resource-group-name}" + }, + "azure-firewall-name": { + "value": "${shared-services.network.network-virtual-appliance.azure-firewall.name}" + }, + "shared-services-subscription-id": { + "value": "${shared-services.subscription-id}" } } \ No newline at end of file diff --git a/modules/automation-account/1.0/azureDeploy.json b/modules/automation-account/1.0/azureDeploy.json new file mode 100644 index 000000000..bef609799 --- /dev/null +++ b/modules/automation-account/1.0/azureDeploy.json @@ -0,0 +1,434 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "deployment-prefix": { + "type": "string", + "metadata": { + "description": "Deployment prefix. E.g. Organization-DeploymentType" + } + }, + "location": { + "type": "string", + "allowedValues": [ + "Australia Central", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Central India", + "East US", + "East US 2", + "France Central", + "Japan East", + "Korea Central", + "North Europe", + "South Central US", + "Southeast Asia", + "UK South", + "West Central US", + "West Europe", + "West US 2" + ], + "metadata": { + "description": "Specify the region for your automation account" + } + }, + "month": { + "type": "string", + "defaultValue": "[utcNow('MM')]", + "metadata": { + "description": "Format: yyyy/mm/dd hh:mm:ss AM/PM, start time must be at least 5 minutes after the time you create the schedule" + } + }, + "year": { + "type": "string", + "defaultValue": "[utcNow('yyyy')]", + "metadata": { + "description": "Format: yyyy/mm/dd hh:mm:ss AM/PM, start time must be at least 5 minutes after the time you create the schedule" + } + }, + "um-timezone": { + "type": "string", + "metadata": { + "description": "Time zone format is based on IANA ID and restricted to below values only for now, full list at: https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows" + }, + "defaultValue": "America/Chicago", + "allowedValues": [ + "America/New_York", + "America/Chicago", + "America/Los_Angeles", + "Europe/London", + "Europe/Budapest", + "Asia/Bangkok", + "Asia/Singapore" + ] + }, + "la-workspace-resourceGroup": { + "type": "string", + "metadata": { + "description": "Log Analytics resource group name" + } + }, + "la-workspace-name": { + "type": "string", + "metadata": { + "description": "Log Analytics workspace name" + } + }, + "storageAccount-resourceId": { + "type": "string", + "metadata": { + "description": "Diagnostic Storage Account resource identifier" + } + }, + "la-resourceId": { + "type": "string", + "metadata": { + "description": "OMS workspace resource identifier" + } + }, + "logs-retention-in-days": { + "type": "int", + "defaultValue": 365, + "minValue": 0, + "maxValue": 365, + "metadata": { + "description": "Specifies the number of days that logs will be kept for; a value of 0 will retain data indefinitely." + } + } + }, + "variables": { + "azure-automation-account-name": "[concat(parameters('deployment-prefix'), '-automation-account')]", + "day": 1, + "month": "[if(equals(parameters('month'), 12), '01', padLeft(string(add(int(parameters('month')), 1)), 2, '0'))]", + "year": "[if(equals(parameters('month'), 12), add(int(parameters('year')), 1), parameters('year'))]", + "um-startdate": "[concat(variables('year'), '/', variables('month'), '/', variables('day'), ' 11:00:00 PM')]", + "tag-patching": [ + { + "name": "2ndSat7pm", + "schedule": { + "startTime": "[variables('um-startdate')]", + "isEnabled": true, + "interval": 1, + "frequency": "Month", + "timeZone": "[parameters('um-timezone')]", + "advancedSchedule": { + "monthlyOccurrences": [ + { + "occurrence": 2, + "day": "Saturday" + } + ] + } + } + }, + { + "name": "3rdSat7pm", + "schedule": { + "startTime": "[variables('um-startdate')]", + "isEnabled": true, + "interval": 1, + "frequency": "Month", + "timeZone": "[parameters('um-timezone')]", + "advancedSchedule": { + "monthlyOccurrences": [ + { + "occurrence": 3, + "day": "Saturday" + } + ] + } + } + }, + { + "name": "4thSat7pm", + "schedule": { + "startTime": "[variables('um-startdate')]", + "isEnabled": true, + "interval": 1, + "frequency": "Month", + "timeZone": "[parameters('um-timezone')]", + "advancedSchedule": { + "monthlyOccurrences": [ + { + "occurrence": 4, + "day": "Saturday" + } + ] + } + } + }, + { + "name": "2ndSun7pm", + "schedule": { + "startTime": "[variables('um-startdate')]", + "isEnabled": true, + "interval": 1, + "frequency": "Month", + "timeZone": "[parameters('um-timezone')]", + "advancedSchedule": { + "monthlyOccurrences": [ + { + "occurrence": 2, + "day": "Sunday" + } + ] + } + } + }, + { + "name": "3rdSun7pm", + "schedule": { + "startTime": "[variables('um-startdate')]", + "isEnabled": true, + "interval": 1, + "frequency": "Month", + "timeZone": "[parameters('um-timezone')]", + "advancedSchedule": { + "monthlyOccurrences": [ + { + "occurrence": 3, + "day": "Sunday" + } + ] + } + } + }, + { + "name": "4thSun7pm", + "schedule": { + "startTime": "[variables('um-startdate')]", + "isEnabled": true, + "interval": 1, + "frequency": "Month", + "timeZone": "[parameters('um-timezone')]", + "advancedSchedule": { + "monthlyOccurrences": [ + { + "occurrence": 4, + "day": "Sunday" + } + ] + } + } + } + ] + }, + "resources": [ + { + "apiVersion": "2015-10-31", + "type": "Microsoft.Automation/automationAccounts", + "name": "[variables('azure-automation-account-name')]", + "location": "[parameters('location')]", + "properties": { + "sku": { + "name": "Basic" + } + }, + "resources": [ + { + "type": "Microsoft.Automation/automationAccounts/providers/diagnosticsettings", + "name": "[concat(variables('azure-automation-account-name'), '/Microsoft.Insights/service')]", + "apiVersion": "2016-09-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[variables('azure-automation-account-name')]" + ], + "properties": { + "storageAccountId": "[parameters('storageAccount-resourceId')]", + "workspaceId": "[parameters('la-resourceId')]", + "logs": [ + { + "category": "JobLogs", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + }, + { + "category": "JobStreams", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + }, + { + "category": "DscNodeStatus", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + } + ], + "metrics": [ + { + "category": "AllMetrics", + "enabled": true, + "retentionPolicy": { + "days": "[parameters('logs-retention-in-days')]", + "enabled": true + } + } + ] + } + } + ] + }, + { + "name": "[concat('nestedDeploymentUM-Win',variables('tag-patching')[copyindex()].name)]", + "type": "Microsoft.Resources/deployments", + "comments": "Using nested deployment because a nested resource cannot have a copy function", + "apiVersion": "2017-05-10", + "copy": { + "count": "[length(variables('tag-patching'))]", + "name": "patchingWinTagLoop" + }, + "dependsOn": [ + "[variables('azure-automation-account-name')]" + ], + "properties": { + "mode": "Incremental", + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "variables": {}, + "resources": [ + { + "name": "[concat(variables('azure-automation-account-name'), '/windows-um-',subscription().displayName,'-',variables('tag-patching')[copyindex()].name)]", + "type": "Microsoft.Automation/automationAccounts/softwareUpdateConfigurations", + "apiVersion": "2017-05-15-preview", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Unclassified, Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates", + "rebootSetting": "Always" + }, + "duration": "PT3H", + "targets": { + "azureQueries": [ + { + "scope": [ + "[subscription().id]" + ], + "locations": [], + "tagSettings": { + "tags": { + "UpdateManagement": [ + "[variables('tag-patching')[copyindex()].name]" + ] + }, + "filterOperator": "Any" + } + } + ] + } + }, + "scheduleInfo": "[variables('tag-patching')[copyindex()].schedule]" + } + } + ] + } + } + }, + { + "name": "[concat('nestedDeploymentUM-Linux',variables('tag-patching')[copyindex()].name)]", + "type": "Microsoft.Resources/deployments", + "apiVersion": "2017-05-10", + "copy": { + "count": "[length(variables('tag-patching'))]", + "name": "patchingLinuxTagLoop" + }, + "dependsOn": [ + "[variables('azure-automation-account-name')]", + "patchingWinTagLoop" + ], + "properties": { + "mode": "Incremental", + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "variables": {}, + "resources": [ + { + "name": "[concat(variables('azure-automation-account-name'), '/linux-um-',subscription().displayName,'-',variables('tag-patching')[copyindex()].name)]", + "type": "Microsoft.Automation/automationAccounts/softwareUpdateConfigurations", + "apiVersion": "2017-05-15-preview", + "properties": { + "updateConfiguration": { + "operatingSystem": "Linux", + "linux": { + "includedPackageClassifications": "Unclassified, Critical, Security, Other", + "rebootSetting": "Always" + }, + "duration": "PT3H", + "targets": { + "azureQueries": [ + { + "scope": [ + "[subscription().id]" + ], + "locations": [], + "tagSettings": { + "tags": { + "UpdateManagement": [ + "[variables('tag-patching')[copyindex()].name]" + ] + }, + "filterOperator": "Any" + } + } + ] + } + }, + "scheduleInfo": "[variables('tag-patching')[copyindex()].schedule]" + } + } + ] + } + } + }, + { + "name": "nestedDeploymentLinkService", + "type": "Microsoft.Resources/deployments", + "resourceGroup": "[parameters('la-workspace-resourceGroup')]", + "apiVersion": "2017-05-10", + "dependsOn": [ + "[variables('azure-automation-account-name')]", + "patchingLinuxTagLoop" + ], + "properties": { + "mode": "Incremental", + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "variables": {}, + "resources": [ + { + "type": "Microsoft.OperationalInsights/workspaces/linkedServices", + "name": "[concat(parameters('la-workspace-name'), '/' , 'Automation')]", + "apiVersion": "2015-11-01-preview", + "location": "[parameters('location')]", + "properties": { + "resourceId": "[resourceId('Microsoft.Automation/automationAccounts', variables('azure-automation-account-name'))]" + } + } + ] + } + } + } + ], + "outputs": { + "automation-account-resourceId": { + "type": "string", + "value": "[resourceId('Microsoft.Automation/automationAccounts', variables('azure-automation-account-name'))]" + } + } +} \ No newline at end of file diff --git a/modules/automation-account/1.0/azureDeploy.parameters.json b/modules/automation-account/1.0/azureDeploy.parameters.json new file mode 100644 index 000000000..d3066c1df --- /dev/null +++ b/modules/automation-account/1.0/azureDeploy.parameters.json @@ -0,0 +1,14 @@ +{ + "deployment-prefix": { + "value": "${general.organization-name}-${ENV:ENVIRONMENT-TYPE.deployment-name}" + }, + "location": { + "value": "${ENV:ENVIRONMENT-TYPE.automation-account.region}" + }, + "um-startdate": { + "value": "2019/03/29 7:00 PM" + }, + "um-timezone": { + "value": "America/Chicago" + } +} \ No newline at end of file diff --git a/modules/azure-fw/1.0/azureDeploy.json b/modules/azure-fw/1.0/azureDeploy.json index ce31ec4a8..fadfd8993 100644 --- a/modules/azure-fw/1.0/azureDeploy.json +++ b/modules/azure-fw/1.0/azureDeploy.json @@ -32,23 +32,21 @@ "description": "Specifies the shared services UDR" } }, - "oms-workspace-resourceGroup": { + "storageAccount-resourceId": { "type": "string", - "minLength": 1, "metadata": { - "description": "Name of the Resource Group housing the OMS workspace." + "description": "Diagnostic Storage Account resource identifier" } }, - "oms-workspace-name": { + "la-resourceId": { "type": "string", - "minLength": 1, "metadata": { - "description": "Name of the OMS workspace used for diagnostic log integration." + "description": "OMS workspace resource identifier" } }, "logs-retention-in-days": { "type": "int", - "defaultValue": 0, + "defaultValue": 365, "minValue": 0, "maxValue": 365, "metadata": { @@ -61,35 +59,9 @@ "azure-fw-pip-name": "[concat(parameters('deployment-prefix'), '-az-fw-pip')]", "azure-fw-pip-id": "[resourceId('Microsoft.Network/publicIPAddresses', variables('azure-fw-pip-name'))]", "azure-fw-name": "[concat(parameters('deployment-prefix'), '-az-fw')]", - "shared-services-udr-name": "[concat(parameters('deployment-prefix'), '-', parameters('shared-services-udr-name'), '-udr')]", - "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(replace(parameters('deployment-prefix'), '-', ''), 'azfwdiag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]" + "shared-services-udr-name": "[concat(parameters('deployment-prefix'), '-', parameters('shared-services-udr-name'), '-udr')]" }, "resources": [ - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-06-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Azure Firewall Diagnostic Storage Account')" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "name": "[variables('azure-fw-pip-name')]", "type": "Microsoft.Network/publicIPAddresses", @@ -209,7 +181,17 @@ "api.snapcraft.io", "api.rubygems.org", "*.powershellgallery.com", - "powershellgallery.com" + "powershellgallery.com", + "*.msecnd.net", + "msecnd.net", + "*.nuget.org", + "nuget.org", + "*.azureprofilerfrontdoor.cloudapp.net", + "azureprofilerfrontdoor.cloudapp.net", + "*.download.opensuse.org", + "download.opensuse.org", + "*.monitoring.azure.com", + "monitoring.azure.com" ] } ] @@ -240,6 +222,21 @@ "protocols": [ "Any" ] + }, + { + "name": "allow-windows-activation-server", + "sourceAddresses": [ + "*" + ], + "destinationAddresses": [ + "23.102.135.246" + ], + "destinationPorts": [ + "1688" + ], + "protocols": [ + "TCP" + ] } ] } @@ -253,12 +250,11 @@ "apiVersion": "2016-09-01", "location": "[resourceGroup().location]", "dependsOn": [ - "[concat('Microsoft.Network/azureFirewalls/', variables('azure-fw-name'))]", - "[concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name'))]" + "[concat('Microsoft.Network/azureFirewalls/', variables('azure-fw-name'))]" ], "properties": { - "storageAccountId": "[resourceId('Microsoft.Storage/storageAccounts', variables('diagnostic-storageAccount-name'))]", - "workspaceId": "[resourceId(parameters('oms-workspace-resourceGroup'), 'Microsoft.OperationalInsights/workspaces', parameters('oms-workspace-name'))]", + "storageAccountId": "[parameters('storageAccount-resourceId')]", + "workspaceId": "[parameters('la-resourceId')]", "logs": [ { "category": "AzureFirewallApplicationRule", @@ -276,6 +272,16 @@ "days": "[parameters('logs-retention-in-days')]" } } + ], + "metrics": [ + { + "category": "AllMetrics", + "enabled": true, + "retentionPolicy": { + "days": "[parameters('logs-retention-in-days')]", + "enabled": true + } + } ] } } diff --git a/modules/azure-fw/1.0/azureDeploy.parameters.json b/modules/azure-fw/1.0/azureDeploy.parameters.json index 0b734af63..6b62a794e 100644 --- a/modules/azure-fw/1.0/azureDeploy.parameters.json +++ b/modules/azure-fw/1.0/azureDeploy.parameters.json @@ -22,8 +22,5 @@ }, "on-premises-address-range": { "value": "${on-premises.network.address-prefix}" - }, - "logs-retention-in-days": { - "value": 30 } } \ No newline at end of file diff --git a/modules/cb/1.0/azureDeploy.json b/modules/cb/1.0/azureDeploy.json index 7dbc95270..b3b301c0b 100644 --- a/modules/cb/1.0/azureDeploy.json +++ b/modules/cb/1.0/azureDeploy.json @@ -26,10 +26,28 @@ "description":"Default storage account name. Storage account that contains output parameters and common scripts" } }, - "oms-id":{ - "type":"string", - "metadata":{ - "description": "ResourceId of the OMS workspace used for diagnostic log integration." + "la-workspace-id": { + "type": "securestring", + "metadata": { + "description": "WorkspaceId or CustomerId value of OMS. This value is referenced in OMS VM Extension" + } + }, + "la-primary-shared-key": { + "type": "securestring", + "metadata": { + "description": "WorkspaceKey value of OMS. This value is referenced in OMS VM Extension" + } + }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Diagnostic Storage Account name" + } + }, + "storageAccount-sasToken": { + "type": "securestring", + "metadata": { + "description": "Diagnostic Storage Account SAS token" } }, "vnet-id": { @@ -195,24 +213,16 @@ "metadata": { "description": "Custom domain used in the cluster creation" } - }, - "azure-firewall-private-ip-address": { - "type": "string", - "metadata": { - "description": "Azure Firewall IP that controls egress traffic" - } } }, "variables": { "resource-prefix": "[concat(parameters('deployment-prefix'))]", "mysql-server-name": "[tolower(parameters('mysql-properties').name)]", "postgres-server-name": "[tolower(parameters('postgres-properties').name)]", - "availabilitySet-name": "[concat(parameters('extension-name'), '-as')]", - "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-vm')]", + "availabilitySet-name": "[concat(variables('resource-prefix'), '-', parameters('extension-name'), '-as')]", + "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), parameters('extension-name'), '-vm')]", "subnet-id": "[concat(parameters('vnet-id'), '/subnets/', parameters('default-subnet-name'))]", "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(variables('resource-prefix'), 'diag')]", - "diagnostic-storageAccount-name": "[replace(toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) ), '-', '')]", "networkWatcher-extension-name": "NetworkWatcher", "osDisk-createOption": "FromImage", "shared-svcs-nsg-id": "[resourceId(parameters('shared-services-subscription-id'), parameters('shared-services-vnet-resourceGroup'), 'Microsoft.Network/networkSecurityGroups', parameters('shared-services-shared-services-nsg-name'))]", @@ -237,7 +247,11 @@ "sourceAddressPrefix": "[parameters('default-subnet-address-prefix')]" } } - ] + ], + "mma-extension-name": "OMSExtension", + "diagnostics-extension-name": "LinuxDiagnostic", + "cb-installation-extension-name": "installcustomscript", + "tag-patching": "3rdSat7pm" }, "resources": [ { @@ -356,29 +370,6 @@ "[concat('Microsoft.DBforMySQL/servers/', variables('mysql-server-name'))]" ] }, - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-10-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/availabilitySets", "apiVersion": "2016-04-30-preview", @@ -461,14 +452,15 @@ "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "tags": { - "displayName": "[concat(variables('virtualMachine-name-prefix'), copyindex(1))]" + "computerName": "[concat(parameters('extension-name'), '-vm',copyindex(1))]", + "UpdateManagement": "[variables('tag-patching')]", + "layer": "Application" }, "copy": { "name": "vmLoop", "count": "[parameters('virtualMachine-count')]" }, "dependsOn": [ - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]", "nestedDeploySharedSvcsNSG", "nicLoop" ], @@ -509,11 +501,753 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, "resources": [ + { + "type": "extensions", + "name": "[variables('mma-extension-name')]", + "apiVersion": "2018-06-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + ], + "properties": { + "publisher": "Microsoft.EnterpriseCloud.Monitoring", + "type": "OmsAgentForLinux", + "typeHandlerVersion": "1.7", + "settings": { + "workspaceId": "[parameters('la-workspace-id')]" + }, + "protectedSettings": { + "workspaceKey": "[parameters('la-primary-shared-key')]" + } + } + }, + { + "type": "extensions", + "name": "[variables('diagnostics-extension-name')]", + "apiVersion": "2017-12-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('mma-extension-name')]" + ], + "properties": { + "publisher": "Microsoft.Azure.Diagnostics", + "type": "LinuxDiagnostic", + "typeHandlerVersion": "3.0", + "autoUpgradeMinorVersion": true, + "settings": { + "StorageAccount": "[parameters('storageAccount-name')]", + "ladCfg": { + "diagnosticMonitorConfiguration": { + "eventVolume": "Medium", + "metrics": { + "metricAggregation": [ + { + "scheduledTransferPeriod": "PT1H" + }, + { + "scheduledTransferPeriod": "PT1M" + } + ], + "resourceId": "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + }, + "performanceCounters": { + "performanceCounterConfiguration": [ + { + "annotation": [ + { + "displayName": "Disk read guest OS", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "readbytespersecond", + "counterSpecifier": "/builtin/disk/readbytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk writes", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "writespersecond", + "counterSpecifier": "/builtin/disk/writespersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk transfer time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagetransfertime", + "counterSpecifier": "/builtin/disk/averagetransfertime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk transfers", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "transferspersecond", + "counterSpecifier": "/builtin/disk/transferspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk write guest OS", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "writebytespersecond", + "counterSpecifier": "/builtin/disk/writebytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk read time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagereadtime", + "counterSpecifier": "/builtin/disk/averagereadtime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk write time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagewritetime", + "counterSpecifier": "/builtin/disk/averagewritetime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk total bytes", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "bytespersecond", + "counterSpecifier": "/builtin/disk/bytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk reads", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "readspersecond", + "counterSpecifier": "/builtin/disk/readspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk queue length", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagediskqueuelength", + "counterSpecifier": "/builtin/disk/averagediskqueuelength", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Network in guest OS", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytesreceived", + "counterSpecifier": "/builtin/network/bytesreceived", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network total bytes", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytestotal", + "counterSpecifier": "/builtin/network/bytestotal", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network out guest OS", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytestransmitted", + "counterSpecifier": "/builtin/network/bytestransmitted", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network collisions", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totalcollisions", + "counterSpecifier": "/builtin/network/totalcollisions", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets received errors", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totalrxerrors", + "counterSpecifier": "/builtin/network/totalrxerrors", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets sent", + "locale": "en-us" + } + ], + "class": "network", + "counter": "packetstransmitted", + "counterSpecifier": "/builtin/network/packetstransmitted", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets received", + "locale": "en-us" + } + ], + "class": "network", + "counter": "packetsreceived", + "counterSpecifier": "/builtin/network/packetsreceived", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets sent errors", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totaltxerrors", + "counterSpecifier": "/builtin/network/totaltxerrors", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Filesystem transfers/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "transferspersecond", + "counterSpecifier": "/builtin/filesystem/transferspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem % free space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentfreespace", + "counterSpecifier": "/builtin/filesystem/percentfreespace", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem % used space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentusedspace", + "counterSpecifier": "/builtin/filesystem/percentusedspace", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem used space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "usedspace", + "counterSpecifier": "/builtin/filesystem/usedspace", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Filesystem read bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "bytesreadpersecond", + "counterSpecifier": "/builtin/filesystem/bytesreadpersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem free space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "freespace", + "counterSpecifier": "/builtin/filesystem/freespace", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Filesystem % free inodes", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentfreeinodes", + "counterSpecifier": "/builtin/filesystem/percentfreeinodes", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "bytespersecond", + "counterSpecifier": "/builtin/filesystem/bytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem reads/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "readspersecond", + "counterSpecifier": "/builtin/filesystem/readspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem write bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "byteswrittenpersecond", + "counterSpecifier": "/builtin/filesystem/byteswrittenpersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem writes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "writespersecond", + "counterSpecifier": "/builtin/filesystem/writespersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem % used inodes", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentusedinodes", + "counterSpecifier": "/builtin/filesystem/percentusedinodes", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU IO wait time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentiowaittime", + "counterSpecifier": "/builtin/processor/percentiowaittime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU user time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentusertime", + "counterSpecifier": "/builtin/processor/percentusertime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU nice time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentnicetime", + "counterSpecifier": "/builtin/processor/percentnicetime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU percentage guest OS", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentprocessortime", + "counterSpecifier": "/builtin/processor/percentprocessortime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU interrupt time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentinterrupttime", + "counterSpecifier": "/builtin/processor/percentinterrupttime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU idle time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentidletime", + "counterSpecifier": "/builtin/processor/percentidletime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU privileged time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentprivilegedtime", + "counterSpecifier": "/builtin/processor/percentprivilegedtime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Memory available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "availablememory", + "counterSpecifier": "/builtin/memory/availablememory", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Swap percent used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentusedswap", + "counterSpecifier": "/builtin/memory/percentusedswap", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Memory used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "usedmemory", + "counterSpecifier": "/builtin/memory/usedmemory", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Page reads", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pagesreadpersec", + "counterSpecifier": "/builtin/memory/pagesreadpersec", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Swap available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "availableswap", + "counterSpecifier": "/builtin/memory/availableswap", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Swap percent available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentavailableswap", + "counterSpecifier": "/builtin/memory/percentavailableswap", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Mem. percent available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentavailablememory", + "counterSpecifier": "/builtin/memory/percentavailablememory", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Pages", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pagespersec", + "counterSpecifier": "/builtin/memory/pagespersec", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Swap used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "usedswap", + "counterSpecifier": "/builtin/memory/usedswap", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Memory percentage", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentusedmemory", + "counterSpecifier": "/builtin/memory/percentusedmemory", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Page writes", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pageswrittenpersec", + "counterSpecifier": "/builtin/memory/pageswrittenpersec", + "type": "builtin", + "unit": "CountPerSecond" + } + ] + }, + "syslogEvents": { + "syslogEventConfiguration": { + "LOG_AUTH": "LOG_DEBUG", + "LOG_AUTHPRIV": "LOG_DEBUG", + "LOG_CRON": "LOG_DEBUG", + "LOG_DAEMON": "LOG_DEBUG", + "LOG_FTP": "LOG_DEBUG", + "LOG_KERN": "LOG_DEBUG", + "LOG_LOCAL0": "LOG_DEBUG", + "LOG_LOCAL1": "LOG_DEBUG", + "LOG_LOCAL2": "LOG_DEBUG", + "LOG_LOCAL3": "LOG_DEBUG", + "LOG_LOCAL4": "LOG_DEBUG", + "LOG_LOCAL5": "LOG_DEBUG", + "LOG_LOCAL6": "LOG_DEBUG", + "LOG_LOCAL7": "LOG_DEBUG", + "LOG_LPR": "LOG_DEBUG", + "LOG_MAIL": "LOG_DEBUG", + "LOG_NEWS": "LOG_DEBUG", + "LOG_SYSLOG": "LOG_DEBUG", + "LOG_USER": "LOG_DEBUG", + "LOG_UUCP": "LOG_DEBUG" + } + } + }, + "sampleRateInSeconds": 15 + } + }, + "protectedSettings": { + "storageAccountName": "[parameters('storageAccount-name')]", + "storageAccountEndPoint": "https://core.windows.net/", + "storageAccountSasToken": "[parameters('storageAccount-sasToken')]" + } + } + }, { "type": "extensions", "name": "[variables('networkWatcher-extension-name')]", @@ -521,7 +1255,8 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'installcustomscript')]" + "[variables('mma-extension-name')]", + "[variables('diagnostics-extension-name')]" ], "properties": { "publisher": "Microsoft.Azure.NetworkWatcher", @@ -532,10 +1267,13 @@ }, { "type": "extensions", - "name": "installcustomscript", + "name": "[variables('cb-installation-extension-name')]", "location": "[resourceGroup().location]", "dependsOn": [ - "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('mma-extension-name')]", + "[variables('diagnostics-extension-name')]", + "[variables('networkWatcher-extension-name')]" ], "apiVersion": "2017-03-30", "properties": { @@ -582,7 +1320,7 @@ "resources": [ { "type": "extensions", - "name": "installcustomscript", + "name": "[variables('cb-installation-extension-name')]", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" diff --git a/modules/cb/1.0/azureDeploy.parameters.json b/modules/cb/1.0/azureDeploy.parameters.json index 066d4808e..86e1f3d99 100644 --- a/modules/cb/1.0/azureDeploy.parameters.json +++ b/modules/cb/1.0/azureDeploy.parameters.json @@ -20,7 +20,7 @@ "value": "${shared-services.active-directory.domain-admin-user}@${shared-services.active-directory.domain-name}" }, "extension-name": { - "value": "cb" + "value": "cb01" }, "domain-name": { "value": "${shared-services.active-directory.domain-name}" diff --git a/modules/custom-la-solution/1.0/azureDeploy.json b/modules/custom-la-solution/1.0/azureDeploy.json new file mode 100644 index 000000000..c5809312e --- /dev/null +++ b/modules/custom-la-solution/1.0/azureDeploy.json @@ -0,0 +1,711 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "workspaceLocation": { + "type": "string", + "defaultValue": "", + "metadata": { + "description": "Specify the workspace region" + } + }, + "workspaceName": { + "type": "string", + "defaultValue": "", + "metadata": { + "description": "Specify the workspace name" + } + } + }, + "variables": { + "omsSolutions": { + "customSolution": { + "name": "Azure Backup Monitoring Solution", + "solutionName": "[concat('AzureBackup', '[', parameters('workspaceName'), ']')]", + "publisher": "Microsoft", + "displayName": "Azure Backup Monitoring Solution", + "description": "Monitor and analyze your Backup Vaults", + "author": "Microsoft" + } + } + }, + "resources": [ + { + "apiVersion": "2015-11-01-preview", + "name": "[parameters('workspaceName')]", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "[parameters('workspaceLocation')]", + "resources": [ + { + "apiVersion": "2015-11-01-preview", + "name": "Azure Backup Monitoring Solution", + "type": "views", + "location": "[parameters('workspaceLocation')]", + "dependsOn": [ + "[resourceId('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]" + ], + "properties": { + "Name": "[variables('omsSolutions').customSolution.name]", + "Author": "[variables('omsSolutions').customSolution.author]", + "Source": "Local", + "Version": 2, + "Dashboard": [ + { + "Id": "InformationBlade", + "Type": "Blade", + "Version": 0, + "Configuration": { + "General": { + "Title": "Azure Backup Monitoring", + "NewGroup": false, + "Color": "#00d8cc" + }, + "Header": { + "Image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAgAElEQVR4Xu3dB2ClZZk24OecnF6TTJLJJNP70EEEFRRkERQFXFQW1rWsZXV3de2/uoB1BTvruqwN112wAoroIiBNROlKnZ7JtGTSM8npLSf/e79hBCMzZL587ZxzX/vHZCbzM5NTvvt73vK8nmlFiIiIDpN39m8QERHNBQOEiIgMYYAQEZEhDBAiIjKEAUJERIYwQIiIyBAGCBERGcIAISIiQxggRERkCAOEiIgMYYAQEZEhDBAiIjKEAUJERIYwQIiIyBAGCBERGcIAISIiQxggRERkCAOEiIgMYYAQEZEhDBAiIjKEAUJERIYwQIiIyBAGCBERGcIAISIiQxggRERkCAOEiIgMYYAQEZEhDBAiIjKEAUJERIYwQIiIyBAGCBERGcIAISIiQxggRERkCAOEiIgMYYAQEZEhDBAiIjKEAUJERIYwQIiIyBAGCBERGcIAISIiQxggRERkCAOEiIgMYYAQEZEhDBAiIjKEAUJERIYwQIiIyBAGCBERGcIAISIiQxggRERkCAOEiIgM8Uwrs3+TiOrflHrnp8pVmaxUJVeZlqz6PFyclv2lKfX1tOTUHyhWp0X9Pymry4TXI+L3ePSHT916RtX/JP0eafZ7ZUHAK5EmjyTU57j6HPfz3rQRMECIGkDh6TBIqZCYKFVVSFRlX74q/fkpFRpTMqY+surPTKpAwZ9T+SFTVYTMzOXhwEVCZYgOEo/MhEhA/SKoPhK+mdDoCDVJuwqR7ohPukJeaQ4gZLwSU6ESVB/481Q/GCBEdaii3taoKjIqFLany9KbmZK+fEV2ZisyWJgJi9LUTFCoTPlTQMyXygj9gXBBsCA8OlWoLI/6ZJkKlVUx9bX6jOol6mOY1DoGCFGdyKtAGFeVxYAKiMcnyvLkZElVGaq6KE3pMCmqoMBwlBMQKsEmkbhvZrhrmQqUE1uCskYFCgImqX4PgUO1hQFCVMMwj4Ehqc3pkjy6vyyPTpR0lZEqT+vvuVlQVSkIjrUxvxzXEpCTWv2yQlUnnD+pHQwQohqDN2y6XJUdKigeGivJQ+NF2asqDUyIq+KjJoVVddKqEgXDXC9rC6lA8cti9ZsxjIWRazFAiGoE3qhjxarcP1bUH4/sL+lfu73SOFyqKJFOFR4ntQbl1AUBOV5VJ5hLIfdhgBC5XKk6LftUafH7kZLcM1KQrZmyqkBmltfWM8yxJwMeOToZkLM6w3JCs186gk16FRi5AwOEyKUQELtzFbltsCC/UcGxK1up2SGq+Yr6RDbE/XKmCpIz2oN6uTA5jwFC5ELYn3H3cEGHx3ZVcTRqcMwW86Ei8ctruiJycmtA2jATT45hgBC5yGixKveMFuXGvpz0MDgOCkFyXHNAXr84LC9oCXDllkMYIEQugJ3iT6XK8sM9WXlwrCjZyuw/Qc9lQdAjL+8Iy98sCcvKqF/vNyH7MECIHIaNfz/Zk5Nbh/IymK/O/jY9D2TGyliTXNAdlVcvCun2KWQPBgiRQ7C66r7RovxAhccf95fqbjmu3TCvfnpHSC5eEpFjmgM6WMhaDBAiBwyrquP6vrzctC+nvmbVYaYVqhp549KonL0wxLkRizFAiGz2xGRJvtubld+p6oNVhzWw7PfszrC8ZXlU724nazBAiGyCifI7hgvy3Z0Z2Znh8iqrYcMhNh/+w6qYvKAlyAl2CzBAiGyAPlWY6/jRnqxudEj26Qp75W0rYnJuV5gdf03GACGyGDYFour41UCe+zoc0hzwyEVLovI3SyLSwlVapmGAEFloa7os/7E9LfePleq2dxWGhjBX7fZwRG68RlUh/7gqJu04nITmjQFCZBGczfEf29Lqc3n2t+pKW9Ajr+yMyJ5cRS8McHNQIuzO6gzJu1SI4GREmh/WckQWeGCsKF/Ykqr78IAmj0fO6AjKJRsS8qpFIX22h1th1dutAwX5yta07Mpxu/98MUCITPZ7dRf+5W0p2ZJqjAvU1DSOy52WhaEm+cjahLx9ZVy3GHErFEj3jhTlSyrgMcRIxjFAiEyEyuPK7SnpSbt8QsBk5afHrdBG5M3LIvIBFSTLoy4uRQRBX5Irt7ESmQ8GCLkShhrQ6iOvvshUqvoIV3xgOeyBr/GRrcz8GfxZp4fecULgV9QFqdHCA55dbwS8HnnNorB89qiknNIWcPUBUA+MleSrW9P63BU6fJxEJ8fh7hWb7Arq834VCjimdUh9TJaqKjymVUhUpfL0qxRNP3A90h9Y/aP+B6294z6vJNXdb3vQI4tCTRJt8kqoySNYbOPDH7TYlnRZLt+UkicmG29IBJPonzwiKS9tD83+ll7CfM3urPyiP6eCfvZ33eMVC0PykXVxHlR1mBggZCtUFgiEjPpiQF1RBgpV6c2UpTdbkZHClExUZqoKVBQYFcHHs9t9HPgSkYCv8Rkra2Y+ZgID52fHVIAsCjfJiqhPf2Az2UL1zZgKmgjOSjURhkCuUOHx4Hhp9rcawqECBHLq+byxP6+CJCNDLu37hSrp/O6wvH9NnOevHwYGCFkOL7CMqiwGilPy5GRFNqfKslOFRp8KEAw/ofooWXRdwQ0ldh9HVWgsV0GCMyOOSfrlSPXRqiqW8Dz7W4yrf/jnt6Tk14OF2d9qGM8XIICbgHtHCnL1zqw85dIqDfcVb10elbevjM37ddEoGCBkGcxXDKrQeHyiLA+ru/NNKjjGS1OifsuxJoK4SKACwYohHI364gVBWRf36Y1lh3vRQKX07d6Mbk9iVQDWgrkEyAEY6vvWjoxeqebGxyzh98g/r47LGxZHXD134xYMEDIVgmFEJcRGdZd590hRd54dVb924xwlrg+4YGCo66SWoLykLSAbEv45DWHg5/zxnpxctSPlyp/NTocTIIDXx3V783JdX1YmS+67/CwKe/WellPb5vbzNDIGCJmiol5Gw8WqPiDptsGCPs97ouT8yqi5QmagR9KJLQE5oyMkJ6jPGOI6GKy4+uTGCenPufA22maHGyCAocubB/LyvV0ZVz6GGOb89FFJPX9GB8cAoXnBnXhfviJ3DyM48no5ZK3fkSdVVYIT7c7uDMkLVZBguOvZejIVvcscw3JkLEAACyT+OFGS7+zI6EB2aljzYF7TFZIPr03wiNxDYICQYftLVblLBcfP+3OyXVUcbm+md7iwPBiVyIVLwnJ8c1BPxOPOGbvMf96Xd90FzylGA+QArGK7ujcrt6sbkKKLihG0ZHnP6oRctDTCs0QOggFChw0b+HD3fYMKjsfVHWS2xiuO59Ma8MhpHSG5cHFEtqQrcqUKEJ7p8Yz5BgjgZgRLfTEvMph3T4p0hr3yKfWzvWhBcPa3SBggdJgwRPXDPTl9tzjuwglQq2BFDiZXVXbKSKFaM3M7djAjQAAV3R1DBflWb1p6XXRi42ntQfnUkUmeI/Ic+IjQnKCdyP8NFOSyJyfl+r25hgoPwHg9JnuHGR6WwTAR5p0+rS7WL1MX7TkshrPFg+NF+Vk/hyyfi0ueInIzLLv8xo6MXL55QrfqcPN5D1T7jk4G5NINCb0Xww2t4TG3d0NfVu9hoT/HAKFD+uP+knxmU0quU1VHra+uotqBnlQ4OfB9axJ6HsJpmJfBewCbR+kZzj8z5Eo43+HWwYJ8atOkPjsBY/9Edor7vXLhkohctiEpxzX7Z3/bVoiN34wU5LejxdnfamgMEPoLaH6HXdb/vi0le7LumcykxoPFC6e0BeXjGxJy5sKgPtfcKdg1f2NfTobrbb36PDj4dJAbYTnld3Zm5Js70jLo0s6p1HjWxf3ysfVJeduKmKOnHWJI99dDBc4DPo0BQn+C8PhWb0ZVH1lXn91A7uL5s+OkrNMW9Opuudjc1x1x5tKFKRAEyDA6ghIDhGZgpdV/9qT1El2GBx0OzJfZtcQVh4Sd3xWWy49q1s0vndghvi1dllsGCvrMmkbHACF98t93erPyy31c605zgz0aWGKrT4P0e/TpkHbBvMixzQE9L3KOChO7DxHEFMgdQ3kZ4FwId6I3OixLvEpVHj9RlQfDgw7AnT1CAscB45yUmAqJJI4NVr/ZFvLKAn+TdKjPzTj9UYXI2rhf79S2MUe0yXJVft6fl2t3Z2S0aN8LGJP5WGJ88dLGPjeEAdLAMPTwg905VX2kOWzV4HDQVqAJVYVHukI+WRnzSXsAYdEkS1SpgTNTWlVY+NXVEuHiezpc3AA3PrcPFeS7OzOyPW3fZqUTWvzyxWNa9NxMo2KANLAb+nJ63gPndlDjwGUfwz7YZ9EWmDk7Hquc1qrQwBkoLeqCmGjyqkDx/KkKcTu8gnHiJU47vH/Mnn1LaPv/0Q1JeeXCUMNWIQyQBoX+Pp/ZNOnKw3zIfLjARVQgYNgJpy6uic0Exmr1EVPlRLBpprKoddij8YM9Od16xI4u0dibcsmGxm20yABpQDi74/JNKXl0gr196hmqDMxZdKkvcEDW8c1+6Y40qapj5vx3rGiqR5jXw4KQa/dYf9phpwrky49u1ufGNCIGSIPBWR6Xb0npZYhUfzDkhIltDEkd3zITGssiPn0YVr0GxnPBvMgf9xflqp6MPGbhjRIe0jcvj8q7V8Uk2IDjWAyQBoI31c/6Z1qU2FHekz1wEcN4/FIVFCe1BuXE1pnQQPXRSKHxXLapavu7vVm5Z6Rg2YmZRyX98uVjm1U1YvN6YhdggDSQR8aL8ulNKdmbs+idRLbCPgxMgJ+sQuPFCwKyXlUdOL870IB3woeCfU7X9eXk+3uyup+V2ZIBjz618OUd8ztQqxYxQBoE3kT/tjmllztSbWtWF6zVMb+8tE0FR1tAloR9ek6DDq6gyu9bBgtyze6M7DT5tEMsgX7jsplhrEZ7HhggDQAdFzB09eWtKcvKeLIWLksLQ149GX5OZ0iOSPilNeitiSW2bvLEZEm+uSMjD42VdF8rsxyZ8MnlxzTrocNGwgBpALtyFbn0yUl5atK6yUSyBuKhXQUH5jbO7wrJWlV5JBt0yahZ+vIVuWZXTlUkecmUp005ohgdgj97JPpzBWd/q64xQOocSnccR/vDPVlbNleRebBn46XtQTl3UVhWRn2ScMsh4XUAS33/byAv39qRlnET5kWwGf1Ny6LyzgZbjcVXZJ3Dno/b1J0Ww6N2tAQ8cl53WK44ulk+sjYhxzUHGB4mw7LmpZEmvYHSDMUqhsfKuqJpJHxV1jH0uvq/gYIM8WComoDh85d3BOXTRyblQ2vj8oKWQMMvw7VCXlXlv9iXl69uS8uwie8NDI2NlhprkpEBUse2psry25GCKWO8ZB2s4jmxxS8fXpfUy0Ff1h7SezjIfGh1gs2FX9yS0o0XzexAnVLVx47sVEO93/gqrVO4y/rVYMHUOywy36KwV/5uWVQuU1XHa7vCnCC30BZ1Q/WVbTi6ICsZM5dgPQ0V/+5sRcoNdNAUX611aneuIveOFky9wyLzYNPyy9qD8lkVHNg/gOWfDTT3aiu8B+4aKsilGyfkNnVTZdV8IP67PZmynqBvFAyQOoQboAfHSjLK6sOVFkea5F0r43LphoSc2BrkPIeFcODU93dn5YvbUtKTtn5+oj8/JfutSigXYoDUobHSlNw1XNArQ8g9MDp1mqo6PqWqjjctj0hHA/ZOshOOnP3a9rR8c0daBvP2vBkmVHjsL9nzd7kBA6TOoPp4fKKsNw+Se2BPB/YJ4BzvE1sC3EFuIQwgPTxelM9umtTH3dp52ib2XSG4GmUQiwFSZzKVqjw4Xmq49ehutj7hk/+3LiHvXBlryI6tdjrQ8wp93+4bLekbKjvh79+ZqUixQSYfGSB1ZlSVz49OFDl57gJYiYsT6zBkdebCEOc6LIaho+/uzMoXt0zK7qyNZcezYPpjn6pAsCKrETBA6kxPusKNgy6AVusXLYnKR9cndJt1slaPuuv/6va0/O+ujEyY0JrEKNy4Tagga5R5dAZIHUH5/OD+YkMtI3Sj9qBX3rM6oZfntgcbY8jKqVccLtj3jRblE09NyC/78+KG+eu0ev+VG6TFIAOkjqQrVdkyWbZ93JeesSzaJB9al5CLlkZ0v6V6gos1Nqim1O31aLGqT/v7vbp43zFUkH15+yeO8W+5vi8nn9syKZtS7lk0glWQmItsBOzGW0ceGi/KpU9Ncve5Q3AmxL+sjcsLW4I1vylwJiyqupqdVBdD7CnqzVakTwXFcHFKD9NgvwM+R1RQYpEAWrDY9WOjJcn3d+fkp/1Z1x3PjNbuVx7bos9uqXcMkDpRUmXHD/fk9Jp3HhplvxNa/PJ+FR7HJGvzooGqNacCAy0+0MUAp/YhMPAxUKjo4VHc8aNX4OwR0oTfoxtA2nWk6xMTJbl6Z1YPXc3+t7gBjri94qjGOBuEAVIn0upu8Os9GblBlfQcwrLXya0BeZ8KD5wSWEvQswnj9egguzVVkUfVhbk3U9GriDAEowqNOa3ma1N33J88Iikvbbc2QLCyCaHx7d6MbHbRkNVsMVWRXaYej7M7rX083IABUifQQuHSJyfURYCnDtoFw1QID8x5rI7VxlGmqFTRNRZVBjacPqZCY0e2LJOlaT1cZeRiYEeAYN7lJ3tzuhHiaNHIv9I+WIH3sQ1JOb8rPPtbdYeT6HUCPX+GcMtItkF4YNiqFsIjp8IBk97XqYvwZzZNyiVPTag7+bT8dqQo/bmZoSu3XpZxc/Sfqrr+750Z14fHAY3SkZcBUicwmZmby3gDmeIFLX754Lq4rHPxHg9cxDAchQ60X9iakg8/PiFX9cyEBnpDuX2uDC/nB8eLcpkKOwzN2tmSZD7wLnTj3IwVGCB1AG+0PnU1wPDE4cDGaHxgxzQa/eFcZ3zGr/Fx4Pt2raypFcck/fLeNXFZE3NneOD1sDNbkZ/25eWyJyfk3zZPyk39edmTnaqZizDCD2eWX745JX/cX3tL0zExUGP/ZEM4B1IHsDoGXUd/vCf3p997Jgg8uoVGVH94Jeb3SLP6RtTnlYj6vaD6Pv4cmvupb+sXPtpo4WWB3bSV6ZnVN4XqzGe9rLOMu9dpPamJ38NnvOH1n6/W9xtnZaxJLt2QlBNa3LfaCs8JmmjePVyUO4fz0p+zJzDMngPBHhMMtV3fl5X9Du4qNwrtzt6zOi5vXBat+5svBkgdwATjFVtS+vjaReEmWRn1693QC9UruSPYJF0hr7Spr0MqLLAv2qc+YwJYf6hfozGs51kv9QOj4XhlYEfJgbupKfUF7m7xgcDIqi/GitgXMC1Dhaf3B6h/y4C6amE+BivD8GfdPlQyV3hMP7wu4brVNbg778mW5fbBotw2NBMcdo5mmhkgaEmCVVY4AKpWh4Fw8/auVXF56/KoruDrGQOkDuDO88nJkv7cHfFJqyopAiodfE9XIFa/hnEBQ+sGVB8V9YsMgqU0pcIFE/tV2Zwqy65sRS8XRZdgzNXUWq8g7HX4Z3VXeUF3WD+mboDHfV+hIrep4LhlMCd7s2jiN/tPWc+MAMENyQNjRb2/A6vDahleHeeq18nH1yckXOcJwgAhS+Eih2DDEBgqlO3pimxTH1g6ik1qk6WqLcMs84EhPpxbjt5WGPJzA1R3tw8X5Ya9WdmewTncs/+EfeYbIFgh9tP+nFyzKysjTiSgBdYlfPLlY5tlSdj9K/TmgwFCtpoZ0sIGtqpenomL3x/GS7I1U9btuFGhuOkFibg4qzOkl+sucsFZHpiTekzdoeOgpHtHCjLpgnNf5hMgg0+3JPm5ChAsJa4XaGfy8fVJOaMjVPNtbQ6FAUKOQoWCXc84x+SpybLeDY3hOLsmgJ8PVlxdfkxSFrvgThIX21sGCnJdX1YGbDqidS6MBsjj6rn+Vm9GHhwr2TpnYweMXJ3XHZYProlLHCVsnWKAkGvgIpJ9ujJ5SFUl948VpUdVJuOlaUeWcTYHZu4inZ40x8++MVXShyWhYabbTis+3ADBcvN7RjDfkdEtVOrVC1sD8rmjktLhgsrVKgwQciUM1aDlxrZ0WV9ssKEMLcPtWtEVVQXH21bE5c3LIo5OmmOF3c1PVx1ocOhGhxMgWFhxXV9OblA/z1iN7Co3CkcZf/34lro+E6Z+ayuqadiX0hrwyosWBOV9a+Jy+VHN6oIe0y3TseHRai9Wf+/rHF5xhf0QGOL5ek/KteFxOHRLkh1p+R9VedR7eABWG2LYsZ5/UlYgVDOw1HOwOCW/HS7JHUN52aKqEyvmSbojXrni6GZHW7MfmB94aKzk+v0Qz1eBYGjyYVVBfkf9PFgAUG/zHQeDeZA1cZ+8qjMsL2kLyLKITy+vrycMEKpJ6PF0+2BBbhnM66XBZl2U0En13avi8qZlUUdWz+DHQMtydBbAcudacKgAwXwHhuDQuNFNE/92QpCsjPnk3K6wvGJhyBWr+czCAKGahYvTXlWC3KouUL8emun1NN8XMybMP7Y+IS3YTmwzzPv8cl9Brt6Z1h1ya8XBAmSk+MwSXTcsN3Yabk7Wx/1y4dKo7uSMIdpaxwChmofqA5PtP96bkzuHCob3EywKe+ULxzgzdIW9MTfty+sTJWut/xMC5BMqQHCk7QEYXvzezqzcrp4PJ1bQuRmCBKcVYnPqseq15kSla5baj0BqeBgi2JDw6zX3l6gL2THN/sPuQYSJ+XM6w460Z0d44LCk7/TWXngccOAiiHmq348W5bMbJxkeB4F5uzuHivJp9Rj9r959b8FEnk1YgVDdwfzIT/bk5Jf7cnoPyVxgkvOSDUnpxu2hjdDNGOFxdW/GcOXktI6QVz5/dLMcmfTLj9Tj/sM9WRku1M4QnJMwioWVhm9ZHpXjm2uvGmGAUF1C2/nfjBTl2t0Z2fI8m9WSfo98XIXHWQvtbTuBORyc2YE5j1pe1rpQBcg7VsZ0aGC/Co7HpcODYwLevDwmZ6vXYC01YGSAUF1Dw0YchXrHUOGgmxCxMuYTRyRsbTmBeRv0s7qqJzXnKsmtfOp6F1chjArKyaaOtS6mHsjzusIqSKLSWSMrtex7xxA5YGXUJ+9fk5A3LYvpSmM2tCt59aKQreEBvxstyH/vStd8eABG3jB3w/CYHwQwDtK6cltanyhZC1iBUEPAqYl3Dhflu71p2fH0rm6MFLxhSUTvdLdz2AANIz+7aVJ662B3OVnj2Ga/vHd1TE5sDc7+lqvYe9tFroSVMhhSOfBRj3cUOMfjVZ0h+ci6hByRmOms2xb0yjmd9o45o7XFN3oyDA86JByq9cWtaX3IlpuxAqlTCAIsqUQ44O47OzVz1gYOdsIBPpjALVVF/xpfYxgCrwRMIuPIW5yhHvLia9FH4UbUF7jQ6rPV1de45uJ76FlVax5TFcDXtqVlVXxm6W8Eg/g2mFAP+Nd60nJjX372t4ie04pYk7x3VVxevjBk+cmiRjBA6gT2EmBJaF6FAbrWYgwVn9MqGUbUXe9ocUpS6muECf4sdj3DgXX6z34VzJyRPvPZq75CM9Fwk1cFh0da/DNnrSd9M5+XRb2yNOJTwTITMGGf9UfomqEvXxG/+gHRKdWOlVd4brCxDud9A+ZIEb4zIYzhtGfOqUe1hCaOCHocFYznBs8Xjgw+cGOAwDerfQu52+JIk3x4bVxO7/jLVjFOY4DUKIQAWn0PqHDYV6jKllRZtqbLMqbucnHa34EqQ59TbvIzrKsPz8x567h7x+oRBMuqmF/WJ/yyNOyVLhUqzahaaiRQrIbmiP/Vk9HDg6tjPlmggmtB0Cut/pnqLqYeVJXBKkA8em8AHjNUiAgOVTyqCnJaH/+LmwDcDOD0xiH1eUg99zh/Hs/3zM3B7L+Z6sHyaJP8v3UJvYPdTRggNQR3seOlmbBAV1O079iZq+gT/bCZ1ek7Ulz0cGcdUhdDnOC3NuGTIxMBOb7ZLwvUVTFh80ont8Dzgos9nr829Tjg8UH1YXTqBf89BAsqEazcwU5mnLPRk52STamS7M1N6fPn8/omYvb/b6pVq2JNctkRSTmu2f5WOwfDAHE5XHRG1R3m5smKPLK/JE9MlvQFI112/8UBVQqGvTBZvVpVJ6eou6e1cZ90q5Sxe9ms0zBUaPVQGapSnEGBCrQnXVEVaUW/XnarmwzMv1jR+p7shZuxTxyZlBU48cwFGCAuhCcEwxQ9mYo+jQ+Tvno+Q4VGLT9ZeM23Bprk+JaAPrAJbwbMQRi9E6dDwxAmXjM4Q+VJVbHeN1bUVSuGv4ouv/mggzu9Iyj/uj7hiqNyGSAugjFsLPP8w/6yPjAJAYKhCaeHpsyGwIj5PbJKJcpp7SE5sTUgKyI+21ZDNSIMd6GlOqqRP6pKFg0Pd+nKpM5eXA0AxfvfLo3Ku1fFbF2C/lwYIC6AoYe9+Yru0HnXcEH61dc1shF13nAThcnkl7aF5Ex1Z3VkMuD4m6LeIUyw2AJzaXcMF1WgFHUfK7MXW5B1UM2/b21CXt8dsXxo9FAYIA5CcOxRYXHbQEHuVMGBYSq3z2tYBW+CdhUkOFPir1SQ4EwOViTWS5erul8Ybl5+N6ZuXnJTHN6qEUsiTfK5o5OOnF9zAAPEARiSQpVxU39e7hopSJ9607KP0AxERnvIK2d0hOQ1i0L6fA4sFyZrYbFGv7qBwYFcd6vX5M5MhUFSA85YiPmQpF6o4gQGiM1G1bsSnWFxVsUWE8/yrjeIjG51h3XuorC8UgUJlgVzZMt6GN7qQ5AMF+WWgZzs4c2Nq2EI+B9WxvV5Ik68PxggNsEE+e9HinLjvrw8Ml7kkso5wqa6NTGfXLAkKmd1BBtu+a9TsM9kV3ZK3ejk5ZbBPA+IcrGusFcuP7rZkf0hDBAboK0Izn64SVUdXPViDCYN0crhDYsjcnQy4MjdViPCUmDsor9pX0HuHSnolVzkPq/uCumd6kmbb7AYIBZC1fGb4aJcsyujN3Vxlcv8LY02ycWqGjm7MyStKE/IFphsv2e0JD/ry+pOsRx6dZeE3yPvX5uQv6aembgAAB7uSURBVO4O29o6iAFiEUxI4nCYwzmXm+YGx5ZjtdbbVkT1JDvZB+fNX69e1zcPcFjLbY5O+uULxzZLl40bDBkgJsOdGQ4Muro3Iw+Pl3inZqENCZ+8aXlML/tFB1uyB5afYzPiNbuz8oh6jbOydgeMXr1ndVzetCxq294QBoiJ8Ma6ebAg/7srI3uynCW3Q2vAIxcvjcqFiyOS5JCWrQ5U2TcP5GS0yMuIGxypbqo+r6qQJWF7emUxQEwyjNK+L6/eUFlONNoMFfsrOsPytuVR1zSZaxSY57t3pChX78zIdi5LdxyGd9+xMi5vXhaxZf8UA8QEGBf++va03DVU4OYrB72wNSDvXxtXd2GcF7EbzqL5wZ6c3DaQ53vAYetVFfKVY1ukG2liMQbIPD01WZJv7sjK70bdfXZxo1in3jzvXR2TFy8IcamvzXDg1Y/35uSn/TlOsDsIcyEfWZ/QS96tfgtw0HgeMJH4hS1phoeLbE1V5PPqObldVYMHjusle2AO6u9XROVDaxOyLGr93S89N3QOuGe4oJdeW40BYtD9Y0X54taUPDlZnv0tchh6i125LSU37cvr1hxkn4DXo/foXLIhoYcUyRnbMxXZlLL+2sQAMQBnKXxJhceWVIP0XK9BOCv8qp6ZEOHErv1Oag3KpUck5OUd7jrDu1GMF6v6MDo0ybQSA+QwPaAqjyu3p6Q3w2W6boelpd/uzcgvB/K6txPZa1nEp8fiz+8O655mZB/szfnD/pnjr63Ep/UwPDRelK9sS0tP2tonhcyDydxv9KTl1kFn50TwVyPE9LnlFRw1W9WTzjhedlx94MzySfV7WfU93DVieazFN4+2wK7oD6yJy4VLonq5NdlnT64iT05aO0rCVVhzhNPbPreZcx61qjvilY+uS+gWKFbCRT8/VRXc+GXUZxxJjBb+GfUNhAU+cur3ESSY4yw//fbDijGfxyMB9UVUfcTUR2uwSfc4Svo8+ux49P7C2n6c2BiqsSVmCMdrdmXlx3uzDXPaptPwCnnDkoh8cG3cstcLA2QOcHb0FZtS8uB4afa3qIasijXJx9Zjcte8cfkDgbFfXSBHVLWzLV2R7ZmyPl1ySKVIRlUURfWHUH3gzyI0UAkd6k2H/V8zgaI+1C9UhugLwCJ1C9+sQgRDQ2vjflkeVaHi96qQ8Vp2gTATKqtrd2d1pwaGiD2wJ+TK41r0a8cKDJDngeGFr25Lya8GnB0CIXMc2+yXTx6ZlJXz2LGOl0FKvS4GVUBgtctTqirdpD4QGOnKTPVh5fATDp9DYGDZ7NKwT/9M6+M+Wa1CpVmFiZvPlM+ox+d/dmblB3uyPBPHBh2hmbNCTmyxZkUcA+QQME79jR0Z+cnenKUXBLIXVgZ9XFUiHYd5V4aL36CqMv44UZKHxor6REkMzWBOw8nXB36MyNMVytHNAXlRa0DWJfzS4tLKBI/X93ZlVTWSkQJDxFJ4bbx9RUw3WLTitcAAOQhUGzf25+Vr21OSYm+ruoKdun+n3lDvWhmb05sKk92b0mW9LPLh8aIennLr3TN+nLjfI+tifjmlPSintgX1RPZcfk474TH9j560PmjNyfBtBGdhX466YbKi2SgD5CDuGy3KFVtSsjfn0isFzUvEJ/oAntd3R56z9TUuasPFKd2u/NbBvB6qwoR4LV3s0AqpS/0P5nxesTAk6+I+ifnMv4gYhcfz31WI3Lwvz+FhCx2R8OlzQqzo0MsAeQ5oU/3Jpybkkf1ccVXPcLrh5Ucl5ajkn48Pp8pVuXO4qA9N2jhZcm21cTgwFn56e0jOWRSSDQm/a85PQSPSz2yclAfGuEDFKu1Br3z6yKS8pM28xSMHMEBmwfjs19VdEc45qKW7TTLmZe1BuXTDzHwIguN+dSH7xb6cPDFZlnSdDV1iFGuRqkhOUReS87vCsibms6Xl9/N5UoX0FZtTsomdHSyBSvQD6w5ebc8HA2QWtL748tZU3V086LnhovqW5VF9d4aK47bBvLqJmP2n6s/iSJNcoC4o53aF9B4Tp/1utCCf2ZRiF18LYM7vrctj8o6VUdMrTwbIs/RkKnLpUxPscdVgsKIXeymw4c+GBqaugTvT41sCcvGSiJzYGnR0+S+aXmK141Wq+q+HIUM3wbP6qkUh+Sgm0pEmJjL3v1bDsMnph3uyDI8GhE1tA/nGCg/Ahfq+0ZJ8YuOkfHNHRgYdXFOLobTXL47I+RYMszQ6VAhDhZlNrWZjgDwNx3L+dqQw+7eJ6t7+Eu7+s/Jvm1L6jBunVkRhqfFFSyNyVJInSpot9XT/NbMxQGSm6dg1u7O6eytRI0LxgYPRLts4Idf15fRiEicsj/jkn1bFpCvMS5OZMMKCfmxma/hnCY/p7UNF3SyRqNH156ryXz1puXpnRjd+dMKJrQE5ryuiJ3/JHFPTaN7JADEdGt/9cl9O988nIuyDmZbvq4r8C1tTstOBrofoSnxBd1hevMD8fQuNCjfKkxasLG3oAEFL7Zv3FbjbnGgWFB+3DhT0yZtOhAj25Vy0JKI3wdH8VVT1gbNmzNbQzw7ODL5zmL14iA4Gq7Qu35ySxyfs3ymOoazXdnMoywwYjOQQlolQfdwyWNDdVYno4B4eL8kXt6RsnycMeD1yfndIVsXM7+HUaBAdJQu2/DVsgPRkynLfGM/4IJqLjamKPs55o80hsijkk/O7InrTI82PBfnRmAGC6gMrrwbzrD6I5gqVyJe22Dsngs3xZy4MygkWHYjUKLA3E4sTzNaQAYIjau8bK3Lug+gwPTZR1rvWR3Dsok3agk16LgTnnJAxeOSaLLjaW/CfdDdMJN09XJQ9Nt5FEdWTO4YK+qROHAplB1z8TlIVyLGz2u7T3KE9jBWHijVcgIypF/3vR4tStOe1T1R3ULn/aiAvN+6zbwVjIuCVVy0KS8xn/kWwEfg9Hmm24LFrqADBax0l+C5WH0TzgtYnaD5697A9C1Fw6Tu5NSDHNbMKMQLDVxEGyPygv8+D40VLNtQQNRqc3fHt3oxsS9uzMqtFVSE43xvt9+nwYAI9ZEGb44YKkL25iu42yvggMse2dEWuVZWIHTdlGMI/SVUhK6Ps1nu4YurBi1mwI9P8/6JLYaz20YmyjNq4eoSoEdw1VJBbBwu2zIe0Bb16KMuC+eC6tiDYJHEOYRmH866xdLcRjislshMOpvrhnoxsTlnf7gRDMae0B6UlYP7FsF4hbJdEmiTmM/9yb/5/0aVw2hp2n9twk0TUcHZkpuTHe3GevPXvsKVhnxzFJb1zhpGrDlWBoDWM2RomQNCCwanzDYgawb2jBXlAVflWaw545dS2oEQ4mT4nCI7OUJMlw34NESA4jWuzChBOfxBZZ7I0Ldf35WTA4rPVcSHckPDrVVn0/FrV47Qsak0zsYZ4BsZKU7oCsb64Jmpsj06U9E51qyfUl4abuBprjrrUY9UWYIAYhgOjxrj1nMhyKD5uGyzIsMXlfsTnlSNUFWLBwqK6gvkPBG3YivEraYAAQefdJyfLkqkwQIjsgMUq94xY26wU18Njk36JMkEOCY/Pcc0MEMMQIDsyFfa+IrIJqpDbB/OW77laFG6ShAWb4+pJs3p8VsZ8upmiFer+0c+qAOnPT9nSr4eIZmxJl+V3YyVLq5C4zysroj7dJ4ue25GqSlsYtGb+A+o+QLD/Y7DA3YNEdkK/0ruHCjJh4dJ5DM+sUXfXFl4faxoWqR2dDFg2fAV1HyBYUpixYXMTEf25TamS7Mha12gR+xu6Iz7xWzU+U+M6w016/sPKh6euAwTDViOFqnD+nMh+k+VpuX+sJBUrDuOWmYn0BQGPBOv6KmbchrhfukLWlmd1/dCXVILszVeEBQiR/TD/8ch4ydIl9DjuNmpBj6dal1TBenpHSOIWLzKw9r/usKJ6Be9DpzcickSfuoHDIW5W3cMl/R5Lx/hr1bKIT05o9lu+wKCuAySvKpDJsnV3P0R0aOnytDw+UZK8RcMA0SavJV1maxny9CULgro6s1pdP/JYwssJdCLn4O2HjbzjZWtGAjCRjl5P9IzOsFde3hG0pHnibHX9yGdV9VHmBhAiR+0rVGTAwqFkG66TNWOm+gjJkrA9rYrrNkAQG2Olqp5IJyLnZMrTsjFVsWRTIcKDI1jPWBxpkvO6QhKxqcVL3T70yA0MX3EEi8hZWISF4xSsuJnzeGaGsWjGixcEZW3cvi7FdRsgU9PTklJ3PvhMRM7anatI2qIFLXyLz+gKe+X8rrAEbQzUOg4QkdxUlT2wiFxgvFSVvRbMg+D9XeCbXLdtf8XCsG6caKe6DRDA8BVfWkTOw3EKu7JTps+DTKv/y3KcWu86f223vdUH1G2AoKydUncmLG+JnDdVnWlsavY8COY/jm0O6J3XjSrcJHLBkojuTGy3ug2QqrozQSNQa0Zdiehw4L2IxqYlk0sQBMhFS8LyuaOS8qpFoYYMkpe2h+T0tuDs37ZF3QYITHEAi8gV8E7EAVNWzFdgJ/qpbSG5dENSPr4+KS9eENBzAo1gZaxJ3rI8Ks0ObaZ05m+1gUf9n8+D/yUiN5goV3V7IavgfJCzFobkkiMS8salUVkYqtvLm4ahq9d1R2Vd3P6hqwPq+hHGXhoGCJE7pCtVyVk84Y055MVhn7x7VUw+c1RSTm4N2NLSw274kc7sDOtNg7hRdkrdBgheSDhoxsHHloieBd2x8ybPgRxMSKXGya1BXY28fklEYjbtzLbL+oRPVVkRy9u1Px9n/3YL4eWC7fw2r2ojooNAdtjdm25pxCfvWx2Xf1kbl446GdJCs8R/VBXWeht3nB9MfTyizwFlK9ZEN7EEIXIFRIdVpxMeCm4kX9cdkQ+tTcgaB+cLzIDTFy9eEpWXOLTqarY6DhCPJFV5xwqEyB1QfOQqs3/XHrihPLszJP+6ISFHJ52/czcCC63eoMLjDYsjjs57PFvdBgiCo9nvkYBLHmiiRofao2R/AfJnjm8OyIfWxeWEltoLkTMWhuTvl0dt67Q7F3UbINCiIjtg/aFcRDRnDieIcpwKkQ+sjctRNVSJvKw9KP+0KiYLMIblIu7615is2c/jLoncAu/EkEvGlI9OBuT9a2J6NZPbnaiqJQQeFgS4TV1fXUvT0+K+h5yoMWEeAqMCbvGC1pm7eqxqcqtjm/3ywXUJR/pczYV7H7l5mChV5deDBfnK1rT0Zh2atSOiP4N+WP158xsqGoVaCH2k3rkyLgm/OyqjZ8M8zcc3JOSIhHuH2jzT0w6sq7NIqlyVB8ZKcvtQQR7ZX5T9Ts/YEdGf4BK9JNokr1wYlrM6Q/qu2g27xAtT0/Lt3oxcuzsrFp15dVjwkJzaHpT3rI7JOhfs9TiUuggQvAAemyjJTfvycv9YUVUgNf8jEdUtbJ5eqs/ujuggWRRyfqXLSHFKPrc5Jb8ZLs7+lq2wwOpM9ZggPNCSxe1qPkD68hX5RX9BhUdOhgouuH0gojlBbmBFFPY14Cxvp5enPq5uQi/bOCl7suafnDgXaI54fndE3ro8Kp0uCNW5qNkAQU+d344U5fuq7NyaLuvxVSKqPa0Bj6pEwnLhkoisdHCyGFMzP96bk//sSdm+4bE96JW/WxaV1y0O19TK0ZoMEFQdP9qTk5sH8hyuIqoDWN27Pu6TtyyPyWntQd0M0Qn71Z3o5ZtTeh7VLkckfPK2FTM/NxrA1pKaChA0Y3t4vChX92bk0Ymy6ecrE5GzFgQ9em7kYlWNdDg0jPPI/pJc8uSE5UPi+PFe2haSt6+MuqIxohE1EyAYssIk+bW7M9Kfs/aJJSLnoPg4rSMo/7DSmY6zWGb8Xz0ZPTxu1fElXWGvXLw0KucuCjt2mqAZaiJAhgtT6snMyc/6c5Kx6hklIlfZkPDJu1SInNYRsv1gOOwf++gTE7I9be5kCCbKX9Ye0nMdJ7QEXNMU0SjXB8jefEWuUncDtw8WOGRF1GA6Q17559Vx3Uk3YOP8AK411+zKyjd3pKVowoAHFpihlfxrFkXk1YtCNV11PJurA6QnU5GvbU/L70aKLmjBRkROwLzIm5fF5G+WRGydXN+dq8i/qipkY2p+VQiGq85aGJbzusN6/0utVx3P5toA2ZQqy9e2peXB8dLsbxFRg8GRtG9fEZOLlkYkbFOI4PTEa3fn5FsGqhAUS21Br7xkQVAuUMGxNu63Nfzs4soAeWKyJJ/fnFIhMr/kJ6L6Efd75I1Lo/KW5VHbQmRHtiIffny/7MzMbXMhuq23hbxyaltIzuwIyoaEv6b2dRwu1wXI9kxZPrcpJY9NlGd/i4gaHCah370qLn+rKhE79kygTdK/b0/L9Xtzh5yDRYXUHWmSU1XFgRVka2J+20LOSa4KEKx8+NKWlNw/xmErInpuyYBH3rUyLm9YHLYlRB4YK8onNk7K8Kx9ITieoy3YJGtjPjm9IyzHJH2yMNSkqhDr/01u4ZoAGS1W5UtbU3LboH07QImoNiFEPro+Ked0hmZ/y3S4Nn1y44TcN1rSm/9ag17dJffYZEBOXhDQzSCT6BDZgFwRIOlyVa7akZEbVJnIbR5ENBdLo03yiQ0JObE1OPtbpsJkOvru/WF/SdYl/LrlSqeqPGIqNBpglOqQHA8QjCtix+c3dqSlMLd5KiIi7fhmv1xyRFJWx6xtwlhRl0mcFdII8xqHw/G66/6xgvxgT5bhQUSHDT3xvrcrI5MWnwSFvRsMj7/kaIBgidy3e7N/MTlFRDRXdw4V5Of9eT3URPZyLECylWk9dPXUJJfrEpFxGL24vi8nD3PTse0cCRDMe9yq7hpuG8zrQ1yIiOajLzcl3+nNyCDHwm3lSID0Zstyw96s7ad+EVH92pgqy68GCnrCm+xhe4Bg6AqnCW41uU0yETU2HGv90/6sXm5L9rA9QB6dKMqdwwUOXRGR6fblqvKzvrzeW0bWszVAxtUtwnV78zLJc8yJyAK4stw7WpB72Q7JFrYGyL2jRVWB8IklIutgbvUX/TndgoSsZVuAYHXEjX05VVqy+iAiaz05WZK7RniKqdVsCxBUH1glQURktayqQm7Zl5eRIpf1WsmWAJkoVeWuoYLuJUNEZIct6bI8sp83rVayPEBQQT4wXpJNaT6RRGSfvCo+fjWQkxTvXC1jeYBgOd3dwwVJceUVEdlsm7pxZbsk61geINsyFXlsoqQrESIiO40Vp+V23MCyCrGEpQGClgIPjZW4nI6IHIEb18fVDewQJ9MtYWmAIDjuGytyKR0ROWZffkr+uL/M7hcWsDRAejMVGSyw5xUROQcNeu9XN7IF3smazrIAyasn6/fqSdvPyXMictj2TFn6eDNrOssCBEdMbk6VOXxFRI4bL1bl0f1lnlpoMssCBMNXe3jgBxG5ANbxbE2XJcc7WlNZEiB4jrarAGHfKyJyAxQeW1Nl3RGczGNJgGQqVenJVvQBL0REbrCvMCUD2J5OprEkQLDmersqF1l/EJFbYGHPHhUgnAYxjyUBMlqoygR3fhKRi2BEZEuqrIOEzGFJgPRmK3ySiMhVUHnw2mQuSwJkp3qSChU+SUTkLpifLXIMyzSWBEhfbkovmyMicpOMurHtz3N7gVksCZDJCtODiNwHw1cDhSo3OJvEmgDhBDoRuRB2oqPJK3ekm8OSAOGTQ0RuhMERnA3CS5Q5LAkQzp8TkRthbCQzVdVnFdH8WRIgfG6IyI1QeUyWOAdiFksChE8OEbkVJtI5zG4OSwKEiMitsMaHHbHMwQAhooaCeRAWIOZggBARkSEMECIiMoQBQkQNpUl9eD2zf5eMYIAQUUNBePDCZw5LHkemOxG5VbDJIz4PL1JmYIAQUUNJ+L3is+TK13gseRgt+Y8SEc2TKj4k7mMFYhZLrvU+liBE5EI+HSBejpKYxJIAieFZIiJyGQxdtQebxG/Jla/xWPIwIuGJiNzGr0qPBQEOYZnFkit9d5gJT0Tugwn0pVHf7N8mgyy5zC+N+CTIQUYicplIk0dimEknU1gSIKtiPolwHoSIXGZJ2CchBohpLAmQzpBXJz0RkVtgWH1t3CdhXptMY0mALAw2ybIIxxmJyD0QHKuiPj2RTuawJECaA15Zn/BzIp2IXKNFXZe6wmilSGax5BIfUAm/IsqxRiJyj7Uxv7QFGSBmsiRAYH3Cx7QnIlcIqivduoSfm5xNZlmAtPq9sjrmY8sAInJczO+RY5I+3YmXzGNZgMR8XjmlLaQblxEROWlF1C/r4n7h1chclgUIKo/1cZ+euCIicgqKjhe2BPRNLZnL0ke0K9QkL1BPHFOfiJyyIOiVF7YGdJCQuSwNEKzCOqk1KNwSQkROOSLh1+2VyHyWBggc2+yX9XH/7N8mIrIc+ia+tC3EoXSLWP6oovf+6R0h4YpeIrLbElV5nNLG4SurWB4geOJObQvKYpaQRGQjLAD9K3XzujDEu1erWB4ggPHHl7eHuCeEiGyzKIzRjyAX8VjIlgBBFXLGwqB6Qm3564iowaEP3xmq+lgc5siHlWy7oqM31jmdEd1SgIjISsvV9eb87jBbt1vMtss5Tig8uzMkK2K8IyAi6yAzzloY4pESNrAtQAAnFb62OyKc0yIiq2xI+OWcRWGuvLKBrQGC5/OM9qAcmwzM/hYR0bwl/B75a3WTuoh3qbawNUCgQz2xFy+NqM+2/9VEVMdwg3paR0jOXBjkik+bOHIVf9GCoLyaJSYRmWhZtEkuWhKRJI9CtY0jjzR6ZL1+cUSOTrLFCRHNHzpdvE5dU9g2yV6OBAh0q2f87Sui0smhLCKap1ctCst5HNWwnaNXbwxlXbw0ylVZRGQYjs9+07KoJNkw0XaOPuJ+r0de2x2WszvDs79FRPS8sBjn3StjeqMy2c/RAAFMeGEo68RWLu0lormL+z3y98tjckpbcPa3yCaOBwig2eK/rInJmjjvIojo+WGu44LuiPx1d1iPZJAzXBEgcEwyIO9ZHZPuiGv+SUTkQgiPc7rC8uZlmD9leDjJVVfrl7WH5J9WJbjJkIgO6hWdIXnvqpg+65yc5apnAPcSZ3cG5R9XxRkiRPRnMFJ1WntQ3rsa1wcu3XQD112lfR6PnKfK03czRIjoWc7oCMqH18f1HjJyB8+0Mvs33WBK/atuHSzIN3akpS83NfvbRNQgMM1x5sKQvH9tnE0SXca1AXLA3cMF+XpPWnozDBGiRoO9ged3R+QdK6I829yFXB8g8Mj+knxThcgf9pfF9f9YIjJFS8AjFy6Jyt8uZYNEt6qJAIHduYp8pzcjvx4sSKk6+7tEVE+wnP+dK+PyyoUhLtV1sZoJEBgrVuX6vpz8rD8nwwWmCFG9QVa8oCUgb1sRlRe2Btkc0eVqKkCgVJ2WB8aK8r2dWXlisqwn24mo9uE0wdcsCssbl0W50qpG1FyAHNCbrciP9uTk10N5mSzV5I9ARDKzv2Nd3CcXLY3KX3UEJebjfEetqNkAgWxlWu5T1chP+3Ly2ERJClyoRVRTsNfrzI6QvH5JRFayo27NqekAOWBQJcfP+/Pyq8G87M1OcaUWkcshK05sCepmiCcvCEqYkx01qS4CBDA3gmGtm1SQ/F5VJf25Kc6PELkMWrAfEffLud0RecmCgLTyEKiaVjcBckBBpUZPpiw/31eQ340W9Gqtal39hES1B3Pi6Lh9ZmdITm8PSnuQk+T1oO4C5IBMpSp7VBVy93BR7lVBMpCfkslyXf6oRK6EvX9tQa+sUxXHKzvDcnyzXwcHj++oH3UbIAdgGGukOCUPjpfknpGCbJosy2ixKpW6/qmJnINqY3XMrwIjIKd1BPUKK66sqk91HyAHIEhS5arszVXk0YmyPKwCZZf6elL9Xk6lCedLiIzBsRzJgFfPZxyVDMgLWwKyPuGT9kCTRHwsN+pZwwTIsyEsMMQ1pCqTJycrsj1dlh2Zim6XgjDBhDzbpRD9JQw/ITAC6gsc6LQ86pNVUVQbflkV80nC7+WKqgbSkAHybBX142PifUJVIoP5KRkuTctOFSa92bL+dUoFSlaFTbE6U6VwrwnVO4QEMgAfOG8cgRBVlcQCFQ5dEZ+sVkGxNNyku+NiTgPfY2g0poYPkOeSV0kxWlLhUZ6WMVWl9OWrMqo+I2T25qZUlVJVbzK+Yag+4AKAVzOCA4ERUh9Ybhv3eaVZhUZ3RIWFqjZaAupD/bpVfY2D34gYIEREZAiXRhARkSEMECIiMoQBQkREhjBAiIjIEAYIEREZwgAhIiJDGCBERGQIA4SIiAxhgBARkSEMECIiMoQBQkREhjBAiIjIEAYIEREZwgAhIiJDGCBERGQIA4SIiAxhgBARkSEMECIiMoQBQkREhjBAiIjIEAYIEREZwgAhIiJDGCBERGQIA4SIiAxhgBARkSEMECIiMoQBQkREhjBAiIjIEAYIEREZwgAhIiJDGCBERGQIA4SIiAxhgBARkSEMECIiMoQBQkREhjBAiIjIEAYIEREZwgAhIiJDGCBERGQIA4SIiAxhgBARkSEMECIiMoQBQkREhjBAiIjIEAYIEREZwgAhIiJDGCBERGQIA4SIiAxhgBARkSEMECIiMuT/A80KizI2kDcpAAAAAElFTkSuQmCC", + "Label": "Monitoring Solution pack for Azure Backup", + "Link": { + "Label": "More info", + "Url": "https://azure.microsoft.com/en-us/services/backup/" + } + }, + "List": [ + { + "Title": "Monitor Azure Backup!", + "Content": "## Welcome to the monitoring solution of Azure Backup!\nYou can view:\n\n1. **Backup Jobs** and what backup jobs *failed*\n2. **Restore jobs** and what restore jobs *failed*\n3. **Critical Alerts** that need your urgent attention\n4. **Cloud Storage in GB** view along with **Top 5** datasources backed up along with their storage in GB\n5. **Data sources** being backed up\n\n\n[Microsoft](https://assets.onestore.ms/cdnfiles/onestorerolling-1607-15000/shell/v3/images/logo/microsoft.png \"Microsoft\")" + } + ] + } + }, + { + "Id": "SingleQueryDonutBuilderBladeV1", + "Type": "Blade", + "Version": 0, + "Configuration": { + "General": { + "title": "Backup Jobs Breakdown (Non Log)", + "newGroup": false, + "icon": "", + "useIcon": false + }, + "Header": { + "Title": "Backup Jobs Breakdown (Non Log)", + "Subtitle": "" + }, + "Donut": { + "Query": "AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"Job\" | extend JobOperationSubType_s = columnifexists(\"JobOperationSubType_s\", \"\") | where JobOperation_s == \"Backup\" and JobOperationSubType_s != \"Log\" and JobOperationSubType_s != \"Recovery point_Log\" | summarize AggregatedValue = dcount(JobUniqueId_g) by JobStatus_s | order by AggregatedValue desc", + "CenterLegend": { + "Text": "Total", + "Operation": "Sum", + "ArcsToSelect": [] + }, + "Options": { + "colors": [ + "#55d455", + "#ba141a", + "#00bcf2" + ], + "valueColorMapping": [ + { + "value": "Completed", + "color": "#55d455" + }, + { + "value": "Failed", + "color": "#ba141a" + } + ] + }, + "NavigationSelect": {} + }, + "List": { + "Query": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\"; Events | extend JobOperationSubType_s = columnifexists(\"JobOperationSubType_s\", \"\") | where OperationName == \"Job\" and JobOperation_s == \"Backup\" and JobStatus_s == \"Failed\" and JobOperationSubType_s != \"Log\" and JobOperationSubType_s != \"Recovery point_Log\" | distinct JobUniqueId_g, BackupItemUniqueId_s, JobStatus_s, Resource | project BackupItemUniqueId_s, JobStatus_s, Resource | join kind=leftouter ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s | project BackupItemUniqueId_s , BackupItemFriendlyName_s ) on BackupItemUniqueId_s | project BackupItemFriendlyName_s, BackupItemUniqueId_s, JobStatus_s, Resource | extend Vault= Resource | summarize count() by BackupItemFriendlyName_s, JobStatus_s, Vault, BackupItemUniqueId_s | order by count_ desc", + "HideGraph": true, + "enableSparklines": false, + "operation": "Summary", + "ColumnsTitle": { + "Name": "Data Sources", + "Value": "Count" + }, + "Color": "#0072c6", + "thresholds": { + "isEnabled": false, + "values": [ + { + "name": "Normal", + "threshold": "Default", + "color": "#009e49", + "isDefault": true + }, + { + "name": "Warning", + "threshold": "60", + "color": "#fcd116", + "isDefault": false + }, + { + "name": "Error", + "threshold": "90", + "color": "#ba141a", + "isDefault": false + } + ] + }, + "NameDSVSeparator": "", + "NavigationQuery": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\" ; Events | extend JobOperationSubType_s = columnifexists(\"JobOperationSubType_s\", \"\") | where OperationName == \"Job\" and JobOperation_s == \"Backup\" and JobStatus_s == \"Failed\" and JobOperationSubType_s != \"Log\" and JobOperationSubType_s != \"Recovery point_Log\" | distinct JobUniqueId_g, BackupItemUniqueId_s, ProtectedContainerUniqueId_s, JobStatus_s, Resource, JobFailureCode_s | project BackupItemUniqueId_s, ProtectedContainerUniqueId_s, JobStatus_s, Resource, JobFailureCode_s, RecommendedAction_s | join kind=leftouter ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s, BackupItemType_s | project BackupItemUniqueId_s , BackupItemFriendlyName_s, BackupItemName_s, BackupItemType_s ) on BackupItemUniqueId_s | join kind=leftouter ( Events | where OperationName == \"ProtectedContainer\" | distinct ProtectedContainerUniqueId_s, ProtectedContainerFriendlyName_s | project ProtectedContainerUniqueId_s , ProtectedContainerFriendlyName_s ) on ProtectedContainerUniqueId_s | project BackupItemFriendlyName_s, BackupItemName_s, BackupItemUniqueId_s , ProtectedContainerFriendlyName_s, BackupItemType_s, JobStatus_s, Resource, JobFailureCode_s | extend Vault= Resource | where {selected item}", + "NavigationSelect": { + "NavigationQuery": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\" ; Events | extend JobOperationSubType_s = columnifexists(\"JobOperationSubType_s\", \"\") | where OperationName == \"Job\" and JobOperation_s == \"Backup\" and JobStatus_s == \"Failed\" and JobOperationSubType_s != \"Log\" and JobOperationSubType_s != \"Recovery point_Log\" | distinct JobUniqueId_g, BackupItemUniqueId_s, ProtectedContainerUniqueId_s, JobStatus_s, Resource, JobFailureCode_s | project BackupItemUniqueId_s, ProtectedContainerUniqueId_s, JobStatus_s, Resource, JobFailureCode_s, RecommendedAction_s | join kind=leftouter ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s, BackupItemType_s | project BackupItemUniqueId_s , BackupItemFriendlyName_s, BackupItemName_s, BackupItemType_s ) on BackupItemUniqueId_s | join kind=leftouter ( Events | where OperationName == \"ProtectedContainer\" | distinct ProtectedContainerUniqueId_s, ProtectedContainerFriendlyName_s | project ProtectedContainerUniqueId_s , ProtectedContainerFriendlyName_s ) on ProtectedContainerUniqueId_s | project BackupItemFriendlyName_s, BackupItemName_s, BackupItemUniqueId_s , ProtectedContainerFriendlyName_s, BackupItemType_s, JobStatus_s, Resource, JobFailureCode_s | extend Vault= Resource | where {selected item}" + } + } + } + }, + { + "Id": "SingleQueryDonutBuilderBladeV1", + "Type": "Blade", + "Version": 0, + "Configuration": { + "General": { + "title": "Backup Jobs BreakDown (Log)", + "newGroup": false, + "icon": "", + "useIcon": false + }, + "Header": { + "Title": "Backup Jobs Breakdown (Log)", + "Subtitle": "" + }, + "Donut": { + "Query": "AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"Job\" | extend JobOperationSubType_s = columnifexists(\"JobOperationSubType_s\", \"\") | where JobOperation_s == \"Backup\" and (JobOperationSubType_s == \"Log\" or JobOperationSubType_s == \"Recovery point_Log\") | summarize AggregatedValue = dcount(JobUniqueId_g) by JobStatus_s | order by AggregatedValue desc", + "CenterLegend": { + "Text": "Total", + "Operation": "Sum", + "ArcsToSelect": [] + }, + "Options": { + "colors": [ + "#00188f", + "#0072c6", + "#00bcf2" + ], + "valueColorMapping": [ + { + "value": "Completed", + "color": "#55d455" + }, + { + "value": "Failed", + "color": "#dd5900" + } + ] + }, + "NavigationSelect": {} + }, + "List": { + "Query": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\" ; Events | extend JobOperationSubType_s = columnifexists(\"JobOperationSubType_s\", \"\") | where OperationName == \"Job\" and JobOperation_s == \"Backup\" and JobStatus_s == \"Failed\" and (JobOperationSubType_s == \"Log\" or JobOperationSubType_s == \"Recovery point_Log\") | project BackupItemUniqueId_s, JobStatus_s, Resource | join kind=inner ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s | project BackupItemUniqueId_s , BackupItemFriendlyName_s ) on BackupItemUniqueId_s | project BackupItemFriendlyName_s , JobStatus_s, Resource | extend Vault= Resource | summarize count() by BackupItemFriendlyName_s, JobStatus_s, Vault | order by count_ desc", + "HideGraph": true, + "enableSparklines": false, + "operation": "Summary", + "ColumnsTitle": { + "Name": "Datasources", + "Value": "Count" + }, + "Color": "#0072c6", + "thresholds": { + "isEnabled": false, + "values": [ + { + "name": "Normal", + "threshold": "Default", + "color": "#009e49", + "isDefault": true + }, + { + "name": "Warning", + "threshold": "60", + "color": "#fcd116", + "isDefault": false + }, + { + "name": "Error", + "threshold": "90", + "color": "#ba141a", + "isDefault": false + } + ] + }, + "NameDSVSeparator": "", + "NavigationQuery": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\" ; Events | extend JobOperationSubType_s = columnifexists(\"JobOperationSubType_s\", \"\") | where OperationName == \"Job\" and JobOperation_s == \"Backup\" and JobStatus_s == \"Failed\" and (JobOperationSubType_s == \"Log\" or JobOperationSubType_s == \"Recovery point_Log\") | project BackupItemUniqueId_s, ProtectedContainerUniqueId_s, JobStatus_s, Resource, JobFailureCode_s | join kind=inner ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s, BackupItemType_s | project BackupItemUniqueId_s , BackupItemFriendlyName_s, BackupItemName_s, BackupItemType_s ) on BackupItemUniqueId_s | join kind=leftouter ( Events | where OperationName == \"ProtectedContainer\" | distinct ProtectedContainerUniqueId_s, ProtectedContainerFriendlyName_s | project ProtectedContainerUniqueId_s , ProtectedContainerFriendlyName_s ) on ProtectedContainerUniqueId_s | project BackupItemFriendlyName_s, BackupItemName_s, BackupItemUniqueId_s, ProtectedContainerFriendlyName_s, BackupItemType_s, JobStatus_s, Resource, JobFailureCode_s | extend Vault= Resource | where {selected item}", + "NavigationSelect": { + "NavigationQuery": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\" ; Events | extend JobOperationSubType_s = columnifexists(\"JobOperationSubType_s\", \"\") | where OperationName == \"Job\" and JobOperation_s == \"Backup\" and JobStatus_s == \"Failed\" and (JobOperationSubType_s == \"Log\" or JobOperationSubType_s == \"Recovery point_Log\") | project BackupItemUniqueId_s, ProtectedContainerUniqueId_s, JobStatus_s, Resource, JobFailureCode_s | join kind=inner ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s, BackupItemType_s | project BackupItemUniqueId_s , BackupItemFriendlyName_s, BackupItemName_s, BackupItemType_s ) on BackupItemUniqueId_s | join kind=leftouter ( Events | where OperationName == \"ProtectedContainer\" | distinct ProtectedContainerUniqueId_s, ProtectedContainerFriendlyName_s | project ProtectedContainerUniqueId_s , ProtectedContainerFriendlyName_s ) on ProtectedContainerUniqueId_s | project BackupItemFriendlyName_s, BackupItemName_s, BackupItemUniqueId_s, ProtectedContainerFriendlyName_s, BackupItemType_s, JobStatus_s, Resource, JobFailureCode_s | extend Vault= Resource | where {selected item}" + } + } + } + }, + { + "Id": "SingleQueryDonutBuilderBladeV1", + "Type": "Blade", + "Version": 0, + "Configuration": { + "General": { + "title": "Restore Jobs Breakdown", + "newGroup": false, + "icon": "", + "useIcon": false + }, + "Header": { + "Title": "Restore Jobs Breakdown", + "Subtitle": "" + }, + "Donut": { + "Query": "AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"Job\" | where JobOperation_s == \"Restore\" or JobOperation_s == \"Recovery\" | summarize AggregatedValue = dcount(JobUniqueId_g) by JobStatus_s | order by AggregatedValue desc", + "CenterLegend": { + "Text": "Total", + "Operation": "Sum", + "ArcsToSelect": [] + }, + "Options": { + "colors": [ + "#007233", + "#ba141a", + "#00bcf2" + ], + "valueColorMapping": [ + { + "value": "Cancelled", + "color": "#fff100" + }, + { + "value": "Completed", + "color": "#007233" + }, + { + "value": "Failed", + "color": "#ba141a" + } + ] + }, + "NavigationSelect": {} + }, + "List": { + "Query": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\" ; Events | where OperationName == \"Job\" and JobOperation_s == \"Restore\" or JobOperation_s == \"Recovery\" and JobStatus_s == \"Failed\" | distinct JobUniqueId_g, BackupItemUniqueId_s, JobStatus_s, Resource | project BackupItemUniqueId_s, JobStatus_s, Resource | join kind=leftouter ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s | project BackupItemUniqueId_s , BackupItemFriendlyName_s ) on BackupItemUniqueId_s | project BackupItemFriendlyName_s, BackupItemUniqueId_s, JobStatus_s, Resource | extend Vault= Resource | summarize count() by BackupItemFriendlyName_s, BackupItemUniqueId_s , JobStatus_s, Vault | order by count_ desc", + "HideGraph": true, + "enableSparklines": false, + "operation": "Summary", + "ColumnsTitle": { + "Name": "Data Sources", + "Value": "Count" + }, + "Color": "#0072c6", + "thresholds": { + "isEnabled": false, + "values": [ + { + "name": "Normal", + "threshold": "Default", + "color": "#009e49", + "isDefault": true + }, + { + "name": "Warning", + "threshold": "60", + "color": "#fcd116", + "isDefault": false + }, + { + "name": "Error", + "threshold": "90", + "color": "#ba141a", + "isDefault": false + } + ] + }, + "NameDSVSeparator": "", + "NavigationQuery": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\" ; Events | where OperationName == \"Job\" and JobOperation_s == \"Restore\" or JobOperation_s == \"Recovery\" and JobStatus_s == \"Failed\" | distinct JobUniqueId_g, BackupItemUniqueId_s, ProtectedContainerUniqueId_s, JobStatus_s, Resource, JobFailureCode_s | project BackupItemUniqueId_s, ProtectedContainerUniqueId_s, JobStatus_s, Resource, JobFailureCode_s | join kind=leftouter ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s, BackupItemType_s | project BackupItemUniqueId_s , BackupItemFriendlyName_s, BackupItemName_s, BackupItemType_s ) on BackupItemUniqueId_s | join kind=leftouter ( Events | where OperationName == \"ProtectedContainer\" | distinct ProtectedContainerUniqueId_s, ProtectedContainerFriendlyName_s | project ProtectedContainerUniqueId_s , ProtectedContainerFriendlyName_s ) on ProtectedContainerUniqueId_s | project BackupItemFriendlyName_s, BackupItemName_s, BackupItemUniqueId_s, ProtectedContainerFriendlyName_s, BackupItemType_s, JobStatus_s, Resource, JobFailureCode_s | extend Vault= Resource | where {selected item}", + "NavigationSelect": { + "NavigationQuery": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\" ; Events | where OperationName == \"Job\" and JobOperation_s == \"Restore\" or JobOperation_s == \"Recovery\" and JobStatus_s == \"Failed\" | distinct JobUniqueId_g, BackupItemUniqueId_s, ProtectedContainerUniqueId_s, JobStatus_s, Resource, JobFailureCode_s | project BackupItemUniqueId_s, ProtectedContainerUniqueId_s, JobStatus_s, Resource, JobFailureCode_s | join kind=leftouter ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s, BackupItemType_s | project BackupItemUniqueId_s , BackupItemFriendlyName_s, BackupItemName_s, BackupItemType_s ) on BackupItemUniqueId_s | join kind=leftouter ( Events | where OperationName == \"ProtectedContainer\" | distinct ProtectedContainerUniqueId_s, ProtectedContainerFriendlyName_s | project ProtectedContainerUniqueId_s , ProtectedContainerFriendlyName_s ) on ProtectedContainerUniqueId_s | project BackupItemFriendlyName_s, BackupItemName_s, BackupItemUniqueId_s, ProtectedContainerFriendlyName_s, BackupItemType_s, JobStatus_s, Resource, JobFailureCode_s | extend Vault= Resource | where {selected item}" + } + } + } + }, + { + "Id": "SingleQueryDonutBuilderBladeV1", + "Type": "Blade", + "Version": 0, + "Configuration": { + "General": { + "title": "Alerts from Azure Resources Backup", + "newGroup": false, + "icon": "", + "useIcon": false + }, + "Header": { + "Title": "Active Alert Distribution ", + "Subtitle": "" + }, + "Donut": { + "Query": "AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"Alert\" | where AlertUniqueId_s != \"\" | summarize arg_max(TimeGenerated, *) by AlertUniqueId_s | extend CurrentStatus = AlertStatus_s | join (AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"Alert\" | where AlertStatus_s == \"Active\" | summarize HitCount = count() by AlertUniqueId_s ) on AlertUniqueId_s | project AlertUniqueId_s, HitCount , CurrentStatus , AlertCode_s, AlertSeverity_s | where CurrentStatus == \"Active\" | summarize count() by AlertSeverity_s", + "CenterLegend": { + "Text": "Total", + "Operation": "Sum", + "ArcsToSelect": [] + }, + "Options": { + "colors": [ + "#e81123", + "#008272", + "#00bcf2" + ], + "valueColorMapping": [ + { + "value": "Critical", + "color": "#e81123" + }, + { + "value": "Warning", + "color": "#fff100" + }, + { + "value": "Information", + "color": "#55d455" + } + ] + }, + "NavigationSelect": {} + }, + "List": { + "Query": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\"; Events | where OperationName == \"Alert\" | where AlertUniqueId_s != \"\" | summarize lastOccurred = arg_max(TimeGenerated, *) by AlertUniqueId_s | extend CurrentStatus = AlertStatus_s | join (Events | where OperationName == \"Alert\" | where AlertStatus_s == \"Active\" | summarize HitCount = count() by AlertUniqueId_s ) on AlertUniqueId_s | project AlertUniqueId_s, lastOccurred, HitCount , CurrentStatus , AlertCode_s, AlertSeverity_s, BackupItemUniqueId_s, RecommendedAction_s | join kind=leftouter ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s | project BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s ) on BackupItemUniqueId_s | project BackupItemName_s, AlertCode_s, HitCount | order by HitCount desc", + "HideGraph": true, + "enableSparklines": false, + "operation": "Summary", + "ColumnsTitle": { + "Name": "Data Sources", + "Value": "HitCount" + }, + "Color": "#0072c6", + "thresholds": { + "isEnabled": false, + "values": [ + { + "name": "Normal", + "threshold": "Default", + "color": "#009e49", + "isDefault": true + }, + { + "name": "Warning", + "threshold": "60", + "color": "#fcd116", + "isDefault": false + }, + { + "name": "Error", + "threshold": "90", + "color": "#ba141a", + "isDefault": false + } + ] + }, + "NameDSVSeparator": "", + "NavigationQuery": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\"; Events | where OperationName == \"Alert\" | where AlertUniqueId_s != \"\" | summarize lastOccurred = arg_max(TimeGenerated, *) by AlertUniqueId_s | extend CurrentStatus = AlertStatus_s | join (Events | where OperationName == \"Alert\" | where AlertStatus_s == \"Active\" | summarize HitCount = count() by AlertUniqueId_s ) on AlertUniqueId_s | project AlertUniqueId_s, lastOccurred, HitCount , CurrentStatus , AlertCode_s, AlertSeverity_s, BackupItemUniqueId_s, RecommendedAction_s, Resource | join kind=inner ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s | project BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s ) on BackupItemUniqueId_s | project AlertCode_s, lastOccurred, BackupItemName_s, CurrentStatus, AlertSeverity_s, HitCount, RecommendedAction_s, Resource | extend Vault= Resource | where {selected item}", + "NavigationSelect": { + "NavigationQuery": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\"; Events | where OperationName == \"Alert\" | where AlertUniqueId_s != \"\" | summarize lastOccurred = arg_max(TimeGenerated, *) by AlertUniqueId_s | extend CurrentStatus = AlertStatus_s | join (Events | where OperationName == \"Alert\" | where AlertStatus_s == \"Active\" | summarize HitCount = count() by AlertUniqueId_s ) on AlertUniqueId_s | project AlertUniqueId_s, lastOccurred, HitCount , CurrentStatus , AlertCode_s, AlertSeverity_s, BackupItemUniqueId_s, RecommendedAction_s, Resource | join kind=inner ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s | project BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s ) on BackupItemUniqueId_s | project AlertCode_s, lastOccurred, BackupItemName_s, CurrentStatus, AlertSeverity_s, HitCount, RecommendedAction_s, Resource | extend Vault= Resource | where {selected item}" + } + } + } + }, + { + "Id": "SingleQueryDonutBuilderBladeV1", + "Type": "Blade", + "Version": 0, + "Configuration": { + "General": { + "title": "Alerts from On-prem backup", + "newGroup": false, + "icon": "", + "useIcon": false + }, + "Header": { + "Title": "Active Alert distribution", + "Subtitle": "" + }, + "Donut": { + "Query": "AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"Alert\" | where AlertUniqueId_g != \"\" | summarize arg_max(TimeGenerated, *) by AlertUniqueId_g | extend CurrentStatus = AlertStatus_s | join kind= inner (AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"Alert\" | where AlertStatus_s == \"Active\" | summarize HitCount = count() by AlertUniqueId_g ) on AlertUniqueId_g | project AlertUniqueId_g, HitCount , CurrentStatus , AlertCode_s, AlertSeverity_s | where CurrentStatus == \"Active\" | summarize count() by AlertSeverity_s", + "CenterLegend": { + "Text": "Total", + "Operation": "Sum", + "ArcsToSelect": [] + }, + "Options": { + "colors": [ + "#00188f", + "#0072c6", + "#00bcf2" + ], + "valueColorMapping": [ + { + "value": "Critical", + "color": "#ba141a" + }, + { + "value": "Warning", + "color": "#ffb900" + }, + { + "value": "Information", + "color": "#55d455" + } + ] + }, + "NavigationSelect": {} + }, + "List": { + "Query": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\"; Events | where OperationName == \"Alert\" | where AlertUniqueId_g != \"\" | summarize lastOccurred = arg_max(TimeGenerated, *) by AlertUniqueId_g | extend CurrentStatus = AlertStatus_s | join (Events | where OperationName == \"Alert\" | where AlertStatus_s == \"Active\" | summarize HitCount = count() by AlertUniqueId_g ) on AlertUniqueId_g | project AlertUniqueId_g, lastOccurred, HitCount , CurrentStatus , AlertCode_s, AlertSeverity_s, BackupItemUniqueId_s, RecommendedAction_s | where CurrentStatus == \"Active\" | join kind=leftouter ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s | project BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s ) on BackupItemUniqueId_s | project BackupItemName_s, AlertCode_s, HitCount | order by HitCount desc", + "HideGraph": false, + "enableSparklines": false, + "operation": "Summary", + "ColumnsTitle": { + "Name": "Computer", + "Value": "Count" + }, + "Color": "#0072c6", + "thresholds": { + "isEnabled": false, + "values": [ + { + "name": "Normal", + "threshold": "Default", + "color": "#009e49", + "isDefault": true + }, + { + "name": "Warning", + "threshold": "60", + "color": "#fcd116", + "isDefault": false + }, + { + "name": "Error", + "threshold": "90", + "color": "#ba141a", + "isDefault": false + } + ] + }, + "NameDSVSeparator": "", + "NavigationQuery": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\"; Events | where OperationName == \"Alert\" | where AlertUniqueId_g != \"\" | summarize lastOccurred = arg_max(TimeGenerated, *) by AlertUniqueId_g | extend CurrentStatus = AlertStatus_s | join kind=inner (Events | where OperationName == \"Alert\" | where AlertStatus_s == \"Active\" | summarize HitCount = count() by AlertUniqueId_g ) on AlertUniqueId_g | project AlertUniqueId_g, BackupManagementServerUniqueId_s, ProtectedContainerUniqueId_s ,lastOccurred, HitCount , CurrentStatus , AlertCode_s, AlertSeverity_s, BackupItemUniqueId_s, RecommendedAction_s, Resource | where CurrentStatus == \"Active\" | join kind=leftouter ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s | project BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s ) on BackupItemUniqueId_s | join kind=leftouter ( Events | where OperationName == \"ProtectedContainer\" | distinct ProtectedContainerUniqueId_s, ProtectedContainerFriendlyName_s | project ProtectedContainerUniqueId_s, ProtectedContainerFriendlyName_s ) on ProtectedContainerUniqueId_s | join kind=leftouter( Events | where OperationName == \"BackupManagementServer\" | distinct BackupManagmentServerUniqueId_s, BackupManagmentServerName_s | project BackupManagmentServerUniqueId_s, BackupManagmentServerName_s ) on $left.BackupManagementServerUniqueId_s == $right.BackupManagmentServerUniqueId_s | project AlertCode_s, lastOccurred, BackupItemName_s, ProtectedContainerFriendlyName_s, BackupManagmentServerName_s, CurrentStatus, AlertSeverity_s, HitCount, RecommendedAction_s, Resource | extend Vault= Resource | project-away Resource | where {selected item}", + "NavigationSelect": { + "NavigationQuery": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\"; Events | where OperationName == \"Alert\" | where AlertUniqueId_g != \"\" | summarize lastOccurred = arg_max(TimeGenerated, *) by AlertUniqueId_g | extend CurrentStatus = AlertStatus_s | join kind=inner (Events | where OperationName == \"Alert\" | where AlertStatus_s == \"Active\" | summarize HitCount = count() by AlertUniqueId_g ) on AlertUniqueId_g | project AlertUniqueId_g, BackupManagementServerUniqueId_s, ProtectedContainerUniqueId_s ,lastOccurred, HitCount , CurrentStatus , AlertCode_s, AlertSeverity_s, BackupItemUniqueId_s, RecommendedAction_s, Resource | where CurrentStatus == \"Active\" | join kind=leftouter ( Events | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s | project BackupItemUniqueId_s, BackupItemFriendlyName_s, BackupItemName_s ) on BackupItemUniqueId_s | join kind=leftouter ( Events | where OperationName == \"ProtectedContainer\" | distinct ProtectedContainerUniqueId_s, ProtectedContainerFriendlyName_s | project ProtectedContainerUniqueId_s, ProtectedContainerFriendlyName_s ) on ProtectedContainerUniqueId_s | join kind=leftouter( Events | where OperationName == \"BackupManagementServer\" | distinct BackupManagmentServerUniqueId_s, BackupManagmentServerName_s | project BackupManagmentServerUniqueId_s, BackupManagmentServerName_s ) on $left.BackupManagementServerUniqueId_s == $right.BackupManagmentServerUniqueId_s | project AlertCode_s, lastOccurred, BackupItemName_s, ProtectedContainerFriendlyName_s, BackupManagmentServerName_s, CurrentStatus, AlertSeverity_s, HitCount, RecommendedAction_s, Resource | extend Vault= Resource | project-away Resource | where {selected item}" + } + } + } + }, + { + "Id": "SingleQueryDonutBuilderBladeV1", + "Type": "Blade", + "Version": 0, + "Configuration": { + "General": { + "title": "Active Datasources Protected", + "newGroup": false, + "icon": "", + "useIcon": false + }, + "Header": { + "Title": "Last known Protection status", + "Subtitle": "" + }, + "Donut": { + "Query": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\"; Events | where OperationName == \"BackupItem\" | where BackupItemProtectionState_s != \"\" | summarize arg_max(TimeGenerated, *) by BackupItemUniqueId_s, BackupItemProtectionState_s | summarize dcount(BackupItemUniqueId_s) by BackupItemProtectionState_s", + "CenterLegend": { + "Text": "Total", + "Operation": "Sum", + "ArcsToSelect": [] + }, + "Options": { + "colors": [ + "#ff8c00", + "#55d455", + "#6dc2e9" + ], + "valueColorMapping": [] + }, + "NavigationSelect": {} + }, + "List": { + "Query": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\"; Events | where OperationName == \"BackupItem\" | where BackupItemProtectionState_s != \"\" | summarize arg_max(TimeGenerated, *) by BackupItemUniqueId_s | project BackupItemFriendlyName_s, BackupItemName_s ,BackupItemType_s, BackupManagementType_s, BackupItemProtectionState_s, BackupItemUniqueId_s | summarize dcount(BackupItemUniqueId_s) by BackupManagementType_s,BackupItemProtectionState_s | order by BackupManagementType_s desc", + "HideGraph": true, + "enableSparklines": false, + "operation": "Summary", + "ColumnsTitle": { + "Name": "BackupManagement Type", + "Value": "BackupItems" + }, + "Color": "#ff8c00", + "thresholds": { + "isEnabled": false, + "values": [ + { + "name": "Normal", + "threshold": "Default", + "color": "#009e49", + "isDefault": true + }, + { + "name": "Warning", + "threshold": "60", + "color": "#fcd116", + "isDefault": false + }, + { + "name": "Error", + "threshold": "90", + "color": "#ba141a", + "isDefault": false + } + ] + }, + "NameDSVSeparator": "", + "NavigationQuery": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\"; Events | where OperationName == \"BackupItem\" | where BackupItemProtectionState_s != \"\" | summarize arg_max(TimeGenerated, *) by BackupItemUniqueId_s | project BackupItemFriendlyName_s, BackupItemName_s ,BackupItemType_s, BackupManagementType_s, BackupItemProtectionState_s, BackupItemUniqueId_s, ProtectedContainerUniqueId_s, Resource | join kind=leftouter ( Events | where OperationName == \"ProtectedContainer\" | distinct ProtectedContainerUniqueId_s, ProtectedContainerFriendlyName_s | project ProtectedContainerUniqueId_s , ProtectedContainerFriendlyName_s ) on ProtectedContainerUniqueId_s | project BackupItemFriendlyName_s, BackupItemName_s ,BackupItemType_s, BackupManagementType_s, BackupItemProtectionState_s, BackupItemUniqueId_s, ProtectedContainerFriendlyName_s, Resource | extend Vault= Resource | project-away Resource | where {selected item}", + "NavigationSelect": { + "NavigationQuery": "let Events = AzureDiagnostics | where Category == \"AzureBackupReport\"; Events | where OperationName == \"BackupItem\" | where BackupItemProtectionState_s != \"\" | summarize arg_max(TimeGenerated, *) by BackupItemUniqueId_s | project BackupItemFriendlyName_s, BackupItemName_s ,BackupItemType_s, BackupManagementType_s, BackupItemProtectionState_s, BackupItemUniqueId_s, ProtectedContainerUniqueId_s, Resource | join kind=leftouter ( Events | where OperationName == \"ProtectedContainer\" | distinct ProtectedContainerUniqueId_s, ProtectedContainerFriendlyName_s | project ProtectedContainerUniqueId_s , ProtectedContainerFriendlyName_s ) on ProtectedContainerUniqueId_s | project BackupItemFriendlyName_s, BackupItemName_s ,BackupItemType_s, BackupManagementType_s, BackupItemProtectionState_s, BackupItemUniqueId_s, ProtectedContainerFriendlyName_s, Resource | extend Vault= Resource | project-away Resource | where {selected item}" + } + } + } + }, + { + "Id": "LineChartBuilderBlade", + "Type": "Blade", + "Version": 0, + "Configuration": { + "General": { + "title": "Cloud Storage in GB", + "newGroup": false, + "icon": "", + "useIcon": false + }, + "Header": { + "Title": "Cloud storage in GB", + "Subtitle": "" + }, + "LineChart": { + "Query": "AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"StorageAssociation\" | extend CloudStorageInGB = todouble(StorageConsumedInMBs_s) / 1024 | project CloudStorageInGB, BackupItemUniqueId_s, StorageUniqueId_s, TimeGenerated | join kind=inner ( AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"Storage\" | distinct StorageUniqueId_s, StorageType_s | project StorageUniqueId_s, StorageType_s ) on StorageUniqueId_s | where StorageType_s == \"Cloud\" | summarize dayCharge = avg(CloudStorageInGB) by BackupItemUniqueId_s, bin(TimeGenerated, 1d) | summarize TotalCharge = sum(dayCharge) by bin(TimeGenerated, 1d)", + "yAxis": { + "isLogarithmic": false, + "units": { + "baseUnitType": "", + "baseUnit": "", + "displayUnit": "" + }, + "customLabel": "Cloud Storage (GB)" + }, + "NavigationSelect": {} + }, + "List": { + "Query": "AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"StorageAssociation\" | summarize arg_max(TimeGenerated, *) by BackupItemUniqueId_s, StorageUniqueId_s | extend StorageInGB = todouble(StorageConsumedInMBs_s) / 1024 | project StorageInGB, BackupItemUniqueId_s, StorageUniqueId_s | join kind=inner ( AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"Storage\" | distinct StorageUniqueId_s, StorageType_s | project StorageUniqueId_s, StorageType_s ) on StorageUniqueId_s | project StorageInGB, BackupItemUniqueId_s, StorageType_s | join kind=leftouter ( AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s | project BackupItemUniqueId_s, BackupItemFriendlyName_s ) on BackupItemUniqueId_s | project StorageInGB, BackupItemFriendlyName_s, BackupItemUniqueId_s, StorageType_s | where StorageType_s == \"Cloud\" | order by StorageInGB desc", + "HideGraph": false, + "enableSparklines": false, + "operation": "Summary", + "ColumnsTitle": { + "Name": "Data Sources", + "Value": "Cloud Data in GB" + }, + "Color": "#eb3c00", + "thresholds": { + "isEnabled": false, + "values": [ + { + "name": "Normal", + "threshold": "Default", + "color": "#009e49", + "isDefault": true + }, + { + "name": "Warning", + "threshold": "60", + "color": "#fcd116", + "isDefault": false + }, + { + "name": "Error", + "threshold": "90", + "color": "#ba141a", + "isDefault": false + } + ] + }, + "NameDSVSeparator": "", + "NavigationQuery": "AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"StorageAssociation\" | extend StorageInGB = todouble(StorageConsumedInMBs_s) / 1024 | project StorageInGB, BackupItemUniqueId_s, StorageUniqueId_s, TimeGenerated | join kind=inner ( AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"Storage\" | distinct StorageUniqueId_s, StorageType_s | project StorageUniqueId_s, StorageType_s ) on StorageUniqueId_s | where StorageType_s == \"Cloud\" | project StorageInGB, BackupItemUniqueId_s, StorageType_s, TimeGenerated | join kind=leftouter ( AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s | project BackupItemUniqueId_s, BackupItemFriendlyName_s ) on BackupItemUniqueId_s | project StorageInGB, BackupItemFriendlyName_s, BackupItemUniqueId_s, StorageType_s, TimeGenerated | where {selected item} | summarize dayCharge = avg(StorageInGB) by BackupItemUniqueId_s, bin(TimeGenerated, 1d)", + "NavigationSelect": { + "NavigationQuery": "AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"StorageAssociation\" | extend StorageInGB = todouble(StorageConsumedInMBs_s) / 1024 | project StorageInGB, BackupItemUniqueId_s, StorageUniqueId_s, TimeGenerated | join kind=inner ( AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"Storage\" | distinct StorageUniqueId_s, StorageType_s | project StorageUniqueId_s, StorageType_s ) on StorageUniqueId_s | where StorageType_s == \"Cloud\" | project StorageInGB, BackupItemUniqueId_s, StorageType_s, TimeGenerated | join kind=leftouter ( AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"BackupItem\" | distinct BackupItemUniqueId_s, BackupItemFriendlyName_s | project BackupItemUniqueId_s, BackupItemFriendlyName_s ) on BackupItemUniqueId_s | project StorageInGB, BackupItemFriendlyName_s, BackupItemUniqueId_s, StorageType_s, TimeGenerated | where {selected item} | summarize dayCharge = avg(StorageInGB) by BackupItemUniqueId_s, bin(TimeGenerated, 1d)" + } + } + } + } + ], + "OverviewTile": { + "Id": "SingleQueryDonutBuilderTileV1", + "Type": "OverviewTile", + "Version": 2, + "Configuration": { + "Donut": { + "Query": "AzureDiagnostics | where Category == \"AzureBackupReport\" | where OperationName == \"Job\" | extend JobOperationSubType_s = columnifexists(\"JobOperationSubType_s\", \"\") | where JobOperation_s == \"Backup\" and JobOperationSubType_s != \"Log\" and JobOperationSubType_s != \"Recovery point_Log\" | summarize AggregatedValue = dcount(JobUniqueId_g) by JobStatus_s | order by AggregatedValue desc", + "CenterLegend": { + "Text": "Total", + "Operation": "Sum", + "ArcsToSelect": [] + }, + "Options": { + "colors": [ + "#55d455", + "#e81123", + "#00bcf2" + ], + "valueColorMapping": [ + { + "value": "Completed", + "color": "#55d455" + }, + { + "value": "Failed", + "color": "#ba141a" + } + ] + } + }, + "Advanced": { + "DataFlowVerification": { + "Enabled": false, + "Query": "search * | limit 1 | project TimeGenerated", + "Message": "" + } + } + } + } + } + }, + { + "name": "[variables('omsSolutions').customSolution.solutionName]", + "type": "Microsoft.OperationsManagement/solutions", + "apiVersion": "2015-11-01-preview", + "location": "[parameters('workspaceLocation')]", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]", + "[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'), '/views/', variables('omsSolutions').customSolution.name)]" + ], + "plan": { + "name": "[variables('omsSolutions').customSolution.solutionName]", + "product": "[variables('omsSolutions').customSolution.name]", + "publisher": "[variables('omsSolutions').customSolution.publisher]", + "promotionCode": "" + }, + "properties": { + "workspaceResourceId": "[resourceId('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]", + "referencedResources": [], + "containedResources": [ + "[resourceId('Microsoft.OperationalInsights/workspaces/views/', parameters('workspaceName'), variables('omsSolutions').customSolution.name)]" + ] + } + } + ] + } + ] +} \ No newline at end of file diff --git a/modules/custom-la-solution/1.0/azureDeploy.parameters.json b/modules/custom-la-solution/1.0/azureDeploy.parameters.json new file mode 100644 index 000000000..e69de29bb diff --git a/modules/hana/1.0/azureDeploy.json b/modules/hana/1.0/azureDeploy.json index df6c1d82e..82c32f8f4 100644 --- a/modules/hana/1.0/azureDeploy.json +++ b/modules/hana/1.0/azureDeploy.json @@ -8,22 +8,10 @@ "description": "" } }, - "sas-key":{ - "type":"string", - "metadata":{ - "description":"" - } - }, - "output-params-storage-key":{ - "type":"string", - "metadata":{ - "description":"Default storage account Key. Storage account that contains output parameters and common scripts" - } - }, - "output-params-storage-account-name":{ - "type":"string", - "metadata":{ - "description":"" + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Storage account used to store diagnostic information" } }, "extension-name": { @@ -156,13 +144,10 @@ "variables": { "availabilitySet-name": "[concat(parameters('deployment-prefix'), '-as')]", "subnet-id": "[concat(parameters('vnet-id'), '/subnets/', parameters('default-subnet-name'))]", - "configuration-url-sasToken": "[concat('?', parameters('sas-key'))]", "resource-prefix": "[concat(parameters('deployment-prefix'), '-', parameters('extension-name'))]", "hana-lb-name": "[concat(variables('resource-prefix'), '-lb')]", "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-vm')]", - "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(parameters('extension-name'), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", + "uniqueString": "[uniqueString(subscription().id, resourceGroup().id, 'hana')]", "networkWatcher-extension-name": "NetworkWatcher", "hana-lb-frontend": "hana-lb-frontend", "hana-backend-pool": "hana-backend-pool", @@ -185,29 +170,6 @@ "data-asg-id": "[resourceId(parameters('vnet-resourceGroup'), 'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('data-asg-name'), '-asg'))]" }, "resources": [ - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-10-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/availabilitySets", "name": "[variables('availabilitySet-name')]", @@ -399,8 +361,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/availabilitySets', variables('availabilitySet-name'))]", - "[concat('Microsoft.Network/networkInterfaces/', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "[concat('Microsoft.Network/networkInterfaces/', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]" ], "copy": { "name": "vmLoop", @@ -514,7 +475,7 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, diff --git a/modules/iscsi/1.0/azureDeploy.json b/modules/iscsi/1.0/azureDeploy.json index c8d80c48d..6cf475a60 100644 --- a/modules/iscsi/1.0/azureDeploy.json +++ b/modules/iscsi/1.0/azureDeploy.json @@ -8,6 +8,12 @@ "description": "" } }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Storage account used to store diagnostic information" + } + }, "output-params-storage-key":{ "type":"string", "metadata":{ @@ -138,8 +144,6 @@ "resource-prefix": "[concat(parameters('deployment-prefix'), '-', parameters('extension-name'))]", "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-vm')]", "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(parameters('extension-name'), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", "networkWatcher-extension-name": "NetworkWatcher", "iscsi-install-extension-name": "ISCSISetup", "images": { @@ -202,37 +206,13 @@ ] } }, - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-06-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "apiVersion": "2017-12-01", "type": "Microsoft.Compute/virtualMachines", "name": "[concat(variables('virtualMachine-name-prefix'), '1')]", "location": "[resourceGroup().location]", "dependsOn": [ - "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('virtualMachine-name-prefix'), '1', '-nic'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('virtualMachine-name-prefix'), '1', '-nic'))]" ], "properties": { "hardwareProfile": { @@ -265,7 +245,7 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, diff --git a/modules/jb/1.0/azureDeploy.json b/modules/jb/1.0/azureDeploy.json index 395c3cf05..9172fc168 100644 --- a/modules/jb/1.0/azureDeploy.json +++ b/modules/jb/1.0/azureDeploy.json @@ -2,65 +2,71 @@ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { - "organization-name": { - "type": "string", - "metadata": { - "description": "Organization name" - } - }, "deployment-prefix": { "type": "string", "metadata": { - "description": "Deployment prefix. E.g. Organization-DeploymentType" - } + "description": "Deployment prefix. E.g. Organization-DeploymentType" + } }, - "oms-workspace-id": { - "type": "string", + "la-workspace-id": { + "type": "securestring", "metadata": { "description": "WorkspaceId or CustomerId value of OMS. This value is referenced in OMS VM Extension" } }, - "oms-primary-shared-key": { - "type": "string", + "la-primary-shared-key": { + "type": "securestring", "metadata": { "description": "WorkspaceKey value of OMS. This value is referenced in OMS VM Extension" } }, - "kv-uri":{ - "type":"string", - "metadata":{ - "description":"AKV URI" - } + "output-params-storage-key": { + "type": "securestring", + "metadata": { + "description": "Default storage account Key. Storage account that contains output parameters and common scripts" + } + }, + "output-params-storage-account-name": { + "type": "securestring", + "metadata": { + "description": "" + } + }, + "kv-uri": { + "type": "securestring", + "metadata": { + "description": "AKV URI" + } }, "kv-id": { - "type": "string", + "type": "securestring", "metadata": { "description": "AKV Resource Id" } }, - "aad-principal-id":{ - "type":"string", + "aad-principal-id": { + "type": "securestring", "defaultValue": "", - "metadata":{ + "metadata": { "description": "Azure Active Directory Service Principal ID" } }, - "aad-certificate-thumb":{ - "type":"string", + "aad-certificate-thumb": { + "type": "securestring", "defaultValue": "", - "metadata":{ + "metadata": { "description": "Azure Active Directory Thumbprint" } }, - "aad-certificate-url":{ - "type":"string", + "aad-certificate-url": { + "type": "securestring", "defaultValue": "", - "metadata":{ + "metadata": { "description": "Azure Active Directory Certificate URL. Certificate gets installed in the VMs" } }, "jb-key": { - "type": "string", + "type": "securestring", "defaultValue": "", "metadata": { "description": "Jumpbox AKV encryption key" @@ -95,7 +101,7 @@ "metadata": { "description": "Name of the extension deployment." } - }, + }, "admin-username": { "type": "string", "metadata": { @@ -117,7 +123,6 @@ }, "windows-virtualMachine-size": { "type": "string", - "defaultValue": "Standard_DS1_v2", "metadata": { "description": "Size of the jumpbox VMs." } @@ -126,8 +131,7 @@ "type": "string", "defaultValue": "Windows", "allowedValues": [ - "Windows", - "Linux" + "Windows" ], "metadata": { "description": "OS platform of the jumpbox VM image." @@ -148,16 +152,14 @@ }, "linux-virtualMachine-size": { "type": "string", - "defaultValue": "Standard_DS1_v2", "metadata": { "description": "Size of the jumpbox VMs." } }, "linux-os-type": { "type": "string", - "defaultValue": "Windows", + "defaultValue": "Linux", "allowedValues": [ - "Windows", "Linux" ], "metadata": { @@ -192,36 +194,54 @@ } ] }, - "empty-array": { - "type": "array", - "defaultValue": [] + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Diagnostic Storage Account name" + } + }, + "storageAccount-sasToken": { + "type": "securestring", + "metadata": { + "description": "Diagnostic Storage Account SAS token" + } } }, "variables": { "resource-prefix": "[concat(parameters('deployment-prefix'), '-', parameters('extension-name'))]", - "windows-availabilitySet-name": "[concat(variables('resource-prefix'), '-win-as')]", - "windows-virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-win-vm')]", - "linux-virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-linux-vm')]", - "linux-availabilitySet-name": "[concat(variables('resource-prefix'), '-linux-as')]", + "uniqueString": "[uniqueString(subscription().id, resourceGroup().id, concat(parameters('deployment-prefix'), '-jb'))]", "subnet-id": "[concat(parameters('vnet-id'), '/subnets/', parameters('shared-services-subnet-name'))]", - "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(variables('resource-prefix'), parameters('extension-name'), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", "antimalware-extension-name": "IaaSAntimalware", "diagnostics-extension-name": "IaaSDiagnostics", "networkWatcher-extension-name": "NetworkWatcher", "encryption-extension-name": "AzureDiskEncryption", "encryption-operation": "EnableEncryption", + "mma-extension-name": "OMSExtension", "key-encryptionAlgorithm": "RSA-OAEP", - "diagnostic-storageAccount-id": "[resourceId('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name'))]", - "wad-logs": " ", - "wad-perf-counters1": "", - "wad-perf-counters2": "", - "wad-cfgx-start": "[concat(variables('wad-logs'), variables('wad-perf-counters1'), variables('wad-perf-counters2'), '", - "sequence-number": "[uniqueString(resourceGroup().id, 'linux', variables('resource-prefix'))]", - "jb-asg-id": "[resourceId(parameters('vnet-resourceGroup'),'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('jb-asg-name'), '-asg'))]" + "empty-array": [], + "jb-asg-id": "[resourceId(parameters('vnet-resourceGroup'),'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('jb-asg-name'), '-asg'))]", + "tag-patching": "3rdSat7pm", + "linux-virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-linux-vm')]", + "linux-availabilitySet-name": "[concat(variables('resource-prefix'), '-linux-as')]", + "linux-diagnostics-extension-name": "LinuxDiagnostic", + "windows-availabilitySet-name": "[concat(variables('resource-prefix'), '-win-as')]", + "windows-virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-win-vm')]", + "windows-password-policies-extension-name": "PwdPolicies", + "windows-dependency-extension-name": "DependencyAgent", + "windows-dependency-extension-publisher": "Microsoft.Azure.Monitoring.DependencyAgent", + "windows-dependency-extension-type": "DependencyAgentWindows", + "windows-dependency-extension-handler-version": "9.6", + "max-password-age": 70, + "min-password-age": 1, + "min-password-length": 14, + "pwd-history-count": 24, + "pwd-min-length-config-name": "MinimumPasswordLength", + "pwd-min-age-config-name": "MinimumPasswordAge", + "pwd-not-last-24-config-name": "EnforcePasswordHistory", + "pwd-without-reversible-encryption-config-name": "StorePasswordsUsingReversibleEncryption", + "pwd-max-age-config-name": "MaximumPasswordAge", + "pwd-complexity-config-name": "PasswordMustMeetComplexityRequirements", + "web-server-with-tls-1.1-config-name": "AuditSecureProtocol" }, "resources": [ { @@ -256,7 +276,7 @@ "subnet": { "id": "[variables('subnet-id')]" }, - "applicationSecurityGroups":[ + "applicationSecurityGroups": [ { "id": "[variables('jb-asg-id')]" } @@ -266,29 +286,6 @@ ] } }, - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-06-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Jumpbox Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/virtualMachines", "apiVersion": "2017-03-30", @@ -298,10 +295,12 @@ "name": "windowsVmLoop", "count": "[parameters('windows-virtualMachine-count')]" }, + "tags": { + "UpdateManagement": "[variables('tag-patching')]" + }, "dependsOn": [ "[resourceId('Microsoft.Compute/availabilitySets', variables('windows-availabilitySet-name'))]", - "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1), '-nic'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1), '-nic'))]" ], "properties": { "availabilitySet": { @@ -311,7 +310,7 @@ "computerName": "[concat(parameters('extension-name'), '-win-vm',copyindex(1))]", "adminUsername": "[parameters('admin-username')]", "adminPassword": "[parameters('admin-password')]", - "secrets": "[if(equals(parameters('enable-encryption'), bool('false')), parameters('empty-array'), parameters('encryption-secrets'))]" + "secrets": "[if(equals(parameters('enable-encryption'), bool('false')), variables('empty-array'), parameters('encryption-secrets'))]" }, "hardwareProfile": { "vmSize": "[parameters('windows-virtualMachine-size')]" @@ -324,7 +323,7 @@ "version": "latest" }, "osDisk": { - "name": "[replace(toLower(substring(concat(variables('windows-virtualMachine-name-prefix'), copyindex(1), '-osdisk', '-', replace(concat(variables('uniqueString'), variables('uniqueString')), '-', '')), 0, 40)), '-', '')]", + "name": "[replace(toLower(substring(concat(variables('windows-virtualMachine-name-prefix'), copyindex(1), '-osdisk', '-', replace(concat(variables('uniqueString'), variables('uniqueString')), '-', '')), 0, 40)), '-', '')]", "osType": "[parameters('windows-os-type')]", "createOption": "FromImage" } @@ -339,30 +338,30 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, "resources": [ { "type": "extensions", - "name": "OMSExtension", + "name": "[variables('mma-extension-name')]", "apiVersion": "2015-06-15", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]" ], "properties": { - "publisher": "Microsoft.EnterpriseCloud.Monitoring", - "type": "MicrosoftMonitoringAgent", - "typeHandlerVersion": "1.0", - "autoUpgradeMinorVersion": true, - "settings": { - "workspaceId": "[parameters('oms-workspace-id')]" - }, - "protectedSettings": { - "workspaceKey": "[parameters('oms-primary-shared-key')]" - } + "publisher": "Microsoft.EnterpriseCloud.Monitoring", + "type": "MicrosoftMonitoringAgent", + "typeHandlerVersion": "1.0", + "autoUpgradeMinorVersion": true, + "settings": { + "workspaceId": "[parameters('la-workspace-id')]" + }, + "protectedSettings": { + "workspaceKey": "[parameters('la-primary-shared-key')]" + } } }, { @@ -372,7 +371,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", - "OMSExtension" + "[variables('mma-extension-name')]" ], "properties": { "publisher": "Microsoft.Azure.Security", @@ -394,10 +393,11 @@ { "type": "extensions", "name": "[variables('diagnostics-extension-name')]", + "apiVersion": "2017-12-01", "location": "[resourceGroup().location]", - "apiVersion": "2017-03-30", "dependsOn": [ - "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]" + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('antimalware-extension-name')]" ], "properties": { "publisher": "Microsoft.Azure.Diagnostics", @@ -405,13 +405,281 @@ "typeHandlerVersion": "1.5", "autoUpgradeMinorVersion": true, "settings": { - "xmlCfg": "[base64(concat(variables('wad-cfgx-start'), variables('wad-metrics-resource-id'), variables('windows-virtualMachine-name-prefix'), copyindex(1), variables('wad-cfgx-end')))]", - "storageAccount": "[variables('diagnostic-storageAccount-name')]" + "StorageAccount": "[parameters('storageAccount-name')]", + "StorageType": "TableAndBlob", + "WadCfg": { + "DiagnosticMonitorConfiguration": { + "overallQuotaInMB": 5120, + "Metrics": { + "resourceId": "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", + "MetricAggregation": [ + { + "scheduledTransferPeriod": "PT1H" + }, + { + "scheduledTransferPeriod": "PT1M" + } + ] + }, + "DiagnosticInfrastructureLogs": { + "scheduledTransferLogLevelFilter": "Error" + }, + "PerformanceCounters": { + "scheduledTransferPeriod": "PT1M", + "PerformanceCounterConfiguration": [ + { + "counterSpecifier": "\\Processor Information(_Total)\\% Processor Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\% Privileged Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\% User Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\Processor Frequency", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Processes", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Thread Count", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Handle Count", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\System Up Time", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Context Switches/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Processor Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\% Committed Bytes In Use", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Available Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Committed Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Cache Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pool Paged Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pool Nonpaged Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pages/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Page Faults/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Working Set", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Working Set - Private", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Read Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Write Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Idle Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Read Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Write Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Transfers/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Reads/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Writes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Transfer", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Read", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Write", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Read Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Write Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Free Space", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Free Megabytes", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Total/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Sent/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Received/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Sent/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Received/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Outbound Errors", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Received Errors", + "unit": "Count", + "sampleRate": "PT60S" + } + ] + }, + "WindowsEventLog": { + "scheduledTransferPeriod": "PT1M", + "DataSource": [ + { + "name": "Application!*[System[(Level = 1 or Level = 2 or Level = 3)]]" + }, + { + "name": "Security!*[System[band(Keywords,4503599627370496)]]" + }, + { + "name": "System!*[System[(Level = 1 or Level = 2 or Level = 3)]]" + } + ] + } + } + } }, "protectedSettings": { - "storageAccountName": "[variables('diagnostic-storageAccount-name')]", - "storageAccountKey": "[listkeys(variables('diagnostic-storageAccount-id'), '2016-12-01').keys[0])", - "storageAccountEndPoint": "https://core.windows.net" + "storageAccountName": "[parameters('storageAccount-name')]", + "storageAccountEndPoint": "https://core.windows.net/", + "storageAccountSasToken": "[parameters('storageAccount-sasToken')]" } } }, @@ -430,17 +698,191 @@ "autoUpgradeMinorVersion": true } }, + { + "type": "extensions", + "name": "[variables('windows-password-policies-extension-name')]", + "apiVersion": "2017-03-30", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]" + ], + "properties": { + "publisher": "Microsoft.Compute", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.8", + "autoUpgradeMinorVersion": true, + "settings": { + "fileUris": [ + "[concat('https://', parameters('output-params-storage-account-name'), '.blob.core.windows.net/scripts/windows/enable-local-policy-settings.ps1')]" + ] + }, + "protectedSettings": { + "storageAccountName": "[parameters('output-params-storage-account-name')]", + "storageAccountKey": "[parameters('output-params-storage-key')]", + "commandToExecute": "[concat('powershell -ExecutionPolicy Unrestricted -File ./windows/enable-local-policy-settings.ps1 -MaxPwdAge ', variables('max-password-age'), ' -MinPwdAge ', variables('min-password-age'), ' -MinPwdLength ', variables('min-password-length'), ' -PwdHistoryCount ', variables('pwd-history-count'))]" + } + } + }, + { + "type": "extensions", + "name": "[variables('windows-dependency-extension-name')]", + "apiVersion": "2018-06-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-password-policies-extension-name')]" + ], + "properties": { + "publisher": "[variables('windows-dependency-extension-publisher')]", + "type": "[variables('windows-dependency-extension-type')]", + "typeHandlerVersion": "[variables('windows-dependency-extension-handler-version')]", + "autoUpgradeMinorVersion": true + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('windows-virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-min-length-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-min-length-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('windows-virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-min-age-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-min-age-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('windows-virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-not-last-24-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-not-last-24-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('windows-virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-without-reversible-encryption-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-without-reversible-encryption-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('windows-virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('web-server-with-tls-1.1-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('web-server-with-tls-1.1-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('windows-virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-max-age-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-max-age-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('windows-virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-complexity-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-complexity-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2015-05-01-preview", + "name": "AzurePolicyforWindows", + "type": "extensions", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "publisher": "Microsoft.GuestConfiguration", + "type": "ConfigurationforWindows", + "typeHandlerVersion": "1.1", + "autoUpgradeMinorVersion": true, + "settings": {}, + "protectedSettings": {} + } + }, { "type": "extensions", "name": "[variables('encryption-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", - "condition": "[equals(parameters('enable-encryption'), bool('true'))]", + "condition": "[parameters('enable-encryption')]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)))]", "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)), variables('antimalware-extension-name'))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)), variables('diagnostics-extension-name'))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)), variables('networkWatcher-extension-name'))]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)), variables('diagnostics-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)), variables('networkWatcher-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)), variables('windows-password-policies-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)), variables('windows-dependency-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('windows-virtualMachine-name-prefix'), copyindex(1)), 'AzurePolicyforWindows')]" ], "properties": { "publisher": "Microsoft.Azure.Security", @@ -465,7 +907,7 @@ "name": "[concat('vm', copyindex(1), 'OSEncryptionNestedDeployment')]", "type": "Microsoft.Resources/deployments", "apiVersion": "2016-09-01", - "condition": "[equals(parameters('enable-encryption'), bool('true'))]", + "condition": "[parameters('enable-encryption')]", "dependsOn": [ "windowsVmLoop" ], @@ -485,7 +927,7 @@ "type": "Microsoft.Compute/virtualMachines", "name": "[concat(variables('windows-virtualMachine-name-prefix'), copyindex(1))]", "location": "[resourceGroup().location]", - "condition": "[equals(parameters('enable-encryption'), bool('true'))]", + "condition": "[parameters('enable-encryption')]", "properties": { "storageProfile": { "osDisk": { @@ -545,7 +987,7 @@ "subnet": { "id": "[variables('subnet-id')]" }, - "applicationSecurityGroups":[ + "applicationSecurityGroups": [ { "id": "[variables('jb-asg-id')]" } @@ -557,17 +999,19 @@ }, { "type": "Microsoft.Compute/virtualMachines", - "apiVersion": "2017-03-30", + "apiVersion": "2018-06-01", "location": "[resourceGroup().location]", "name": "[concat(variables('linux-virtualMachine-name-prefix'), copyindex(1))]", "copy": { "name": "linuxVmLoop", "count": "[parameters('linux-virtualMachine-count')]" }, + "tags": { + "UpdateManagement": "[variables('tag-patching')]" + }, "dependsOn": [ "[resourceId('Microsoft.Compute/availabilitySets', variables('linux-availabilitySet-name'))]", - "[concat('Microsoft.Network/networkInterfaces/', concat(variables('linux-virtualMachine-name-prefix'), copyindex(1), '-nic'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "[concat('Microsoft.Network/networkInterfaces/', concat(variables('linux-virtualMachine-name-prefix'), copyindex(1), '-nic'))]" ], "properties": { "availabilitySet": { @@ -589,7 +1033,7 @@ "version": "latest" }, "osDisk": { - "name": "[replace(toLower(substring(concat(variables('linux-virtualMachine-name-prefix'), copyindex(1), '-osdisk', '-', replace(concat(variables('uniqueString'), variables('uniqueString')), '-', '')), 0, 40)), '-', '')]", + "name": "[replace(toLower(substring(concat(variables('linux-virtualMachine-name-prefix'), copyindex(1), '-osdisk', '-', replace(concat(variables('uniqueString'), variables('uniqueString')), '-', '')), 0, 40)), '-', '')]", "osType": "[parameters('linux-os-type')]", "createOption": "FromImage" } @@ -598,7 +1042,7 @@ "networkInterfaces": [ { "id": "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('linux-virtualMachine-name-prefix'), copyindex(1), '-nic'))]", - "properties":{ + "properties": { "primary": true } } @@ -607,31 +1051,751 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, "resources": [ { "type": "extensions", - "name": "OMSExtension", - "condition": "[bool('false')]", - "apiVersion": "2015-06-15", + "name": "[variables('mma-extension-name')]", + "apiVersion": "2018-06-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('linux-virtualMachine-name-prefix'), copyindex(1)))]" ], "properties": { - "publisher": "Microsoft.EnterpriseCloud.Monitoring", - "type": "MicrosoftMonitoringAgent", - "typeHandlerVersion": "1.0", - "autoUpgradeMinorVersion": true, - "settings": { - "workspaceId": "[parameters('oms-workspace-id')]" - }, - "protectedSettings": { - "workspaceKey": "[parameters('oms-primary-shared-key')]" - } + "publisher": "Microsoft.EnterpriseCloud.Monitoring", + "type": "OmsAgentForLinux", + "typeHandlerVersion": "1.7", + "settings": { + "workspaceId": "[parameters('la-workspace-id')]" + }, + "protectedSettings": { + "workspaceKey": "[parameters('la-primary-shared-key')]" + } + } + }, + { + "type": "extensions", + "name": "[variables('linux-diagnostics-extension-name')]", + "apiVersion": "2017-12-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('linux-virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('mma-extension-name')]" + ], + "properties": { + "publisher": "Microsoft.Azure.Diagnostics", + "type": "LinuxDiagnostic", + "typeHandlerVersion": "3.0", + "autoUpgradeMinorVersion": true, + "settings": { + "StorageAccount": "[parameters('storageAccount-name')]", + "ladCfg": { + "diagnosticMonitorConfiguration": { + "eventVolume": "Medium", + "metrics": { + "metricAggregation": [ + { + "scheduledTransferPeriod": "PT1H" + }, + { + "scheduledTransferPeriod": "PT1M" + } + ], + "resourceId": "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('linux-virtualMachine-name-prefix'), copyindex(1)))]" + }, + "performanceCounters": { + "performanceCounterConfiguration": [ + { + "annotation": [ + { + "displayName": "Disk read guest OS", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "readbytespersecond", + "counterSpecifier": "/builtin/disk/readbytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk writes", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "writespersecond", + "counterSpecifier": "/builtin/disk/writespersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk transfer time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagetransfertime", + "counterSpecifier": "/builtin/disk/averagetransfertime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk transfers", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "transferspersecond", + "counterSpecifier": "/builtin/disk/transferspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk write guest OS", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "writebytespersecond", + "counterSpecifier": "/builtin/disk/writebytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk read time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagereadtime", + "counterSpecifier": "/builtin/disk/averagereadtime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk write time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagewritetime", + "counterSpecifier": "/builtin/disk/averagewritetime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk total bytes", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "bytespersecond", + "counterSpecifier": "/builtin/disk/bytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk reads", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "readspersecond", + "counterSpecifier": "/builtin/disk/readspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk queue length", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagediskqueuelength", + "counterSpecifier": "/builtin/disk/averagediskqueuelength", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Network in guest OS", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytesreceived", + "counterSpecifier": "/builtin/network/bytesreceived", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network total bytes", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytestotal", + "counterSpecifier": "/builtin/network/bytestotal", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network out guest OS", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytestransmitted", + "counterSpecifier": "/builtin/network/bytestransmitted", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network collisions", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totalcollisions", + "counterSpecifier": "/builtin/network/totalcollisions", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets received errors", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totalrxerrors", + "counterSpecifier": "/builtin/network/totalrxerrors", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets sent", + "locale": "en-us" + } + ], + "class": "network", + "counter": "packetstransmitted", + "counterSpecifier": "/builtin/network/packetstransmitted", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets received", + "locale": "en-us" + } + ], + "class": "network", + "counter": "packetsreceived", + "counterSpecifier": "/builtin/network/packetsreceived", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets sent errors", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totaltxerrors", + "counterSpecifier": "/builtin/network/totaltxerrors", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Filesystem transfers/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "transferspersecond", + "counterSpecifier": "/builtin/filesystem/transferspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem % free space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentfreespace", + "counterSpecifier": "/builtin/filesystem/percentfreespace", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem % used space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentusedspace", + "counterSpecifier": "/builtin/filesystem/percentusedspace", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem used space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "usedspace", + "counterSpecifier": "/builtin/filesystem/usedspace", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Filesystem read bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "bytesreadpersecond", + "counterSpecifier": "/builtin/filesystem/bytesreadpersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem free space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "freespace", + "counterSpecifier": "/builtin/filesystem/freespace", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Filesystem % free inodes", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentfreeinodes", + "counterSpecifier": "/builtin/filesystem/percentfreeinodes", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "bytespersecond", + "counterSpecifier": "/builtin/filesystem/bytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem reads/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "readspersecond", + "counterSpecifier": "/builtin/filesystem/readspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem write bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "byteswrittenpersecond", + "counterSpecifier": "/builtin/filesystem/byteswrittenpersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem writes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "writespersecond", + "counterSpecifier": "/builtin/filesystem/writespersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem % used inodes", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentusedinodes", + "counterSpecifier": "/builtin/filesystem/percentusedinodes", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU IO wait time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentiowaittime", + "counterSpecifier": "/builtin/processor/percentiowaittime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU user time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentusertime", + "counterSpecifier": "/builtin/processor/percentusertime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU nice time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentnicetime", + "counterSpecifier": "/builtin/processor/percentnicetime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU percentage guest OS", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentprocessortime", + "counterSpecifier": "/builtin/processor/percentprocessortime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU interrupt time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentinterrupttime", + "counterSpecifier": "/builtin/processor/percentinterrupttime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU idle time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentidletime", + "counterSpecifier": "/builtin/processor/percentidletime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU privileged time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentprivilegedtime", + "counterSpecifier": "/builtin/processor/percentprivilegedtime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Memory available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "availablememory", + "counterSpecifier": "/builtin/memory/availablememory", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Swap percent used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentusedswap", + "counterSpecifier": "/builtin/memory/percentusedswap", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Memory used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "usedmemory", + "counterSpecifier": "/builtin/memory/usedmemory", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Page reads", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pagesreadpersec", + "counterSpecifier": "/builtin/memory/pagesreadpersec", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Swap available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "availableswap", + "counterSpecifier": "/builtin/memory/availableswap", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Swap percent available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentavailableswap", + "counterSpecifier": "/builtin/memory/percentavailableswap", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Mem. percent available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentavailablememory", + "counterSpecifier": "/builtin/memory/percentavailablememory", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Pages", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pagespersec", + "counterSpecifier": "/builtin/memory/pagespersec", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Swap used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "usedswap", + "counterSpecifier": "/builtin/memory/usedswap", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Memory percentage", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentusedmemory", + "counterSpecifier": "/builtin/memory/percentusedmemory", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Page writes", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pageswrittenpersec", + "counterSpecifier": "/builtin/memory/pageswrittenpersec", + "type": "builtin", + "unit": "CountPerSecond" + } + ] + }, + "syslogEvents": { + "syslogEventConfiguration": { + "LOG_AUTH": "LOG_DEBUG", + "LOG_AUTHPRIV": "LOG_DEBUG", + "LOG_CRON": "LOG_DEBUG", + "LOG_DAEMON": "LOG_DEBUG", + "LOG_FTP": "LOG_DEBUG", + "LOG_KERN": "LOG_DEBUG", + "LOG_LOCAL0": "LOG_DEBUG", + "LOG_LOCAL1": "LOG_DEBUG", + "LOG_LOCAL2": "LOG_DEBUG", + "LOG_LOCAL3": "LOG_DEBUG", + "LOG_LOCAL4": "LOG_DEBUG", + "LOG_LOCAL5": "LOG_DEBUG", + "LOG_LOCAL6": "LOG_DEBUG", + "LOG_LOCAL7": "LOG_DEBUG", + "LOG_LPR": "LOG_DEBUG", + "LOG_MAIL": "LOG_DEBUG", + "LOG_NEWS": "LOG_DEBUG", + "LOG_SYSLOG": "LOG_DEBUG", + "LOG_USER": "LOG_DEBUG", + "LOG_UUCP": "LOG_DEBUG" + } + } + }, + "sampleRateInSeconds": 15 + } + }, + "protectedSettings": { + "storageAccountName": "[parameters('storageAccount-name')]", + "storageAccountEndPoint": "https://core.windows.net/", + "storageAccountSasToken": "[parameters('storageAccount-sasToken')]" + } } }, { @@ -641,7 +1805,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('linux-virtualMachine-name-prefix'), copyindex(1)))]", - "OMSExtension" + "[variables('mma-extension-name')]" ], "properties": { "publisher": "Microsoft.Azure.NetworkWatcher", @@ -653,7 +1817,5 @@ ] } ], - "outputs": { - - } + "outputs": {} } \ No newline at end of file diff --git a/modules/jb/1.0/azureDeploy.parameters.json b/modules/jb/1.0/azureDeploy.parameters.json index 208661680..c8ed6c641 100644 --- a/modules/jb/1.0/azureDeploy.parameters.json +++ b/modules/jb/1.0/azureDeploy.parameters.json @@ -34,9 +34,9 @@ }, "linux-os-image": { "value": { - "offer": "UbuntuServer", "publisher": "Canonical", - "sku": "16.04-LTS", + "offer": "UbuntuServer", + "sku": "18.04-LTS", "version": "latest" } }, @@ -47,10 +47,7 @@ "value": 1 }, "linux-virtualMachine-size": { - "value": "Standard_DS2_v2" - }, - "linux-sequence-version": { - "value": "a37ae7a2115d" + "value": "Standard_D2s_v3" }, "shared-services-subnet-name": { "value": "${shared-services.network.subnets[0].name}" diff --git a/modules/kdc/1.0/azureDeploy.json b/modules/kdc/1.0/azureDeploy.json index cf0719380..2fd7b475d 100644 --- a/modules/kdc/1.0/azureDeploy.json +++ b/modules/kdc/1.0/azureDeploy.json @@ -9,7 +9,7 @@ } }, "output-params-storage-key":{ - "type":"string", + "type":"securestring", "metadata":{ "description":"Default storage account Key. Storage account that contains output parameters and common scripts" } @@ -20,12 +20,6 @@ "description":"Default storage account name. Storage account that contains output parameters and common scripts" } }, - "oms-id":{ - "type":"string", - "metadata":{ - "description": "ResourceId of the OMS workspace used for diagnostic log integration." - } - }, "vnet-id": { "type": "string", "metadata": { @@ -45,12 +39,6 @@ "description": "Name of the private subnet inside the workload virtual network." } }, - "default-subnet-address-prefix": { - "type": "string", - "metadata": { - "description": "" - } - }, "kdc-asg-name": { "type": "string", "metadata": { @@ -89,7 +77,7 @@ }, "virtualMachine-size": { "type": "string", - "defaultValue": "Standard_DS1_v2", + "defaultValue": "Standard_DS2_v2", "metadata": { "description": "Size of the management VMs." } @@ -144,6 +132,30 @@ }, "adds-vm1-resource-name": { "type": "string" + }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Diagnostic Storage Account name" + } + }, + "la-workspace-id": { + "type": "securestring", + "metadata": { + "description": "WorkspaceId or CustomerId value of OMS. This value is referenced in OMS VM Extension" + } + }, + "la-primary-shared-key": { + "type": "securestring", + "metadata": { + "description": "WorkspaceKey value of OMS. This value is referenced in OMS VM Extension" + } + }, + "storageAccount-sasToken": { + "type": "securestring", + "metadata": { + "description": "Diagnostic Storage Account SAS token" + } } }, "variables": { @@ -152,36 +164,16 @@ "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-vm')]", "subnet-id": "[concat(parameters('vnet-id'), '/subnets/', parameters('default-subnet-name'))]", "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(variables('resource-prefix'), 'diag')]", - "diagnostic-storageAccount-name": "[replace(toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) ), '-', '')]", - "networkWatcher-extension-name": "NetworkWatcher", "osDisk-createOption": "FromImage", - "kdc-asg-id": "[resourceId(parameters('vnet-resourceGroup'),'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('kdc-asg-name'), '-asg'))]" + "kdc-asg-id": "[resourceId(parameters('vnet-resourceGroup'),'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('kdc-asg-name'), '-asg'))]", + "mma-extension-name": "OMSExtension", + "diagnostics-extension-name": "LinuxDiagnostic", + "networkWatcher-extension-name": "NetworkWatcher", + "setup-kdc-extension-name": "KDCInstallation", + "adds-pwsh-extension-name": "PwdPolicies", + "tag-patching": "3rdSat7pm" }, "resources": [ - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-10-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/availabilitySets", "apiVersion": "2016-04-30-preview", @@ -233,15 +225,16 @@ "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "tags": { - "displayName": "[concat(variables('virtualMachine-name-prefix'), copyindex(1))]" + "computerName": "[concat(parameters('extension-name'), '-vm',copyindex(1))]", + "UpdateManagement": "[variables('tag-patching')]", + "layer": "Application" }, "copy": { "name": "vmLoop", "count": "[parameters('virtualMachine-count')]" }, "dependsOn": [ - "nicLoop", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "nicLoop" ], "properties": { "availabilitySet": { @@ -279,11 +272,753 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, "resources": [ + { + "type": "extensions", + "name": "[variables('mma-extension-name')]", + "apiVersion": "2018-06-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + ], + "properties": { + "publisher": "Microsoft.EnterpriseCloud.Monitoring", + "type": "OmsAgentForLinux", + "typeHandlerVersion": "1.7", + "settings": { + "workspaceId": "[parameters('la-workspace-id')]" + }, + "protectedSettings": { + "workspaceKey": "[parameters('la-primary-shared-key')]" + } + } + }, + { + "type": "extensions", + "name": "[variables('diagnostics-extension-name')]", + "apiVersion": "2017-12-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('mma-extension-name')]" + ], + "properties": { + "publisher": "Microsoft.Azure.Diagnostics", + "type": "LinuxDiagnostic", + "typeHandlerVersion": "3.0", + "autoUpgradeMinorVersion": true, + "settings": { + "StorageAccount": "[parameters('storageAccount-name')]", + "ladCfg": { + "diagnosticMonitorConfiguration": { + "eventVolume": "Medium", + "metrics": { + "metricAggregation": [ + { + "scheduledTransferPeriod": "PT1H" + }, + { + "scheduledTransferPeriod": "PT1M" + } + ], + "resourceId": "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + }, + "performanceCounters": { + "performanceCounterConfiguration": [ + { + "annotation": [ + { + "displayName": "Disk read guest OS", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "readbytespersecond", + "counterSpecifier": "/builtin/disk/readbytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk writes", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "writespersecond", + "counterSpecifier": "/builtin/disk/writespersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk transfer time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagetransfertime", + "counterSpecifier": "/builtin/disk/averagetransfertime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk transfers", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "transferspersecond", + "counterSpecifier": "/builtin/disk/transferspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk write guest OS", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "writebytespersecond", + "counterSpecifier": "/builtin/disk/writebytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk read time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagereadtime", + "counterSpecifier": "/builtin/disk/averagereadtime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk write time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagewritetime", + "counterSpecifier": "/builtin/disk/averagewritetime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk total bytes", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "bytespersecond", + "counterSpecifier": "/builtin/disk/bytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk reads", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "readspersecond", + "counterSpecifier": "/builtin/disk/readspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk queue length", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagediskqueuelength", + "counterSpecifier": "/builtin/disk/averagediskqueuelength", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Network in guest OS", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytesreceived", + "counterSpecifier": "/builtin/network/bytesreceived", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network total bytes", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytestotal", + "counterSpecifier": "/builtin/network/bytestotal", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network out guest OS", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytestransmitted", + "counterSpecifier": "/builtin/network/bytestransmitted", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network collisions", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totalcollisions", + "counterSpecifier": "/builtin/network/totalcollisions", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets received errors", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totalrxerrors", + "counterSpecifier": "/builtin/network/totalrxerrors", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets sent", + "locale": "en-us" + } + ], + "class": "network", + "counter": "packetstransmitted", + "counterSpecifier": "/builtin/network/packetstransmitted", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets received", + "locale": "en-us" + } + ], + "class": "network", + "counter": "packetsreceived", + "counterSpecifier": "/builtin/network/packetsreceived", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets sent errors", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totaltxerrors", + "counterSpecifier": "/builtin/network/totaltxerrors", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Filesystem transfers/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "transferspersecond", + "counterSpecifier": "/builtin/filesystem/transferspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem % free space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentfreespace", + "counterSpecifier": "/builtin/filesystem/percentfreespace", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem % used space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentusedspace", + "counterSpecifier": "/builtin/filesystem/percentusedspace", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem used space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "usedspace", + "counterSpecifier": "/builtin/filesystem/usedspace", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Filesystem read bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "bytesreadpersecond", + "counterSpecifier": "/builtin/filesystem/bytesreadpersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem free space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "freespace", + "counterSpecifier": "/builtin/filesystem/freespace", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Filesystem % free inodes", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentfreeinodes", + "counterSpecifier": "/builtin/filesystem/percentfreeinodes", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "bytespersecond", + "counterSpecifier": "/builtin/filesystem/bytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem reads/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "readspersecond", + "counterSpecifier": "/builtin/filesystem/readspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem write bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "byteswrittenpersecond", + "counterSpecifier": "/builtin/filesystem/byteswrittenpersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem writes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "writespersecond", + "counterSpecifier": "/builtin/filesystem/writespersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem % used inodes", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentusedinodes", + "counterSpecifier": "/builtin/filesystem/percentusedinodes", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU IO wait time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentiowaittime", + "counterSpecifier": "/builtin/processor/percentiowaittime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU user time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentusertime", + "counterSpecifier": "/builtin/processor/percentusertime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU nice time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentnicetime", + "counterSpecifier": "/builtin/processor/percentnicetime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU percentage guest OS", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentprocessortime", + "counterSpecifier": "/builtin/processor/percentprocessortime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU interrupt time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentinterrupttime", + "counterSpecifier": "/builtin/processor/percentinterrupttime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU idle time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentidletime", + "counterSpecifier": "/builtin/processor/percentidletime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU privileged time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentprivilegedtime", + "counterSpecifier": "/builtin/processor/percentprivilegedtime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Memory available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "availablememory", + "counterSpecifier": "/builtin/memory/availablememory", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Swap percent used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentusedswap", + "counterSpecifier": "/builtin/memory/percentusedswap", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Memory used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "usedmemory", + "counterSpecifier": "/builtin/memory/usedmemory", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Page reads", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pagesreadpersec", + "counterSpecifier": "/builtin/memory/pagesreadpersec", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Swap available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "availableswap", + "counterSpecifier": "/builtin/memory/availableswap", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Swap percent available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentavailableswap", + "counterSpecifier": "/builtin/memory/percentavailableswap", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Mem. percent available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentavailablememory", + "counterSpecifier": "/builtin/memory/percentavailablememory", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Pages", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pagespersec", + "counterSpecifier": "/builtin/memory/pagespersec", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Swap used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "usedswap", + "counterSpecifier": "/builtin/memory/usedswap", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Memory percentage", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentusedmemory", + "counterSpecifier": "/builtin/memory/percentusedmemory", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Page writes", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pageswrittenpersec", + "counterSpecifier": "/builtin/memory/pageswrittenpersec", + "type": "builtin", + "unit": "CountPerSecond" + } + ] + }, + "syslogEvents": { + "syslogEventConfiguration": { + "LOG_AUTH": "LOG_DEBUG", + "LOG_AUTHPRIV": "LOG_DEBUG", + "LOG_CRON": "LOG_DEBUG", + "LOG_DAEMON": "LOG_DEBUG", + "LOG_FTP": "LOG_DEBUG", + "LOG_KERN": "LOG_DEBUG", + "LOG_LOCAL0": "LOG_DEBUG", + "LOG_LOCAL1": "LOG_DEBUG", + "LOG_LOCAL2": "LOG_DEBUG", + "LOG_LOCAL3": "LOG_DEBUG", + "LOG_LOCAL4": "LOG_DEBUG", + "LOG_LOCAL5": "LOG_DEBUG", + "LOG_LOCAL6": "LOG_DEBUG", + "LOG_LOCAL7": "LOG_DEBUG", + "LOG_LPR": "LOG_DEBUG", + "LOG_MAIL": "LOG_DEBUG", + "LOG_NEWS": "LOG_DEBUG", + "LOG_SYSLOG": "LOG_DEBUG", + "LOG_USER": "LOG_DEBUG", + "LOG_UUCP": "LOG_DEBUG" + } + } + }, + "sampleRateInSeconds": 15 + } + }, + "protectedSettings": { + "storageAccountName": "[parameters('storageAccount-name')]", + "storageAccountEndPoint": "https://core.windows.net/", + "storageAccountSasToken": "[parameters('storageAccount-sasToken')]" + } + } + }, { "type": "extensions", "name": "[variables('networkWatcher-extension-name')]", @@ -291,7 +1026,8 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'setupKDC')]" + "[variables('mma-extension-name')]", + "[variables('diagnostics-extension-name')]" ], "properties": { "publisher": "Microsoft.Azure.NetworkWatcher", @@ -302,10 +1038,11 @@ }, { "type": "extensions", - "name": "setupKDC", + "name": "[variables('setup-kdc-extension-name')]", "location": "[resourceGroup().location]", "dependsOn": [ - "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('networkWatcher-extension-name')]" ], "apiVersion": "2017-03-30", "properties": { @@ -353,7 +1090,7 @@ "resources": [ { "type": "extensions", - "name": "PSOneWayTrustSetup", + "name": "[variables('adds-pwsh-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ @@ -405,7 +1142,7 @@ "resources": [ { "type": "extensions", - "name": "setupKDC", + "name": "[variables('setup-kdc-extension-name')]", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), '1'))]" @@ -457,7 +1194,7 @@ "resources": [ { "type": "extensions", - "name": "PSOneWayTrustSetup", + "name": "[variables('adds-pwsh-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ @@ -509,7 +1246,7 @@ "resources": [ { "type": "extensions", - "name": "setupKDC", + "name": "[variables('setup-kdc-extension-name')]", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), '2'))]" @@ -559,7 +1296,7 @@ "resources": [ { "type": "extensions", - "name": "setupKDC", + "name": "[variables('setup-kdc-extension-name')]", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), '1'))]" @@ -613,7 +1350,7 @@ "resources": [ { "type": "extensions", - "name": "setupKDC", + "name": "[variables('setup-kdc-extension-name')]", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyIndex(1)))]" diff --git a/modules/kdc/1.0/azureDeploy.parameters.json b/modules/kdc/1.0/azureDeploy.parameters.json index a75cd8642..40178a674 100644 --- a/modules/kdc/1.0/azureDeploy.parameters.json +++ b/modules/kdc/1.0/azureDeploy.parameters.json @@ -17,7 +17,7 @@ "value": "${shared-services.active-directory.domain-admin-user}@${shared-services.active-directory.domain-name}" }, "extension-name": { - "value": "kdc" + "value": "kdc01" }, "domain-name": { "value": "${shared-services.active-directory.domain-name}" @@ -60,19 +60,19 @@ "value": "${workload.network.application-security-groups[1].name}" }, "adds-vm1-hostname": { - "value": "${shared-services.adds.adds-vm1-hostname}" + "value": "${shared-services.active-directory.adds-vm1-hostname}" }, "adds-vm2-hostname": { - "value": "${shared-services.adds.adds-vm2-hostname}" + "value": "${shared-services.active-directory.adds-vm2-hostname}" }, "adds-resourceGroup": { - "value": "${shared-services.adds.resource-group-name}" + "value": "${shared-services.active-directory.resource-group-name}" }, "adds-subscriptionId": { "value": "${shared-services.subscription-id}" }, "adds-vm1-resource-name": { - "value": "${shared-services.adds.adds-vm1-resource-name}" + "value": "${shared-services.active-directory.adds-vm1-resource-name}" }, "discovery-custom-domain": { "value": "${shared-services.active-directory.discovery-custom-domain}" diff --git a/modules/kv/1.0/azureDeploy.json b/modules/kv/1.0/azureDeploy.json index 334524342..7c197f6f1 100644 --- a/modules/kv/1.0/azureDeploy.json +++ b/modules/kv/1.0/azureDeploy.json @@ -16,7 +16,7 @@ }, "logs-retention-in-days": { "type": "int", - "defaultValue": 0, + "defaultValue": 365, "minValue": 0, "maxValue": 365, "metadata": { @@ -66,18 +66,16 @@ "description": "Specifies the SKU for the vault" } }, - "oms-workspace-resourceGroup": { + "la-resourceId": { "type": "string", - "minLength": 1, "metadata": { - "description": "Name of the Resource Group housing the OMS workspace." + "description": "Log Analytics workspace resource identifier" } }, - "oms-workspace-name": { + "storageAccount-resourceId": { "type": "string", - "minLength": 1, "metadata": { - "description": "Name of the OMS workspace used for diagnostic log integration." + "description": "Diagnostic storage account resource identifier" } }, "secrets-object": { @@ -86,42 +84,41 @@ "metadata": { "description": "all secrets {\"secretName\":\"\",\"secretValue\":\"\"} wrapped in a secure object" } + }, + "network-acls": { + "type": "object", + "metadata": { + "description": "Service endpoint object information" + } + }, + "vnet-id": { + "type": "string", + "metadata": { + "description": "Shared services Virtual Network resource identifier" + } } }, "variables": { + "deploy-service-endpoint": "[not(empty(parameters('network-acls')))]", "key-vault-name": "[concat(parameters('deployment-prefix'), '-kv')]", - "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(replace(parameters('deployment-prefix'), '-', ''), 'kvdiag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]" - }, - "resources": [ - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-06-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Key Vault Diagnostic Storage Account')" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } + "virtualNetwork-rules": { + "copy": [ + { + "name": "virtualNetworkRules", + "count": "[if(equals(variables('deploy-service-endpoint'), bool('false')), 1, if(equals(length(parameters('network-acls').virtualNetworkRules), 0), 1, length(parameters('network-acls').virtualNetworkRules)))]", + "input": { + "id": "[if(equals(variables('deploy-service-endpoint'), bool('false')), json('null'), if(equals(length(parameters('network-acls').virtualNetworkRules), 0), json('null'), concat(parameters('vnet-id'), '/subnets/', parameters('network-acls').virtualNetworkRules[copyIndex('virtualNetworkRules')].subnet)))]" } } - } + ] }, + "empty-array": [] + }, + "resources": [ { "type": "Microsoft.KeyVault/vaults", "name": "[variables('key-vault-name')]", - "apiVersion": "2016-10-01", + "apiVersion": "2018-02-14", "location": "[resourceGroup().location]", "tags": { "displayName": "[variables('key-vault-name')]" @@ -137,10 +134,10 @@ "family": "A" }, "networkAcls": { - "value": { - "defaultAction": "Allow", - "bypass": "AzureServices" - } + "bypass": "[if(not(variables('deploy-service-endpoint')), json('null'), parameters('network-acls').bypass)]", + "defaultAction": "[if(not(variables('deploy-service-endpoint')), json('null'), parameters('network-acls').defaultAction)]", + "virtualNetworkRules": "[if(not(variables('deploy-service-endpoint')), json('null'), if(equals(length(parameters('network-acls').virtualNetworkRules), 0), variables('empty-array'), variables('virtualNetwork-rules').virtualNetworkRules))]", + "ipRules": "[if(not(variables('deploy-service-endpoint')), json('null'), if(equals(length(parameters('network-acls').ipRules), 0), variables('empty-array'), parameters('network-acls').ipRules))]" } }, "resources": [ @@ -150,12 +147,11 @@ "apiVersion": "2016-09-01", "location": "[resourceGroup().location]", "dependsOn": [ - "[concat('Microsoft.KeyVault/vaults/', variables('key-vault-name'))]", - "[concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name'))]" + "[concat('Microsoft.KeyVault/vaults/', variables('key-vault-name'))]" ], "properties": { - "storageAccountId": "[resourceId('Microsoft.Storage/storageAccounts', variables('diagnostic-storageAccount-name'))]", - "workspaceId": "[resourceId(parameters('oms-workspace-resourceGroup'), 'Microsoft.OperationalInsights/workspaces', parameters('oms-workspace-name'))]", + "storageAccountId": "[parameters('storageAccount-resourceId')]", + "workspaceId": "[parameters('la-resourceId')]", "logs": [ { "category": "AuditEvent", @@ -165,6 +161,16 @@ "days": "[parameters('logs-retention-in-days')]" } } + ], + "metrics": [ + { + "category": "AllMetrics", + "enabled": true, + "retentionPolicy": { + "days": "[parameters('logs-retention-in-days')]", + "enabled": true + } + } ] } } @@ -182,18 +188,6 @@ "level": "CannotDelete" } }, - { - "type": "Microsoft.Storage/storageAccounts/providers/locks", - "apiVersion": "2016-09-01", - "name": "[concat(variables('diagnostic-storageAccount-name'), '/Microsoft.Authorization/storageDoNotDelete')]", - "dependsOn": [ - "[concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name'))]" - ], - "comments": "Resource lock on key vault diagnostic storage account", - "properties": { - "level": "CannotDelete" - } - }, { "type": "Microsoft.KeyVault/vaults/secrets", "name": "[if(equals(length(parameters('secrets-object').secrets), 0), concat(variables('key-vault-name'), '/', 'dummy'), concat(variables('key-vault-name'), '/', parameters('secrets-object').secrets[copyIndex()].secretName))]", diff --git a/modules/kv/1.0/azureDeploy.parameters.json b/modules/kv/1.0/azureDeploy.parameters.json index 4f61b741d..86f17ae42 100644 --- a/modules/kv/1.0/azureDeploy.parameters.json +++ b/modules/kv/1.0/azureDeploy.parameters.json @@ -40,5 +40,8 @@ "value": { "secrets": "${ENV:ENVIRONMENT-TYPE.keyvault.secrets}" } + }, + "network-acls": { + "value": "${ENV:ENVIRONMENT-TYPE.keyvault.network-acls}" } } \ No newline at end of file diff --git a/modules/la/1.0/azureDeploy.json b/modules/la/1.0/azureDeploy.json index 87ee6da1c..9f23f1695 100644 --- a/modules/la/1.0/azureDeploy.json +++ b/modules/la/1.0/azureDeploy.json @@ -10,127 +10,1189 @@ }, "service-tier": { "type": "string", + "defaultValue": "PerNode", "allowedValues": [ "Free", "Standalone", - "PerNode" + "PerNode", + "PerGB2018" ], "metadata": { - "description": "Service Tier: Free, Standalone, or PerNode" + "description": "Service Tier: Free, Standalone, PerGB or PerNode" } }, "data-retention": { "type": "int", - "defaultValue": 30, - "minValue": 7, + "defaultValue": 365, + "minValue": 0, "maxValue": 730, "metadata": { - "description": "Number of days data will be retained for." + "description": "Number of days data will be retained for" } }, "location": { "type": "string", "allowedValues": [ + "Australia Central", + "Australia East", "Australia Southeast", "Canada Central", "Central India", + "Central US", + "East Asia", "East US", + "East US 2", + "France Central", "Japan East", + "Korea Central", + "North Europe", + "South Central US", "Southeast Asia", "UK South", "West Europe", - "North Europe", + "West US", "West US 2" ], "metadata": { - "description": "Region used when establishing the workspace." + "description": "Region used when establishing the workspace" + } + }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Diagnostic Storage Account name" + } + }, + "storageAccount-resourceId": { + "type": "string", + "metadata": { + "description": "Log Analytics workspace resource identifier" + } + }, + "storageAccount-accessKey": { + "type": "string", + "metadata": { + "description": "Diagnostic Storage Account key" } } }, "variables": { - "oms-workspace-name": "[concat(parameters('deployment-prefix'), '-la')]", - "uniqueString": "[uniqueString(subscription().id, resourceGroup().id, 'diag-la')]", - "diagnostic-storageAccount-prefix": "[concat(replace(parameters('deployment-prefix'), '-', ''), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]" + "la-workspace-name": "[concat(parameters('deployment-prefix'), '-la')]", + "updates": { + "Name": "[Concat('Updates', '(', variables('la-workspace-name'), ')')]", + "GalleryName": "Updates" + }, + "azureAutomation": { + "Name": "[Concat('AzureAutomation', '(', variables('la-workspace-name'), ')')]", + "GalleryName": "AzureAutomation" + }, + "antiMalware": { + "Name": "[concat('AntiMalware', '(', variables('la-workspace-name'), ')')]", + "GalleryName": "AntiMalware" + }, + "SQLAssessment": { + "Name": "[concat('SQLAssessment', '(', variables('la-workspace-name'), ')')]", + "GalleryName": "SQLAssessment" + }, + "Security": { + "Name": "[concat('Security', '(', variables('la-workspace-name'), ')')]", + "GalleryName": "Security" + }, + "SecurityCenter": { + "Name": "[concat('SecurityCenterFree', '(', variables('la-workspace-name'), ')')]", + "GalleryName": "SecurityCenterFree" + }, + "ChangeTracking": { + "Name": "[concat('ChangeTracking', '(', variables('la-workspace-name'), ')')]", + "GalleryName": "ChangeTracking" + }, + "KeyVaultAnalytics":{ + "name": "[concat('KeyVaultAnalytics', '(', variables('la-workspace-name'), ')')]", + "galleryName": "KeyVaultAnalytics" + }, + "log-analytics-search-version": 1 }, "resources": [ { - "type": "Microsoft.Storage/storageAccounts", - "apiVersion": "2018-07-01", - "name": "[variables('diagnostic-storageAccount-name')]", - "sku": { - "name": "Standard_LRS", - "tier": "Standard" - }, - "kind": "StorageV2", + "apiVersion": "2017-03-15-preview", + "type": "Microsoft.OperationalInsights/workspaces", "location": "[parameters('location')]", - "tags": {}, - "scale": null, + "name": "[variables('la-workspace-name')]", "properties": { - "isHnsEnabled": false, - "networkAcls": { - "bypass": "AzureServices", - "virtualNetworkRules": [], - "ipRules": [], - "defaultAction": "Allow" - }, - "supportsHttpsTrafficOnly": true, - "encryption": { - "services": { - "file": { - "enabled": true - }, - "blob": { - "enabled": true + "features": { + "searchVersion": "[variables('log-analytics-search-version')]" + }, + "sku": { + "name": "[parameters('service-tier')]" + }, + "retentionInDays": "[parameters('data-retention')]" + }, + "resources": [ + { + "apiVersion": "2017-03-15-preview", + "name": "VMSSQueries", + "type": "savedSearches", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "properties": { + "etag": "*", + "DisplayName": "VMSS Instance Count", + "Category": "VDC Saved Searches", + "Query": "Event | where Source == \"ServiceFabricNodeBootstrapAgent\" | summarize AggregatedValue = count() by Computer" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "applicationEvent", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsEvent", + "properties": { + "eventLogName": "Application", + "eventTypes": [ + { + "eventType": "Error" + }, + { + "eventType": "Warning" + }, + { + "eventType": "Information" + } + ] + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "systemEvent", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsEvent", + "properties": { + "eventLogName": "System", + "eventTypes": [ + { + "eventType": "Error" + }, + { + "eventType": "Warning" + }, + { + "eventType": "Information" + } + ] + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter1", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Processor", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "% Processor Time" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter2", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Processor", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "% Privileged Time" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter3", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Processor", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "% User Time" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter4", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Processor", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Processor Frequency" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter5", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Process", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Thread Count" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter6", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Process", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Handle Count" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter7", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "System", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "System Up Time" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter8", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "System", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Context Switches/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter9", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "System", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Processor Queue Length" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter10", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "System", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Processes" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter11", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Memory", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "% Committed Bytes In Use" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter12", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Memory", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Available MBytes" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter13", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Memory", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Available Bytes" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter14", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Memory", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Committed Bytes" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter15", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Memory", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Cache Bytes" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter16", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Memory", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Pool Paged Bytes" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter17", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Memory", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Pool Nonpaged Bytes" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter18", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Memory", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Pages/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter19", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Memory", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Page Faults/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter20", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Process", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Working Set" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter21", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Process", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Working Set - Private" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter22", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "% Disk Time" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter23", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "% Disk Read Time" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter24", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "% Disk Write Time" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter25", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "% Idle Time" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter26", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Disk Bytes/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter27", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Disk Read Bytes/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter28", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Disk Write Bytes/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter29", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Disk Transfers/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter30", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Disk Reads/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter31", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Disk Writes/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter32", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Avg. Disk sec/Transfer" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter33", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Avg. Disk sec/Read" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter34", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Avg. Disk sec/Write" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter35", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Avg. Disk Queue Length" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter36", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Avg. Disk Write Queue Length" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter37", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "% Free Space" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter38", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "LogicalDisk", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Free Megabytes" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter39", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Network Interface", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Bytes Total/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter40", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Network Interface", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Bytes Sent/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter41", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Network Interface", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Bytes Received/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter42", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Network Interface", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Packets/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter43", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Network Interface", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Packets Sent/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter44", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Network Interface", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Packets Received/sec" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter45", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Network Interface", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Packets Outbound Errors" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "windowsPerfCounter46", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "WindowsPerformanceCounter", + "properties": { + "objectName": "Network Interface", + "instanceName": "*", + "intervalSeconds": 60, + "counterName": "Packets Received Errors" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "sampleIISLog1", + "condition": false, + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "IISLogs", + "properties": { + "state": "OnPremiseEnabled" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "sampleSyslog1", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "LinuxSyslog", + "properties": { + "syslogName": "kern", + "syslogSeverities": [ + { + "severity": "emerg" + }, + { + "severity": "alert" + }, + { + "severity": "crit" + }, + { + "severity": "err" + }, + { + "severity": "warning" + } + ] + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "sampleSyslogCollection1", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "LinuxSyslogCollection", + "properties": { + "state": "Enabled" + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "sampleLinuxPerf1", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "LinuxPerformanceObject", + "properties": { + "performanceCounters": [ + { + "counterName": "% Used Inodes" + }, + { + "counterName": "Free Megabytes" + }, + { + "counterName": "% Used Space" + }, + { + "counterName": "Disk Transfers/sec" + }, + { + "counterName": "Disk Reads/sec" + }, + { + "counterName": "Disk Writes/sec" + } + ], + "objectName": "Logical Disk", + "instanceName": "*", + "intervalSeconds": 10 + } + }, + { + "apiVersion": "2015-11-01-preview", + "type": "datasources", + "name": "sampleLinuxPerfCollection1", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "kind": "LinuxPerformanceCollection", + "properties": { + "state": "Enabled" + } + }, + { + "apiVersion": "2015-03-20", + "name": "[concat(parameters('storageAccount-name'),variables('la-workspace-name'))]", + "type": "storageinsightconfigs", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "properties": { + "containers": [], + "tables": [ + "WADWindowsEventLogsTable", + "WADETWEventTable", + "WADServiceFabric*EventTable", + "LinuxsyslogVer2v0" + ], + "storageAccount": { + "id": "[parameters('storageAccount-resourceId')]", + "key": "[parameters('storageAccount-accessKey')]" } + } + }, + { + "apiVersion": "2015-11-01-preview", + "location": "[parameters('location')]", + "name": "[variables('Updates').Name]", + "type": "Microsoft.OperationsManagement/solutions", + "id": "[Concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.OperationsManagement/solutions/', variables('Updates').Name)]", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + ], + "properties": { + "workspaceResourceId": "[resourceId('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" }, - "keySource": "Microsoft.Storage" + "plan": { + "name": "[variables('Updates').Name]", + "publisher": "Microsoft", + "product": "[Concat('OMSGallery/', variables('Updates').GalleryName)]", + "promotionCode": "" + } }, - "accessTier": "Cool" - }, - "dependsOn": [] + { + "apiVersion": "2015-11-01-preview", + "location": "[parameters('location')]", + "name": "[variables('AzureAutomation').Name]", + "type": "Microsoft.OperationsManagement/solutions", + "id": "[Concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.OperationsManagement/solutions/', variables('AzureAutomation').Name)]", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]", + "[variables('Updates').Name]" + ], + "properties": { + "workspaceResourceId": "[resourceId('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + }, + "plan": { + "name": "[variables('AzureAutomation').Name]", + "publisher": "Microsoft", + "product": "[Concat('OMSGallery/', variables('AzureAutomation').GalleryName)]", + "promotionCode": "" + } + }, + { + "apiVersion": "2015-11-01-preview", + "location": "[parameters('location')]", + "name": "[variables('AntiMalware').Name]", + "type": "Microsoft.OperationsManagement/solutions", + "id": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.OperationsManagement/solutions/', variables('AntiMalware').Name)]", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]", + "[variables('AzureAutomation').Name]" + ], + "properties": { + "workspaceResourceId": "[resourceId('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + }, + "plan": { + "name": "[variables('AntiMalware').Name]", + "publisher": "Microsoft", + "product": "[Concat('OMSGallery/', variables('AntiMalware').GalleryName)]", + "promotionCode": "" + } + }, + { + "apiVersion": "2015-11-01-preview", + "location": "[parameters('location')]", + "name": "[variables('SQLAssessment').Name]", + "type": "Microsoft.OperationsManagement/solutions", + "id": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.OperationsManagement/solutions/', variables('SQLAssessment').Name)]", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]", + "[variables('AntiMalware').Name]" + ], + "properties": { + "workspaceResourceId": "[resourceId('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + }, + "plan": { + "name": "[variables('SQLAssessment').Name]", + "publisher": "Microsoft", + "product": "[Concat('OMSGallery/', variables('SQLAssessment').GalleryName)]", + "promotionCode": "" + } + }, + { + "apiVersion": "2015-11-01-preview", + "location": "[parameters('location')]", + "name": "[variables('Security').Name]", + "type": "Microsoft.OperationsManagement/solutions", + "id": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.OperationsManagement/solutions/', variables('Security').Name)]", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]", + "[variables('SQLAssessment').Name]" + ], + "properties": { + "workspaceResourceId": "[resourceId('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + }, + "plan": { + "name": "[variables('Security').Name]", + "product": "[Concat('OMSGallery/', variables('Security').GalleryName)]", + "publisher": "Microsoft", + "promotionCode": "" + } + }, + { + "apiVersion": "2015-11-01-preview", + "location": "[parameters('location')]", + "name": "[variables('SecurityCenter').Name]", + "type": "Microsoft.OperationsManagement/solutions", + "id": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.OperationsManagement/solutions/', variables('SecurityCenter').Name)]", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]", + "[variables('Security').Name]" + ], + "properties": { + "workspaceResourceId": "[resourceId('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + }, + "plan": { + "name": "[variables('SecurityCenter').Name]", + "product": "[Concat('OMSGallery/', variables('SecurityCenter').GalleryName)]", + "publisher": "Microsoft", + "promotionCode": "" + } + }, + { + "apiVersion": "2015-11-01-preview", + "location": "[parameters('location')]", + "name": "[variables('ChangeTracking').Name]", + "type": "Microsoft.OperationsManagement/solutions", + "id": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.OperationsManagement/solutions/', variables('ChangeTracking').Name)]", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]", + "[variables('SecurityCenter').Name]" + ], + "properties": { + "workspaceResourceId": "[resourceId('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + }, + "plan": { + "name": "[variables('ChangeTracking').Name]", + "product": "[Concat('OMSGallery/', variables('ChangeTracking').GalleryName)]", + "publisher": "Microsoft", + "promotionCode": "" + } + }, + { + "apiVersion": "2015-11-01-preview", + "location": "[parameters('location')]", + "name": "[variables('KeyVaultAnalytics').Name]", + "type": "Microsoft.OperationsManagement/solutions", + "id": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name, '/providers/Microsoft.OperationsManagement/solutions/', variables('KeyVaultAnalytics').Name)]", + "dependsOn": [ + "[concat('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]", + "[variables('ChangeTracking').Name]" + ], + "properties": { + "workspaceResourceId": "[resourceId('Microsoft.OperationalInsights/workspaces/', variables('la-workspace-name'))]" + }, + "plan": { + "name": "[variables('KeyVaultAnalytics').Name]", + "product": "[Concat('OMSGallery/', variables('KeyVaultAnalytics').GalleryName)]", + "publisher": "Microsoft", + "promotionCode": "" + } + } + ] }, { - "apiVersion": "2017-03-15-preview", - "name": "[variables('oms-workspace-name')]", - "location": "[parameters('location')]", - "tags": { - - }, - "type": "Microsoft.OperationalInsights/workspaces", + "type": "Microsoft.OperationalInsights/workspaces/providers/locks", + "apiVersion": "2016-09-01", + "name": "[concat(variables('la-workspace-name'), '/Microsoft.Authorization/logAnalyticsDoNotDelete')]", + "dependsOn": [ + "[variables('la-workspace-name')]" + ], + "comments": "Resource lock on Log Analytics", "properties": { - "sku": { - "Name": "[parameters('service-tier')]" - }, - "retention": "[parameters('data-retention')]" + "level": "CannotDelete" } } ], "outputs": { - "oms-id": { + "la-resourceId": { "type": "string", - "value": "[resourceId('Microsoft.OperationalInsights/workspaces', variables('oms-workspace-name'))]" + "value": "[resourceId('Microsoft.OperationalInsights/workspaces', variables('la-workspace-name'))]" }, - "oms-workspace-resourceGroup": { + "la-workspace-resourceGroup": { "type": "string", "value": "[resourceGroup().name]" }, - "oms-workspace-name": { - "type": "string", - "value": "[variables('oms-workspace-name')]" - }, - "oms-workspace-id": { + "la-workspace-name": { "type": "string", - "value": "[reference(resourceId('Microsoft.OperationalInsights/workspaces', variables('oms-workspace-name')), '2015-03-20').customerId]" + "value": "[variables('la-workspace-name')]" }, - "oms-primary-shared-key": { + "la-workspace-id": { "type": "string", - "value": "[listKeys(resourceId('Microsoft.OperationalInsights/workspaces', variables('oms-workspace-name')), '2015-03-20').primarySharedKey]" + "value": "[reference(resourceId('Microsoft.OperationalInsights/workspaces', variables('la-workspace-name')), '2015-03-20').customerId]" }, - "oms-storage-id": { + "la-primary-shared-key": { "type": "string", - "value": "[resourceId('Microsoft.Storage/storageAccounts', variables('diagnostic-storageAccount-name'))]" - + "value": "[listKeys(resourceId('Microsoft.OperationalInsights/workspaces', variables('la-workspace-name')), '2015-03-20').primarySharedKey]" } } } \ No newline at end of file diff --git a/modules/la/1.0/azureDeploy.parameters.json b/modules/la/1.0/azureDeploy.parameters.json index 33c9926d2..a7ec05be4 100644 --- a/modules/la/1.0/azureDeploy.parameters.json +++ b/modules/la/1.0/azureDeploy.parameters.json @@ -3,11 +3,14 @@ "value": "${general.organization-name}-${ENV:ENVIRONMENT-TYPE.deployment-name}" }, "data-retention": { - "value": 30 + "value": 365 }, "location": { "value": "${ENV:ENVIRONMENT-TYPE.log-analytics.region}" }, + "automation-account-location": { + "value": "${ENV:ENVIRONMENT-TYPE.automation-account.region}" + }, "service-tier": { "value": "PerNode" } diff --git a/modules/management/1.0/arm.policies.json b/modules/management/1.0/arm.policies.json deleted file mode 100644 index ed8cadc51..000000000 --- a/modules/management/1.0/arm.policies.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "policies":[ - { - "name":"workloadNetPermittedResourceTypes", - "description":"Policy to prevent the creation of unauthorized resource types within the resource group.", - "rules":{ - "if":{ - "not":{ - "field":"type", - "in":[ - "Microsoft.Network/routeTables", - "Microsoft.Network/networkSecurityGroups", - "Microsoft.Network/applicationSecurityGroups", - "Microsoft.Network/virtualNetworks" - ] - } - }, - "then":{ - "effect":"audit" - } - } - } -]} \ No newline at end of file diff --git a/modules/management/1.0/azureDeploy.json b/modules/management/1.0/azureDeploy.json deleted file mode 100644 index 31088e7f8..000000000 --- a/modules/management/1.0/azureDeploy.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "subscription-id": { - "type": "string", - "metadata": { - "description": "Subscription id for the resources" - } - }, - "deployment-prefix": { - "type": "string", - "metadata": { - "description": "Deployment prefix. E.g. Organization-DeploymentType" - } - }, - "os-disk-size-gb": { - "defaultValue": 0, - "minValue": 0, - "maxValue": 1023, - "type": "int", - "metadata": { - "description": "Disk size (in GB) to provision for each of the agent pool nodes. This value ranges from 0 to 1023. Specifying 0 will apply the default disk size for that agentVMSize." - } - }, - "jumpbox-vm-size": { - "defaultValue": "Standard_D2_v2", - "type": "string", - "metadata": { - "description": "The size of the Virtual Machine." - } - }, - "os-type": { - "defaultValue": "Linux", - "allowedValues": [ - "Linux", - "Windows" - ], - "type": "string", - "metadata": { - "description": "The type of operating system." - } - }, - "workload-vnet-id": { - "type": "string", - "metadata": { - "description": "Virtual Network Id for the workload." - } - }, - "worklaod-vnet-name": { - "type": "string", - "metadata": { - "description": "Virtual Network Name for the workload." - } - }, - "workload-infra-resource-group-id": { - "type": "string", - "metadata": { - "description": "Virtual Network's Resource Group Name for the workload." - } - }, - "workload-infra-resource-group-name": { - "type": "string", - "metadata": { - "description": "Virtual Network's Resource Group Name for the workload." - } - } - }, - "variables": { - "jumpbox-name": "[concat(parameters('deployment-prefix'), '-jumpbox')]", - "jumpbox-os-disk-name": "[concat(parameters('deployment-prefix'), '-jumpbox-os-disk')]", - "jumpbox-nic-name": "[concat(parameters('deployment-prefix'), '-jumpbox-VMNic')]", - "jumpbox-subnet-id": "[concat(parameters('workload-vnet-id'), '/subnets/admin')]", - "jumpbox-nsg-id": "[concat(parameters('workload-infra-resource-group-id'), '/providers/Microsoft.Network/networkSecurityGroups/kn-standalone-ssh-nsg')]" - }, - "resources": [ - { - "apiVersion": "2016-03-30", - "type": "Microsoft.Network/networkInterfaces", - "name": "[variables('jumpbox-nic-name')]", - "location": "[resourceGroup().location]", - "dependsOn": [], - "properties": { - "ipConfigurations": [ - { - "name": "ipconfigstandalone-jumpbox", - "properties": { - "privateIPAllocationMethod": "Dynamic", - "subnet": { "id": "[variables('jumpbox-subnet-id')]" }, - "primary": true, - "privateIPAddressVersion": "IPv4" - } - } - ], - "networkSecurityGroup": { - "id": "[variables('jumpbox-nsg-id')]" - }, - "primary": true, - "tapConfigurations": [] - } - }, - { - "apiVersion": "2016-04-30-preview", - "type": "Microsoft.Compute/virtualMachines", - "name": "[variables('jumpbox-name')]", - "location": "[resourceGroup().location]", - "dependsOn": [ - "[resourceId('Microsoft.Network/networkInterfaces/', variables('jumpbox-nic-name'))]" - ], - "properties": { - "hardwareProfile": { "vmSize": "[parameters('jumpbox-vm-size')]" }, - "osProfile": { - "computerName": "[variables('jumpbox-name')]", - "adminUsername": "azadmin", - "linuxConfiguration": { - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "path": "/home/azadmin/.ssh/authorized_keys", - "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDsCEh3FVtGR+ssnLYo16m3TOTUdUHJDYWObAPxCZRy5VMOPXi6UkuXVIzebWpYXwoineqYs+udPsa8Uck4HuE43mzaALSqJA3Rt7McfecpVaORgLvg9FS83xIsFsMFtTattBN30TwgiEQrKAiybscY760QWcO0BWK4kAWF/zAojuabahom4WTcfeY4rQZOp00NvvGPBZb7jW8y+FzUsbdzH1tPEWgThmjEED0QN7+/WT26aOnHeqCprv/CfhjC8T3Wgh3O2BLx+Yk2dQS4Rh3cESkaaUJdhFPcIqxxdmgN0dlcn4wYFYRFz1SReLsnvgwuFb6s6gPj6KB3Rv3DWtZb kunachim@DESKTOP-ENMVNU3\n" - } - ] - } - }, - "secrets": [] - }, - "storageProfile": { - "imageReference": { - "publisher": "Canonical", - "offer": "UbuntuServer", - "sku": "18.04-LTS", - "version": "latest" - }, - "osDisk": { - "osType": "[parameters('os-type')]", - "name": "[variables('jumpbox-os-disk-name')]", - "createOption": "FromImage", - "caching": "ReadWrite", - "managedDisk": { - "storageAccountType": "Premium_LRS" - }, - "diskSizeGB": "[parameters('os-disk-size-gb')]" - }, - "dataDisks": [] - }, - "networkProfile": { - "networkInterfaces": [ - { - "id": "[resourceId('Microsoft.Network/networkInterfaces', variables('jumpbox-nic-name'))]" - } - ] - } - } - } - ], - "outputs": { - - } -} \ No newline at end of file diff --git a/modules/management/1.0/azureDeploy.parameters.json b/modules/management/1.0/azureDeploy.parameters.json deleted file mode 100644 index bbe125df5..000000000 --- a/modules/management/1.0/azureDeploy.parameters.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "subscription-id": { - "value": "${workload.subscription-id}" - }, - "deployment-prefix": { - "value": "${general.organization-name}-standalone" - }, - "os-disk-size-gb": { - "value": 30 - }, - "jumpbox-vm-size": { - "value": "Standard_DS2_v2" - }, - "os-type": { - "value": "${workload.kubernetes.os-type}" - } -} \ No newline at end of file diff --git a/modules/netweaver/1.0/azureDeploy.json b/modules/netweaver/1.0/azureDeploy.json index c6a478de2..9ef48b756 100644 --- a/modules/netweaver/1.0/azureDeploy.json +++ b/modules/netweaver/1.0/azureDeploy.json @@ -8,14 +8,14 @@ "description": "" } }, - "sas-key":{ - "type":"string", - "metadata":{ - "description":"" + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Storage account used to store diagnostic information" } }, "output-params-storage-key":{ - "type":"string", + "type":"securestring", "metadata":{ "description":"Default storage account Key. Storage account that contains output parameters and common scripts" } @@ -236,15 +236,9 @@ "variables": { "availabilitySet-name": "[concat(parameters('deployment-prefix'), '-as')]", "subnet-id": "[concat(parameters('vnet-id'), '/subnets/', parameters('default-subnet-name'))]", - "configuration-url-sasToken": "[concat('?', parameters('sas-key'))]", "resource-prefix": "[concat(parameters('deployment-prefix'), '-', parameters('extension-name'))]", - "hana-lb-name": "[concat(variables('resource-prefix'), '-lb')]", "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-vm')]", - "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(parameters('extension-name'), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", "networkWatcher-extension-name": "NetworkWatcher", - "ipDot": ".", "images": { "Windows Server 2016 Datacenter": { "sku": "2016-Datacenter", @@ -289,29 +283,6 @@ "business-asg-id": "[resourceId(parameters('vnet-resourceGroup'), 'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('business-asg-name'), '-asg'))]" }, "resources": [ - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-10-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/availabilitySets", "name": "[variables('availabilitySet-name')]", @@ -407,7 +378,7 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, diff --git a/modules/nfs/1.0/azureDeploy.json b/modules/nfs/1.0/azureDeploy.json index b0fb1a291..2a84520a5 100644 --- a/modules/nfs/1.0/azureDeploy.json +++ b/modules/nfs/1.0/azureDeploy.json @@ -8,10 +8,10 @@ "description": "" } }, - "sas-key":{ - "type":"string", - "metadata":{ - "description":"" + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Storage account used to store diagnostic information" } }, "output-params-storage-key":{ @@ -176,7 +176,6 @@ "variables": { "availabilitySet-name": "[concat(parameters('deployment-prefix'), '-as')]", "subnet-id": "[concat(parameters('vnet-id'), '/subnets/', parameters('default-subnet-name'))]", - "configuration-url-sasToken": "[concat('?', parameters('sas-key'))]", "resource-prefix": "[concat(parameters('deployment-prefix'), '-', parameters('extension-name'))]", "os-image": { "publisher": "[if (contains(parameters('os-type'),'SLES'),'SUSE','RedHat')]", @@ -186,8 +185,6 @@ "nfs-lb-name": "[concat(variables('resource-prefix'), '-lb')]", "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-vm')]", "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(parameters('extension-name'), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", "networkWatcher-extension-name": "NetworkWatcher", "nfs-lb-frontend": "nfs-lb-frontend", "nfs-backend-pool": "nfs-backend-pool", @@ -195,29 +192,6 @@ "business-asg-id": "[resourceId(parameters('vnet-resourceGroup'), 'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('business-asg-name'), '-asg'))]" }, "resources": [ - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-10-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/availabilitySets", "name": "[variables('availabilitySet-name')]", @@ -388,8 +362,7 @@ "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1))]", "dependsOn": [ "[resourceId('Microsoft.Compute/availabilitySets', variables('availabilitySet-name'))]", - "[concat('Microsoft.Network/networkInterfaces/', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "[concat('Microsoft.Network/networkInterfaces/', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]" ], "copy": { @@ -439,7 +412,7 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, diff --git a/modules/nsg/1.0/azureDeploy.json b/modules/nsg/1.0/azureDeploy.json index 8faf8fcbe..088296fc2 100644 --- a/modules/nsg/1.0/azureDeploy.json +++ b/modules/nsg/1.0/azureDeploy.json @@ -5,75 +5,47 @@ "deployment-prefix": { "type": "string", "metadata": { - "description": "Deployment prefix. E.g. Organization-DeploymentType" - } + "description": "Deployment prefix. E.g. Organization-DeploymentType" + } }, - "deployment-name": { + "storageAccount-resourceId": { "type": "string", "metadata": { - "description": "Deployment name" - } + "description": "Diagnostic Storage Account resource identifier" + } }, "network-security-groups": { "type": "array", "metadata": { - "description": "Array containing a list of network security group objects" - } + "description": "Array containing a list of network security group objects" + } }, "application-security-groups": { "type": "array", "metadata": { - "description": "Array containing a list of application security group objects" - } + "description": "Array containing a list of application security group objects" + } }, - "oms-id":{ - "type":"string", - "metadata":{ - "description": "ResourceId of the OMS workspace used for diagnostic log integration." + "la-resourceId": { + "type": "string", + "metadata": { + "description": "ResourceId of the OMS workspace used for diagnostic log integration." } }, - "data-retention":{ - "type":"int", - "defaultValue":30, - "minValue":7, - "maxValue":730, - "metadata":{ - "description":"Number of days data will be retained for." + "logs-retention-in-days": { + "type": "int", + "defaultValue": 365, + "minValue": 0, + "maxValue": 365, + "metadata": { + "description": "Specifies the number of days that logs will be kept for; a value of 0 will retain data indefinitely." } } }, "variables": { - "empty-array": [], - "uniqueString": "[uniqueString(parameters('deployment-name'), subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(replace(parameters('deployment-name'), '-', ''), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]" + "empty-array": [] }, "resources": [ - { - "comments": "----DIAGNOSTICS STORAGE ACCOUNT-----", - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-06-01", - "location": "[resourceGroup().location]", - "kind": "Storage", - "sku": { - "name": "Standard_LRS" - }, - "tags": { - "layer": "management" - }, - "properties": { - "mode": "Incremental", - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "apiVersion": "2017-10-01", "type": "Microsoft.Network/applicationSecurityGroups", @@ -96,8 +68,7 @@ "name": "nsgLoop" }, "dependsOn": [ - "asgLoop", - "[resourceId('Microsoft.Storage/storageAccounts', variables('diagnostic-storageAccount-name'))]" + "asgLoop" ], "properties": { "copy": [ @@ -127,38 +98,37 @@ }, "resources": [ { - "type": "providers/diagnosticSettings", - "name": "Microsoft.Insights/service", - "dependsOn": [ - "[concat(parameters('deployment-prefix'), '-', parameters('network-security-groups')[copyIndex()].name, '-nsg')]" - ], - "apiVersion": "2015-07-01", - "properties": { - "storageAccountId": "[resourceId('Microsoft.Storage/storageAccounts', variables('diagnostic-storageAccount-name'))]", - "workspaceId": "[parameters('oms-id')]", - "logs": [ - { - "category": "NetworkSecurityGroupEvent", - "enabled": true, - "retentionPolicy": { - "days": "[parameters('data-retention')]", - "enabled": true - } - }, - { - "category": "NetworkSecurityGroupRuleCounter", - "enabled": true, - "retentionPolicy": { - "days": "[parameters('data-retention')]", - "enabled": false - } - } - ] - } + "type": "providers/diagnosticSettings", + "name": "Microsoft.Insights/service", + "dependsOn": [ + "[concat(parameters('deployment-prefix'), '-', parameters('network-security-groups')[copyIndex()].name, '-nsg')]" + ], + "apiVersion": "2015-07-01", + "properties": { + "storageAccountId": "[parameters('storageAccount-resourceId')]", + "workspaceId": "[parameters('la-resourceId')]", + "logs": [ + { + "category": "NetworkSecurityGroupEvent", + "enabled": true, + "retentionPolicy": { + "days": "[parameters('logs-retention-in-days')]", + "enabled": true + } + }, + { + "category": "NetworkSecurityGroupRuleCounter", + "enabled": true, + "retentionPolicy": { + "days": "[parameters('logs-retention-in-days')]", + "enabled": true + } + } + ] + } } ] } ], - "outputs": { - } + "outputs": {} } \ No newline at end of file diff --git a/modules/onprem-vgw-connection/1.0/azureDeploy.json b/modules/onprem-vgw-connection/1.0/azureDeploy.json deleted file mode 100644 index 2e348ac6c..000000000 --- a/modules/onprem-vgw-connection/1.0/azureDeploy.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "on-premises-gateway-name": { - "type": "string", - "metadata": { - "description": "Specifies the On-premises gateway name" - } - }, - "on-premises-subscription-id": { - "type": "string", - "metadata": { - "description": "On-premises subscription id, this value is used to create a VPN connection between the Shared services and on-premises" - } - }, - "on-premises-vnet-rg": { - "type": "string", - "metadata": { - "description": "On-premises resource group that contains the Virtual Network, this value is used to create a VPN connection between the Shared services and on-premises" - } - }, - "on-premises-location": { - "type": "string", - "metadata": { - "description": "Location of On-premises resource group that contains the Virtual Network Gateway, this value is used to create a VPN connection between the Shared services and on-premises" - } - }, - "vpn-shared-key": { - "type": "string", - "metadata": { - "description": "Specifies a VPN shared key. The same value has to be specified in On-premises and Azure" - } - }, - "shared-services-gateway-name": { - "type": "string", - "metadata": { - "description": "Specifies the Shared services gateway name" - } - }, - "shared-services-vnet-resourceGroup": { - "type": "string", - "metadata": { - "description": "Shared services Virtual Network resource group name" - } - }, - "shared-services-subscription-id": { - "type": "string", - "metadata": { - "description": "Shared services Subscription Id" - } - }, - "enable-bgp": { - "type": "bool", - "defaultValue": false, - "metadata": { - "description": "Value to specify if BGP is enabled or not" - } - }, - "deployment-name": { - "type": "string", - "metadata": { - "description": "Shared services deployment name" - } - } - }, - "variables": { - "on-premises-gateway-resource-id": "[resourceId(parameters('on-premises-subscription-id'), parameters('on-premises-vnet-rg') ,'Microsoft.Network/virtualNetworkGateways', parameters('on-premises-gateway-name'))]", - "shared-services-gateway-resource-id": "[resourceId(parameters('shared-services-subscription-id'), parameters('shared-services-vnet-resourceGroup') ,'Microsoft.Network/virtualNetworkGateways', parameters('shared-services-gateway-name'))]" - }, - "resources": [ - { - "apiVersion": "2017-05-10", - "name": "nestedDeployVGWConnection", - "type": "Microsoft.Resources/deployments", - "resourceGroup": "[parameters('on-premises-vnet-rg')]", - "subscriptionId": "[parameters('on-premises-subscription-id')]", - "properties": { - "mode": "Incremental", - "template": { - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "variables": {}, - "resources": [ - { - "name": "[concat('on-premises-to-', parameters('deployment-name'))]", - "type": "Microsoft.Network/connections", - "apiVersion": "2017-10-01", - "location": "[parameters('on-premises-location')]", - "tags": { - "displayName": "[concat('on-premises-to-', parameters('deployment-name'))]" - }, - "properties":{ - "virtualNetworkGateway1":{ - "id": "[variables('on-premises-gateway-resource-id')]" - }, - "virtualNetworkGateway2":{ - "id": "[variables('shared-services-gateway-resource-id')]" - }, - "enableBgp": "[parameters('enable-bgp')]", - "connectionType": "VNet2VNet", - "routingWeight": 3, - "sharedKey": "[parameters('vpn-shared-key')]" - } - } - ] - } - } - } - ], - "outputs": {} -} \ No newline at end of file diff --git a/modules/palo-alto-egress-nva/1.0/azureDeploy.json b/modules/palo-alto-egress-nva/1.0/azureDeploy.json index 9ca4fca64..f6a676f93 100644 --- a/modules/palo-alto-egress-nva/1.0/azureDeploy.json +++ b/modules/palo-alto-egress-nva/1.0/azureDeploy.json @@ -150,6 +150,12 @@ "metadata": { "description": "Specifies if bootstrap storage account will be used" } + }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Diagnostic Storage Account name" + } } }, "variables": { @@ -161,8 +167,6 @@ "shared-services-subnet-ID": "[concat(parameters('vnet-id'), '/subnets/', parameters('shared-services-subnet-name'))]", "untrust-subnet-ID": "[concat(parameters('vnet-id'), '/subnets/', parameters('untrust-subnet-name'))]", "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(variables('resource-prefix'), 'diag')]", - "diagnostic-storageAccount-name": "[replace(toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) ), '-', '')]", "lb-ID": "[resourceId('Microsoft.Network/loadBalancers',variables('nva-lb-name'))]", "trust-frontendIP-config-id": "[concat(variables('lb-ID'),'/frontendIPConfigurations/LoadBalancerFrontEnd')]", "lb-pool-id": "[concat(variables('lb-ID'),'/backendAddressPools/', parameters('nva-backend-pool-name'))]", @@ -173,29 +177,6 @@ "custom-data-field": "[concat('storage-account=', parameters('bootstrap-storage-account'), ',access-key=', parameters('bootstrap-storage-account-access-key'), ',file-share=', parameters('bootstrap-storage-share-name'), ',share-directory=', 'egress')]" }, "resources": [ - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-10-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/availabilitySets", "apiVersion": "2016-04-30-preview", @@ -470,7 +451,6 @@ }, "dependsOn": [ "[resourceId('Microsoft.Compute/availabilitySets', variables('availabilitySet-name'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]", "nic1Loop", "nic2Loop", "nic3Loop" @@ -526,7 +506,7 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, diff --git a/modules/palo-alto-ingress-nva/1.0/azureDeploy.json b/modules/palo-alto-ingress-nva/1.0/azureDeploy.json index 419cb99ab..81671368e 100644 --- a/modules/palo-alto-ingress-nva/1.0/azureDeploy.json +++ b/modules/palo-alto-ingress-nva/1.0/azureDeploy.json @@ -144,6 +144,12 @@ "metadata": { "description": "Specifies if bootstrap storage account will be used" } + }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Diagnostic Storage Account name" + } } }, "variables": { @@ -156,8 +162,6 @@ "shared-services-subnet-ID": "[concat(parameters('vnet-id'), '/subnets/', parameters('shared-services-subnet-name'))]", "untrust-subnet-ID": "[concat(parameters('vnet-id'), '/subnets/', parameters('untrust-subnet-name'))]", "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(variables('resource-prefix'), 'diag')]", - "diagnostic-storageAccount-name": "[replace(toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) ), '-', '')]", "lb-ID": "[resourceId('Microsoft.Network/loadBalancers',variables('nva-lb-name'))]", "trust-frontendIP-config-id": "[concat(variables('lb-ID'),'/frontendIPConfigurations/LoadBalancerFrontEnd')]", "lb-pool-id": "[concat(variables('lb-ID'),'/backendAddressPools/', parameters('nva-ingress-backend-pool-name'))]", @@ -168,29 +172,6 @@ "custom-data-field": "[concat('storage-account=', parameters('bootstrap-storage-account'), ',access-key=', parameters('bootstrap-storage-account-access-key'), ',file-share=', parameters('bootstrap-storage-share-name'), ',share-directory=', concat(parameters('bootstrap-storage-share-name'), '/ingress'))]" }, "resources": [ - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-10-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/availabilitySets", "apiVersion": "2016-04-30-preview", @@ -431,8 +412,7 @@ "nic1Loop", "nic2Loop", "nic3Loop", - "[resourceId('Microsoft.Compute/availabilitySets', variables('availabilitySet-name'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "[resourceId('Microsoft.Compute/availabilitySets', variables('availabilitySet-name'))]" ], "properties": { "availabilitySet": { @@ -485,7 +465,7 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, diff --git a/modules/pcf-opsmanager/1.0/azureDeploy.json b/modules/pcf-opsmanager/1.0/azureDeploy.json index a7d43c355..4dbc76011 100644 --- a/modules/pcf-opsmanager/1.0/azureDeploy.json +++ b/modules/pcf-opsmanager/1.0/azureDeploy.json @@ -83,14 +83,17 @@ }, "domain-name": { "type": "string" + }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Diagnostic Storage Account name" + } } }, "variables": { "resource-prefix": "[concat(parameters('deployment-prefix'), '-', parameters('extension-name'))]", "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-vm')]", - "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(variables('resource-prefix'), 'diag')]", - "diagnostic-storageAccount-name": "[replace(toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) ), '-', '')]", "networkWatcher-extension-name": "NetworkWatcher", "opsman-disk-name": "[concat(parameters('deployment-prefix'), '-osdisk')]", "image-name": "opsman-image" @@ -112,29 +115,6 @@ } } }, - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-10-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Network/networkInterfaces", "apiVersion": "2017-09-01", @@ -170,7 +150,6 @@ }, "dependsOn": [ "[concat('Microsoft.Network/networkInterfaces/', variables('virtualMachine-name-prefix'), '-nic')]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]", "[variables('image-name')]" ], "properties": { @@ -208,7 +187,7 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, diff --git a/modules/role-assignments/resourceGroup-scope/azureDeploy.json b/modules/role-assignments-rg-scope/1.0/azureDeploy.json similarity index 100% rename from modules/role-assignments/resourceGroup-scope/azureDeploy.json rename to modules/role-assignments-rg-scope/1.0/azureDeploy.json diff --git a/modules/role-assignments/resourceGroup-scope/azureDeploy.parameters.json b/modules/role-assignments-rg-scope/1.0/azureDeploy.parameters.json similarity index 100% rename from modules/role-assignments/resourceGroup-scope/azureDeploy.parameters.json rename to modules/role-assignments-rg-scope/1.0/azureDeploy.parameters.json diff --git a/modules/role-assignments/subscription-scope/azureDeploy.json b/modules/role-assignments-subscription-scope/1.0/azureDeploy.json similarity index 100% rename from modules/role-assignments/subscription-scope/azureDeploy.json rename to modules/role-assignments-subscription-scope/1.0/azureDeploy.json diff --git a/modules/role-assignments/subscription-scope/azureDeploy.parameters.json b/modules/role-assignments-subscription-scope/1.0/azureDeploy.parameters.json similarity index 100% rename from modules/role-assignments/subscription-scope/azureDeploy.parameters.json rename to modules/role-assignments-subscription-scope/1.0/azureDeploy.parameters.json diff --git a/modules/security-center/1.0/azureDeploy.json b/modules/security-center/1.0/azureDeploy.json new file mode 100644 index 000000000..f147f0bba --- /dev/null +++ b/modules/security-center/1.0/azureDeploy.json @@ -0,0 +1,98 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "la-resourceId": { + "type": "string", + "metadata": { + "description": "Log Analytics workspace resource identifier" + } + }, + "auto-provisioning": { + "type": "string", + "allowedValues": [ + "On", + "Off" + ], + "defaultValue": "On", + "metadata": { + "description": "Turn automatic deployment by ASC of the MMA (OMS VM extension) on or off" + } + } + }, + "variables": { + "pricing": "Standard" + }, + "resources": [ + { + "type": "Microsoft.Security/pricings", + "apiVersion": "2017-08-01-preview", + "name": "default", + "properties": { + "pricingTier": "[variables('pricing')]" + } + }, + { + "type": "Microsoft.Security/pricings", + "apiVersion": "2018-06-01", + "name": "SqlServers", + "dependsOn": [ + "[concat('Microsoft.Security/pricings/default')]" + ], + "properties": { + "pricingTier": "[variables('pricing')]" + } + }, + { + "type": "Microsoft.Security/pricings", + "apiVersion": "2018-06-01", + "name": "AppServices", + "dependsOn": [ + "[concat('Microsoft.Security/pricings/SqlServers')]" + ], + "properties": { + "pricingTier": "[variables('pricing')]" + } + }, + { + "type": "Microsoft.Security/pricings", + "apiVersion": "2018-06-01", + "name": "VirtualMachines", + "dependsOn": [ + "[concat('Microsoft.Security/pricings/AppServices')]" + ], + "properties": { + "pricingTier": "[variables('pricing')]" + } + }, + { + "type": "Microsoft.Security/pricings", + "apiVersion": "2018-06-01", + "name": "StorageAccounts", + "dependsOn": [ + "[concat('Microsoft.Security/pricings/VirtualMachines')]" + ], + "properties": { + "pricingTier": "[variables('pricing')]" + } + }, + { + "type": "Microsoft.Security/workspaceSettings", + "apiVersion": "2017-08-01-preview", + "name": "default", + "properties": { + "workspaceId": "[parameters('la-resourceId')]", + "scope": "[subscription().id]" + } + }, + { + "type": "Microsoft.Security/autoProvisioningSettings", + "name": "default", + "apiVersion": "2017-08-01-preview", + "properties": { + "autoProvision": "[parameters('auto-provisioning')]" + } + } + ], + "outputs": {} +} \ No newline at end of file diff --git a/modules/security-center/1.0/azureDeploy.parameters.json b/modules/security-center/1.0/azureDeploy.parameters.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/modules/security-center/1.0/azureDeploy.parameters.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/modules/shared-services-net/1.0/azureDeploy.json b/modules/shared-services-net/1.0/azureDeploy.json index 3795df624..a5936874e 100644 --- a/modules/shared-services-net/1.0/azureDeploy.json +++ b/modules/shared-services-net/1.0/azureDeploy.json @@ -104,7 +104,8 @@ "properties": { "addressPrefix": "[parameters('subnets')[copyIndex('subnets')]['address-prefix']]", "networkSecurityGroup": "[if(equals(parameters('subnets')[copyIndex('subnets')]['network-security-group'], ''), json('null'), json(concat('{\"id\": \"', resourceId('Microsoft.Network/networkSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('subnets')[copyIndex('subnets')]['network-security-group'], '-nsg')), '\"}')))]", - "routeTable": "[if(equals(parameters('subnets')[copyIndex('subnets')]['user-defined-route'], ''), json('null'), json(concat('{\"id\": \"', resourceId('Microsoft.Network/routeTables', concat(parameters('deployment-prefix'), '-', parameters('subnets')[copyIndex('subnets')]['user-defined-route'], '-udr')), '\"}')))]" + "routeTable": "[if(equals(parameters('subnets')[copyIndex('subnets')]['user-defined-route'], ''), json('null'), json(concat('{\"id\": \"', resourceId('Microsoft.Network/routeTables', concat(parameters('deployment-prefix'), '-', parameters('subnets')[copyIndex('subnets')]['user-defined-route'], '-udr')), '\"}')))]", + "serviceEndpoints": "[if(equals(length(parameters('subnets')[copyIndex('subnets')]['service-endpoints']), 0), json('null'), parameters('subnets')[copyIndex('subnets')]['service-endpoints'])]" } } } diff --git a/modules/sqldb/1.0/azureDeploy.json b/modules/sqldb/1.0/azureDeploy.json index d5d7edc08..a94d08045 100644 --- a/modules/sqldb/1.0/azureDeploy.json +++ b/modules/sqldb/1.0/azureDeploy.json @@ -2,6 +2,18 @@ "$schema":"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { + "la-resourceId": { + "type": "string", + "metadata": { + "description": "OMS workspace resource identifier" + } + }, + "storageAccount-resourceId": { + "type": "string", + "metadata": { + "description": "Diagnostic Storage Account resource identifier" + } + }, "admin-username": { "type": "string", "metadata": { @@ -14,6 +26,18 @@ "description": "The password given to the admin user." } }, + "aad-admin-objectId": { + "type": "string", + "metadata": { + "description": "AzureAD Admin ObjectId" + } + }, + "aad-admin-email": { + "type": "string", + "metadata": { + "description": "AzureAD Admin Email" + } + }, "vnet-id": { "type": "string", "metadata": { @@ -25,7 +49,16 @@ "metadata": { "description": "Info about Azure SQL Server" } - } + }, + "logs-retention-in-days": { + "type": "int", + "defaultValue": 365, + "minValue": 0, + "maxValue": 365, + "metadata": { + "description": "Specifies the number of days that logs will be kept for; a value of 0 will retain data indefinitely." + } + } }, "variables": { "server-name": "[parameters('sql-server-properties').name]" @@ -42,6 +75,45 @@ "version": "12.0" } }, + { + "name": "[concat(variables('server-name'), '/SecurityAlerts')]", + "type": "Microsoft.Sql/servers/securityAlertPolicies", + "apiVersion": "2017-03-01-preview", + "dependsOn": [ + "[concat('Microsoft.Sql/servers/', variables('server-name'))]" + ], + "properties": { + "state": "Enabled", + "emailAccountAdmins": true + } + }, + { + "name": "[concat(variables('server-name'), '/AuditingSettings')]", + "type": "Microsoft.Sql/servers/auditingSettings", + "apiVersion": "2017-03-01-preview", + "dependsOn": [ + "[concat('Microsoft.Sql/servers/', variables('server-name'))]" + ], + "properties": { + "state": "Enabled", + "isAzureMonitorTargetEnabled": true, + "retentionDays": "[parameters('logs-retention-in-days')]" + } + }, + { + "name": "[concat(variables('server-name'), '/activeDirectory')]", + "type": "Microsoft.Sql/servers/administrators", + "apiVersion": "2014-04-01", + "dependsOn": [ + "[concat('Microsoft.Sql/servers/', variables('server-name'))]" + ], + "properties": { + "administratorType": "ActiveDirectory", + "login": "[parameters('aad-admin-email')]", + "sid": "[parameters('aad-admin-objectId')]", + "tenantId": "[subscription().tenantId]" + } + }, { "name": "[concat(variables('server-name'), '/', parameters('sql-server-properties')['virtualNetwork-rules'][copyIndex()].name)]", "type": "Microsoft.Sql/servers/virtualNetworkRules", @@ -78,6 +150,108 @@ "name": "[parameters('sql-server-properties').databases[copyIndex()].sku.name]", "tier": "[parameters('sql-server-properties').databases[copyIndex()].sku.tier]" } + }, + { + "type": "Microsoft.Sql/servers/databases/providers/diagnosticSettings", + "name": "[concat(variables('server-name'), '/', parameters('sql-server-properties').databases[copyIndex()].name, '/Microsoft.Insights/', 'service')]", + "apiVersion": "2017-05-01-preview", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[concat('Microsoft.Sql/servers/', variables('server-name'))]", + "[parameters('sql-server-properties').databases[copyIndex()].name]" + ], + "copy": { + "name": "databases", + "count": "[length(parameters('sql-server-properties').databases)]" + }, + "properties": { + "storageAccountId": "[parameters('storageAccount-resourceId')]", + "workspaceId": "[parameters('la-resourceId')]", + "logs": [ + { + "category": "SQLInsights", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + }, + { + "category": "AutomaticTuning", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + }, + { + "category": "QueryStoreRuntimeStatistics", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + }, + { + "category": "QueryStoreWaitStatistics", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + }, + { + "category": "Errors", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + }, + { + "category": "DatabaseWaitStatistics", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + }, + { + "category": "Timeouts", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + }, + { + "category": "Blocks", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + }, + { + "category": "Deadlocks", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + } + ], + "metrics": [ + { + "category": "AllMetrics", + "enabled": true, + "retentionPolicy": { + "enabled": true, + "days": "[parameters('logs-retention-in-days')]" + } + } + ] + } } ] } \ No newline at end of file diff --git a/modules/sqldb/1.0/azureDeploy.parameters.json b/modules/sqldb/1.0/azureDeploy.parameters.json index 3210dc78f..7dae6ff0f 100644 --- a/modules/sqldb/1.0/azureDeploy.parameters.json +++ b/modules/sqldb/1.0/azureDeploy.parameters.json @@ -10,6 +10,12 @@ "secretName": "${workload.azure-sql-configuration.admin-user}" } }, + "aad-admin-objectId": { + "value": "${workload.azure-sql-configuration.aad-admin-objectId}" + }, + "aad-admin-email": { + "value": "${workload.azure-sql-configuration.aad-admin-email}" + }, "sql-server-properties":{ "value":{ "name": "${general.organization-name}-${workload.deployment-name}-db-server01", diff --git a/modules/sqlserver-alwayson/1.0/azureDeploy.json b/modules/sqlserver-alwayson/1.0/azureDeploy.json index df9efd758..a41ce712d 100644 --- a/modules/sqlserver-alwayson/1.0/azureDeploy.json +++ b/modules/sqlserver-alwayson/1.0/azureDeploy.json @@ -9,21 +9,21 @@ } }, "sas-key":{ - "type":"string", + "type":"securestring", "metadata":{ "description":"" } }, - "output-params-storage-key":{ - "type":"string", - "metadata":{ - "description":"Default storage account Key. Storage account that contains output parameters and common scripts" + "output-params-storage-key": { + "type": "securestring", + "metadata": { + "description": "Default storage account Key. Storage account that contains output parameters and common scripts" } }, - "output-params-storage-account-name":{ - "type":"string", - "metadata":{ - "description":"" + "output-params-storage-account-name": { + "type": "securestring", + "metadata": { + "description": "" } }, "vnet-id": { @@ -125,12 +125,6 @@ "description": "Specifies the name of the Load Balancer backend pool" } }, - "default-subnet-address-prefix": { - "type": "string", - "metadata": { - "description": "Specifies the subnet address prefix" - } - }, "cluster-name": { "type": "string", "metadata": { @@ -148,6 +142,30 @@ "metadata": { "description": "SQL Server Internal Load Balancer IP Address" } + }, + "la-workspace-id": { + "type": "string", + "metadata": { + "description": "WorkspaceId or CustomerId value of OMS. This value is referenced in OMS VM Extension" + } + }, + "la-primary-shared-key": { + "type": "securestring", + "metadata": { + "description": "WorkspaceKey value of OMS. This value is referenced in OMS VM Extension" + } + }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Storage account used to store diagnostic information" + } + }, + "storageAccount-sasToken": { + "type": "securestring", + "metadata": { + "description": "Diagnostic Storage Account SAS token" + } } }, "variables": { @@ -158,21 +176,13 @@ "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-vm')]", "subnet-id": "[concat(parameters('vnet-id'), '/subnets/', parameters('default-subnet-name'))]", "uniqueString": "[uniqueString(subscription().id, parameters('deployment-prefix'), 'sql')]", - "diagnostic-storageAccount-prefix": "[concat(parameters('extension-name'), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", "antimalware-extension-name": "IaaSAntimalware", "diagnostics-extension-name": "IaaSDiagnostics", "networkWatcher-extension-name": "NetworkWatcher", - "encryption-extension-name": "AzureDiskEncryption", - "encryption-operation": "EnableEncryption", - "key-encryptionAlgorithm": "RSA-OAEP", - "diagnostic-storageAccount-id": "[resourceId('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name'))]", - "wad-logs": " ", - "wad-perf-counters1": "", - "wad-perf-counters2": "", - "wad-cfgx-start": "[concat(variables('wad-logs'), variables('wad-perf-counters1'), variables('wad-perf-counters2'), '", + "mma-extension-name": "OMSExtension", + "dsc-join-to-domain-extension-name": "DSCSetupIISAndJoinDomain", + "dsc-setup-sql-extension-name": "DSCSetupIISAndJoinDomain", + "custom-pwsh-extension-name": "PwshCustomExtension", "lb-ID": "[resourceId('Microsoft.Network/loadBalancers',variables('sql-lb-name'))]", "sql-frontendIP-config-id": "[concat(variables('lb-ID'),'/frontendIPConfigurations/LoadBalancerFrontEnd')]", "lb-pool-id": "[concat(variables('lb-ID'),'/backendAddressPools/', parameters('sql-backend-pool-name'))]", @@ -180,7 +190,23 @@ "data-asg-id": "[resourceId(parameters('vnet-resourceGroup'), 'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('data-asg-name'), '-asg'))]", "cloud-witness-storageAccount-prefix": "[concat(parameters('extension-name'), 'cw')]", "cloud-witness-storageAccount-name": "[toLower(substring(replace(concat(variables('cloud-witness-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", - "cloud-witness-storageAccount-id": "[resourceId('Microsoft.Storage/storageAccounts/', variables('cloud-witness-storageAccount-name'))]" + "cloud-witness-storageAccount-id": "[resourceId('Microsoft.Storage/storageAccounts/', variables('cloud-witness-storageAccount-name'))]", + "tag-patching": "3rdSat7pm", + "windows-dependency-extension-name": "DependencyAgent", + "windows-dependency-extension-publisher": "Microsoft.Azure.Monitoring.DependencyAgent", + "windows-dependency-extension-type": "DependencyAgentWindows", + "windows-dependency-extension-handler-version": "9.6", + "max-password-age": 70, + "min-password-age": 1, + "min-password-length": 14, + "pwd-history-count": 24, + "pwd-min-length-config-name": "MinimumPasswordLength", + "pwd-min-age-config-name": "MinimumPasswordAge", + "pwd-not-last-24-config-name": "EnforcePasswordHistory", + "pwd-without-reversible-encryption-config-name": "StorePasswordsUsingReversibleEncryption", + "pwd-max-age-config-name": "MaximumPasswordAge", + "pwd-complexity-config-name": "PasswordMustMeetComplexityRequirements", + "web-server-with-tls-1.1-config-name": "AuditSecureProtocol" }, "resources": [ { @@ -298,29 +324,6 @@ ] } }, - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2018-02-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "StorageV2", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Storage/storageAccounts", "name": "[variables('cloud-witness-storageAccount-name')]", @@ -341,6 +344,17 @@ "enabled": true } } + }, + "supportsHttpsTrafficOnly": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "virtualNetworkRules":[ + { + "action": "Allow", + "id": "[variables('subnet-id')]" + } + ] } } }, @@ -353,11 +367,15 @@ "name": "vmLoop", "count": "[parameters('virtualMachine-count')]" }, + "tags": { + "layer": "Data", + "computerName": "[concat(parameters('extension-name'), '-vm',copyindex(1))]", + "UpdateManagement": "[variables('tag-patching')]" + }, "dependsOn": [ "[resourceId('Microsoft.Compute/availabilitySets', variables('availabilitySet-name'))]", "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]", - "[resourceId('Microsoft.Storage/storageAccounts', variables('diagnostic-storageAccount-name'))]", - "[resourceId('Microsoft.Storage/storageAccounts', variables('cloud-witness-storageAccount-name'))]" + "[variables('cloud-witness-storageAccount-name')]" ], "properties": { "availabilitySet": { @@ -416,19 +434,41 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, "resources": [ { "type": "extensions", - "name": "DSCSetupSQLAndJoinDomain", - "apiVersion": "2017-03-30", + "name": "[variables('mma-extension-name')]", + "apiVersion": "2015-06-15", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" ], + "properties": { + "publisher": "Microsoft.EnterpriseCloud.Monitoring", + "type": "MicrosoftMonitoringAgent", + "typeHandlerVersion": "1.0", + "autoUpgradeMinorVersion": true, + "settings": { + "workspaceId": "[parameters('la-workspace-id')]" + }, + "protectedSettings": { + "workspaceKey": "[parameters('la-primary-shared-key')]" + } + } + }, + { + "type": "extensions", + "name": "[variables('dsc-join-to-domain-extension-name')]", + "apiVersion": "2017-03-30", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('MMA-extension-name')]" + ], "properties": { "publisher": "Microsoft.Powershell", "type": "DSC", @@ -463,7 +503,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupSQLAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.Security", @@ -489,7 +529,7 @@ "apiVersion": "2017-03-30", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupSQLAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.Diagnostics", @@ -497,12 +537,340 @@ "typeHandlerVersion": "1.5", "autoUpgradeMinorVersion": true, "settings": { - "xmlCfg": "[base64(concat(variables('wad-cfgx-start'), variables('wad-metrics-resource-id'), variables('virtualMachine-name-prefix'), copyindex(1), variables('wad-cfgx-end')))]", - "storageAccount": "[variables('diagnostic-storageAccount-name')]" + "StorageAccount": "[parameters('storageAccount-name')]", + "StorageType": "Blob", + "WadCfg": { + "DiagnosticMonitorConfiguration": { + "overallQuotaInMB": 5120, + "Metrics": { + "resourceId": "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "MetricAggregation": [ + { + "scheduledTransferPeriod": "PT1H" + }, + { + "scheduledTransferPeriod": "PT1M" + } + ] + }, + "DiagnosticInfrastructureLogs": { + "scheduledTransferLogLevelFilter": "Error" + }, + "PerformanceCounters": { + "scheduledTransferPeriod": "PT1M", + "PerformanceCounterConfiguration": [ + { + "counterSpecifier": "\\Processor Information(_Total)\\% Processor Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\% Privileged Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\% User Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\Processor Frequency", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Processes", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Thread Count", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Handle Count", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\System Up Time", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Context Switches/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Processor Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\% Committed Bytes In Use", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Available Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Committed Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Cache Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pool Paged Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pool Nonpaged Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pages/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Page Faults/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Working Set", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Working Set - Private", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Read Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Write Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Idle Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Read Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Write Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Transfers/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Reads/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Writes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Transfer", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Read", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Write", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Read Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Write Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Free Space", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Free Megabytes", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Total/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Sent/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Received/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Sent/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Received/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Outbound Errors", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Received Errors", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\SQLServer:Buffer Manager\\Page reads/sec", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\SQLServer:Buffer Manager\\Page writes/sec", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\SQLServer:Buffer Manager\\Checkpoint pages/sec", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\SQLServer:Buffer Manager\\Lazy writes/sec", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\SQLServer:Buffer Manager\\Buffer cache hit ratio", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\SQLServer:Buffer Manager\\Database pages", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\SQLServer:Memory Manager\\Total Server Memory (KB)", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\SQLServer:Memory Manager\\Memory Grants Pending", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\SQLServer:General Statistics\\User Connections", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\SQLServer:SQL Statistics\\Batch Requests/sec", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\SQLServer:SQL Statistics\\SQL Compilations/sec", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\SQLServer:SQL Statistics\\SQL Re-Compilations/sec", + "unit": "Count", + "sampleRate": "PT60S" + } + ] + }, + "WindowsEventLog": { + "scheduledTransferPeriod": "PT1M", + "DataSource": [ + { + "name": "Application!*[System[(Level = 1 or Level = 2 or Level = 3)]]" + }, + { + "name": "Security!*[System[band(Keywords,4503599627370496)]]" + }, + { + "name": "System!*[System[(Level = 1 or Level = 2 or Level = 3)]]" + } + ] + } + } + } }, "protectedSettings": { - "storageAccountName": "[variables('diagnostic-storageAccount-name')]", - "storageAccountKey": "[listkeys(variables('diagnostic-storageAccount-id'), '2016-12-01').keys[0].value]", + "storageAccountName": "[parameters('storageAccount-name')]", + "storageAccountSasToken": "[parameters('storageAccount-sasToken')]", "storageAccountEndPoint": "https://core.windows.net" } } @@ -514,7 +882,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupSQLAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.NetworkWatcher", @@ -522,9 +890,211 @@ "typeHandlerVersion": "1.4", "autoUpgradeMinorVersion": true } - } + } ] }, + { + "name": "[concat('NestedDeploymentGuestConfigurationPolicy-vm', copyIndex(1))]", + "type": "Microsoft.Resources/deployments", + "apiVersion": "2016-09-01", + "copy": { + "name": "vmInstallGuestConfigurationPolicyLoop", + "count": "[parameters('virtualMachine-count')]" + }, + "dependsOn": [ + "vmLoop" + ], + "properties": { + "mode": "Incremental", + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "resources": [ + { + "apiVersion": "2017-03-30", + "type": "Microsoft.Compute/virtualMachines", + "name": "[concat(variables('virtualMachine-name-prefix'), copyIndex(1))]", + "location": "[resourceGroup().location]", + "resources": [ + { + "type": "extensions", + "name": "[variables('custom-pwsh-extension-name')]", + "apiVersion": "2017-03-30", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + ], + "properties": { + "publisher": "Microsoft.Compute", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.8", + "autoUpgradeMinorVersion": true, + "settings": { + "fileUris": [ + "[concat('https://', parameters('output-params-storage-account-name'), '.blob.core.windows.net/scripts/windows/enable-local-policy-settings.ps1')]" + ] + }, + "protectedSettings": { + "storageAccountName": "[parameters('output-params-storage-account-name')]", + "storageAccountKey": "[parameters('output-params-storage-key')]", + "commandToExecute": "[concat('powershell -ExecutionPolicy Unrestricted -File ./windows/enable-local-policy-settings.ps1 -MaxPwdAge ', variables('max-password-age'), ' -MinPwdAge ', variables('min-password-age'), ' -MinPwdLength ', variables('min-password-length'), ' -PwdHistoryCount ', variables('pwd-history-count'))]" + } + } + }, + { + "type": "extensions", + "name": "[variables('windows-dependency-extension-name')]", + "apiVersion": "2018-06-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('custom-pwsh-extension-name')]" + ], + "properties": { + "publisher": "[variables('windows-dependency-extension-publisher')]", + "type": "[variables('windows-dependency-extension-type')]", + "typeHandlerVersion": "[variables('windows-dependency-extension-handler-version')]", + "autoUpgradeMinorVersion": true + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-min-length-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-min-length-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-min-age-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-min-age-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-not-last-24-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-not-last-24-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-without-reversible-encryption-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-without-reversible-encryption-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('web-server-with-tls-1.1-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('web-server-with-tls-1.1-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-max-age-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-max-age-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-complexity-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-complexity-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2015-05-01-preview", + "name": "AzurePolicyforWindows", + "type": "extensions", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "publisher": "Microsoft.GuestConfiguration", + "type": "ConfigurationforWindows", + "typeHandlerVersion": "1.1", + "autoUpgradeMinorVersion": true, + "settings": {}, + "protectedSettings": {} + } + } + ] + } + ] + }, + "parameters": {} + } + }, { "name": "[concat('NestedDeploymentSetupDSCRequiredModules-vm', copyIndex(1))]", "type": "Microsoft.Resources/deployments", @@ -534,7 +1104,7 @@ "count": "[parameters('virtualMachine-count')]" }, "dependsOn": [ - "vmLoop" + "vmInstallGuestConfigurationPolicyLoop" ], "properties": { "mode": "Incremental", @@ -551,7 +1121,7 @@ "resources": [ { "type": "extensions", - "name": "PSInstallDSCModules", + "name": "[variables('custom-pwsh-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ @@ -603,7 +1173,7 @@ "resources":[ { "type": "extensions", - "name": "DSCSetupSQLAndJoinDomain", + "name": "[variables('dsc-setup-sql-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ @@ -673,7 +1243,7 @@ "resources":[ { "type": "extensions", - "name": "PSInstallDSCModules", + "name": "[variables('custom-pwsh-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ @@ -725,7 +1295,7 @@ "resources":[ { "type": "extensions", - "name": "DSCSetupSQLAndJoinDomain", + "name": "[variables('dsc-setup-sql-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ @@ -795,7 +1365,7 @@ "resources":[ { "type": "extensions", - "name": "DSCSetupSQLAndJoinDomain", + "name": "[variables('dsc-setup-sql-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ diff --git a/modules/sqlserver-alwayson/1.0/azureDeploy.parameters.json b/modules/sqlserver-alwayson/1.0/azureDeploy.parameters.json index 74d1192f6..b0a439008 100644 --- a/modules/sqlserver-alwayson/1.0/azureDeploy.parameters.json +++ b/modules/sqlserver-alwayson/1.0/azureDeploy.parameters.json @@ -34,7 +34,7 @@ "value": 2 }, "virtualMachine-size": { - "value": "Standard_DS12_v2" + "value": "Standard_DS14_v2" }, "domain-name": { "value": "${shared-services.active-directory.domain-name}" diff --git a/modules/squid-proxy/1.0/azureDeploy.json b/modules/squid-proxy/1.0/azureDeploy.json index aac0c8956..2a8a50306 100644 --- a/modules/squid-proxy/1.0/azureDeploy.json +++ b/modules/squid-proxy/1.0/azureDeploy.json @@ -8,18 +8,30 @@ "description": "Deployment prefix. E.g. Organization-DeploymentType" } }, - "oms-workspace-id": { - "type": "string", + "la-workspace-id": { + "type": "securestring", "metadata": { "description": "WorkspaceId or CustomerId value of OMS. This value is referenced in OMS VM Extension" } }, - "oms-primary-shared-key": { - "type": "string", + "la-primary-shared-key": { + "type": "securestring", "metadata": { "description": "WorkspaceKey value of OMS. This value is referenced in OMS VM Extension" } }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Diagnostic Storage Account name" + } + }, + "storageAccount-sasToken": { + "type": "securestring", + "metadata": { + "description": "Diagnostic Storage Account SAS token" + } + }, "sas-key":{ "type":"string", "metadata":{ @@ -136,8 +148,6 @@ "virtualNetwork-id": "[resourceId(parameters('vnet-resourceGroup'), 'Microsoft.Network/virtualNetworks', parameters('vnet-name'))]", "public-subnet-ID": "[concat(variables('virtualNetwork-id'), '/subnets/', parameters('dmz-subnet-name'))]", "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(variables('resource-prefix'), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", "install-squid-using-sas-token-and-enable-routing-script-url": "[concat('https://', parameters('output-params-storage-account-name'), '.blob.core.windows.net/scripts/squid/install-squid-using-sas-token-and-enable-routing.sh?', parameters('sas-key'))]", "install-squid-script-url": "[concat('https://', parameters('output-params-storage-account-name'), '.blob.core.windows.net/scripts/squid/install-squid-centos.sh?', parameters('sas-key'))]", "single-quote": "'", @@ -145,7 +155,10 @@ "encryption-operation": "EnableEncryption", "key-encryptionAlgorithm": "RSA-OAEP", "networkWatcher-extension-name": "NetworkWatcher", - "availabilitySet-name": "[concat(variables('resource-prefix'), '-nva-as')]" + "availabilitySet-name": "[concat(variables('resource-prefix'), '-nva-as')]", + "mma-extension-name": "OMSExtension", + "diagnostics-extension-name": "LinuxDiagnostic", + "squid-setup-extension-name": "SquidInstallation" }, "resources": [ { @@ -162,29 +175,6 @@ "name": "Aligned" } }, - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-06-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Network/networkInterfaces", "apiVersion": "2017-09-01", @@ -236,8 +226,7 @@ }, "dependsOn": [ "[resourceId('Microsoft.Compute/availabilitySets', variables('availabilitySet-name'))]", - "[concat('Microsoft.Network/networkInterfaces/', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic1'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "[concat('Microsoft.Network/networkInterfaces/', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic1'))]" ], "properties": { "availabilitySet": { @@ -277,56 +266,751 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, "resources": [ { "type": "extensions", - "name": "OMSExtension", - "apiVersion": "2015-06-15", - "condition": "[bool('false')]", + "name": "[variables('mma-extension-name')]", + "apiVersion": "2018-06-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" ], "properties": { - "publisher": "Microsoft.EnterpriseCloud.Monitoring", - "type": "MicrosoftMonitoringAgent", - "typeHandlerVersion": "1.0", - "autoUpgradeMinorVersion": true, - "settings": { - "workspaceId": "[parameters('oms-workspace-id')]" - }, - "protectedSettings": { - "workspaceKey": "[parameters('oms-primary-shared-key')]" - } + "publisher": "Microsoft.EnterpriseCloud.Monitoring", + "type": "OmsAgentForLinux", + "typeHandlerVersion": "1.7", + "settings": { + "workspaceId": "[parameters('la-workspace-id')]" + }, + "protectedSettings": { + "workspaceKey": "[parameters('la-primary-shared-key')]" + } } }, { - "name": "install-squid-enable-routing", "type": "extensions", + "name": "[variables('diagnostics-extension-name')]", + "apiVersion": "2017-12-01", "location": "[resourceGroup().location]", - "apiVersion": "2017-03-30", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "OMSExtension" + "[variables('mma-extension-name')]" ], - "tags": { - "displayName": "install-squid-enable-routing" - }, "properties": { - "publisher": "Microsoft.Azure.Extensions", - "type": "CustomScript", - "typeHandlerVersion": "2.0", - "autoUpgradeMinorVersion": true, - "protectedSettings": { - "commandToExecute": "[concat('bash install-squid-using-sas-token-and-enable-routing.sh ', variables('single-quote'), variables('install-squid-script-url'), variables('single-quote'))]", - "fileUris": [ - "[variables('install-squid-using-sas-token-and-enable-routing-script-url')]" - ] - } + "publisher": "Microsoft.Azure.Diagnostics", + "type": "LinuxDiagnostic", + "typeHandlerVersion": "3.0", + "autoUpgradeMinorVersion": true, + "settings": { + "StorageAccount": "[parameters('storageAccount-name')]", + "ladCfg": { + "diagnosticMonitorConfiguration": { + "eventVolume": "Medium", + "metrics": { + "metricAggregation": [ + { + "scheduledTransferPeriod": "PT1H" + }, + { + "scheduledTransferPeriod": "PT1M" + } + ], + "resourceId": "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + }, + "performanceCounters": { + "performanceCounterConfiguration": [ + { + "annotation": [ + { + "displayName": "Disk read guest OS", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "readbytespersecond", + "counterSpecifier": "/builtin/disk/readbytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk writes", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "writespersecond", + "counterSpecifier": "/builtin/disk/writespersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk transfer time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagetransfertime", + "counterSpecifier": "/builtin/disk/averagetransfertime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk transfers", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "transferspersecond", + "counterSpecifier": "/builtin/disk/transferspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk write guest OS", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "writebytespersecond", + "counterSpecifier": "/builtin/disk/writebytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk read time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagereadtime", + "counterSpecifier": "/builtin/disk/averagereadtime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk write time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagewritetime", + "counterSpecifier": "/builtin/disk/averagewritetime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk total bytes", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "bytespersecond", + "counterSpecifier": "/builtin/disk/bytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk reads", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "readspersecond", + "counterSpecifier": "/builtin/disk/readspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk queue length", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagediskqueuelength", + "counterSpecifier": "/builtin/disk/averagediskqueuelength", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Network in guest OS", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytesreceived", + "counterSpecifier": "/builtin/network/bytesreceived", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network total bytes", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytestotal", + "counterSpecifier": "/builtin/network/bytestotal", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network out guest OS", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytestransmitted", + "counterSpecifier": "/builtin/network/bytestransmitted", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network collisions", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totalcollisions", + "counterSpecifier": "/builtin/network/totalcollisions", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets received errors", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totalrxerrors", + "counterSpecifier": "/builtin/network/totalrxerrors", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets sent", + "locale": "en-us" + } + ], + "class": "network", + "counter": "packetstransmitted", + "counterSpecifier": "/builtin/network/packetstransmitted", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets received", + "locale": "en-us" + } + ], + "class": "network", + "counter": "packetsreceived", + "counterSpecifier": "/builtin/network/packetsreceived", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets sent errors", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totaltxerrors", + "counterSpecifier": "/builtin/network/totaltxerrors", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Filesystem transfers/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "transferspersecond", + "counterSpecifier": "/builtin/filesystem/transferspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem % free space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentfreespace", + "counterSpecifier": "/builtin/filesystem/percentfreespace", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem % used space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentusedspace", + "counterSpecifier": "/builtin/filesystem/percentusedspace", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem used space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "usedspace", + "counterSpecifier": "/builtin/filesystem/usedspace", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Filesystem read bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "bytesreadpersecond", + "counterSpecifier": "/builtin/filesystem/bytesreadpersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem free space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "freespace", + "counterSpecifier": "/builtin/filesystem/freespace", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Filesystem % free inodes", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentfreeinodes", + "counterSpecifier": "/builtin/filesystem/percentfreeinodes", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "bytespersecond", + "counterSpecifier": "/builtin/filesystem/bytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem reads/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "readspersecond", + "counterSpecifier": "/builtin/filesystem/readspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem write bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "byteswrittenpersecond", + "counterSpecifier": "/builtin/filesystem/byteswrittenpersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem writes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "writespersecond", + "counterSpecifier": "/builtin/filesystem/writespersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem % used inodes", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentusedinodes", + "counterSpecifier": "/builtin/filesystem/percentusedinodes", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU IO wait time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentiowaittime", + "counterSpecifier": "/builtin/processor/percentiowaittime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU user time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentusertime", + "counterSpecifier": "/builtin/processor/percentusertime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU nice time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentnicetime", + "counterSpecifier": "/builtin/processor/percentnicetime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU percentage guest OS", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentprocessortime", + "counterSpecifier": "/builtin/processor/percentprocessortime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU interrupt time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentinterrupttime", + "counterSpecifier": "/builtin/processor/percentinterrupttime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU idle time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentidletime", + "counterSpecifier": "/builtin/processor/percentidletime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU privileged time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentprivilegedtime", + "counterSpecifier": "/builtin/processor/percentprivilegedtime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Memory available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "availablememory", + "counterSpecifier": "/builtin/memory/availablememory", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Swap percent used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentusedswap", + "counterSpecifier": "/builtin/memory/percentusedswap", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Memory used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "usedmemory", + "counterSpecifier": "/builtin/memory/usedmemory", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Page reads", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pagesreadpersec", + "counterSpecifier": "/builtin/memory/pagesreadpersec", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Swap available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "availableswap", + "counterSpecifier": "/builtin/memory/availableswap", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Swap percent available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentavailableswap", + "counterSpecifier": "/builtin/memory/percentavailableswap", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Mem. percent available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentavailablememory", + "counterSpecifier": "/builtin/memory/percentavailablememory", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Pages", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pagespersec", + "counterSpecifier": "/builtin/memory/pagespersec", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Swap used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "usedswap", + "counterSpecifier": "/builtin/memory/usedswap", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Memory percentage", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentusedmemory", + "counterSpecifier": "/builtin/memory/percentusedmemory", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Page writes", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pageswrittenpersec", + "counterSpecifier": "/builtin/memory/pageswrittenpersec", + "type": "builtin", + "unit": "CountPerSecond" + } + ] + }, + "syslogEvents": { + "syslogEventConfiguration": { + "LOG_AUTH": "LOG_DEBUG", + "LOG_AUTHPRIV": "LOG_DEBUG", + "LOG_CRON": "LOG_DEBUG", + "LOG_DAEMON": "LOG_DEBUG", + "LOG_FTP": "LOG_DEBUG", + "LOG_KERN": "LOG_DEBUG", + "LOG_LOCAL0": "LOG_DEBUG", + "LOG_LOCAL1": "LOG_DEBUG", + "LOG_LOCAL2": "LOG_DEBUG", + "LOG_LOCAL3": "LOG_DEBUG", + "LOG_LOCAL4": "LOG_DEBUG", + "LOG_LOCAL5": "LOG_DEBUG", + "LOG_LOCAL6": "LOG_DEBUG", + "LOG_LOCAL7": "LOG_DEBUG", + "LOG_LPR": "LOG_DEBUG", + "LOG_MAIL": "LOG_DEBUG", + "LOG_NEWS": "LOG_DEBUG", + "LOG_SYSLOG": "LOG_DEBUG", + "LOG_USER": "LOG_DEBUG", + "LOG_UUCP": "LOG_DEBUG" + } + } + }, + "sampleRateInSeconds": 15 + } + }, + "protectedSettings": { + "storageAccountName": "[parameters('storageAccount-name')]", + "storageAccountEndPoint": "https://core.windows.net/", + "storageAccountSasToken": "[parameters('storageAccount-sasToken')]" + } } }, { @@ -336,7 +1020,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'install-squid-enable-routing')]" + "[variables('diagnostics-extension-name')]" ], "properties": { "publisher": "Microsoft.Azure.NetworkWatcher", @@ -344,6 +1028,28 @@ "typeHandlerVersion": "1.4", "autoUpgradeMinorVersion": true } + }, + { + "name": "[variables('squid-setup-extension-name')]", + "type": "extensions", + "location": "[resourceGroup().location]", + "apiVersion": "2017-03-30", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('networkWatcher-extension-name')]" + ], + "properties": { + "publisher": "Microsoft.Azure.Extensions", + "type": "CustomScript", + "typeHandlerVersion": "2.0", + "autoUpgradeMinorVersion": true, + "protectedSettings": { + "commandToExecute": "[concat('bash install-squid-using-sas-token-and-enable-routing.sh ', variables('single-quote'), variables('install-squid-script-url'), variables('single-quote'))]", + "fileUris": [ + "[variables('install-squid-using-sas-token-and-enable-routing-script-url')]" + ] + } + } } ] }, diff --git a/modules/storage-account-cdn/1.0/azureDeploy.json b/modules/storage-account-cdn/1.0/azureDeploy.json new file mode 100644 index 000000000..6aa1dc9f1 --- /dev/null +++ b/modules/storage-account-cdn/1.0/azureDeploy.json @@ -0,0 +1,114 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "deployment-prefix": { + "type": "string", + "metadata": { + "description": "Deployment prefix. E.g. Organization-DeploymentType" + } + }, + "sku": { + "type": "object", + "metadata": { + "description": "CDN Profile SKU" + }, + "defaultValue": { + "name": "Standard_Microsoft" + } + }, + "profileProperties": { + "type": "object", + "metadata": { + "description": "CDN Properties" + } + } + }, + "variables": { + "profile-name": "[concat(parameters('deployment-prefix'), '-cdn-profile')]", + "endpoint-name": "[concat(parameters('deployment-prefix'), '-cdn-profile')]", + "storageAccount-endpoint": "[concat(parameters('storageAccount-name'), '.blob.core.windows.net')]", + "endpointProperties": { + "value": { + "isHttpAllowed": true, + "isHttpsAllowed": true, + "originHostHeader": "[variables('storageAccount-endpoint')]", + "origins": [ + { + "name": "[replace(variables('storageAccount-endpoint'), '.', '-')]", + "properties": { + "hostName": "[variables('storageAccount-endpoint')]", + "httpPort": 80, + "httpsPort": 443 + } + } + ], + "isCompressionEnabled": true, + "contentTypesToCompress": [ + "application/eot", + "application/font", + "application/font-sfnt", + "application/javascript", + "application/json", + "application/opentype", + "application/otf", + "application/pkcs7-mime", + "application/truetype", + "application/ttf", + "application/vnd.ms-fontobject", + "application/xhtml+xml", + "application/xml", + "application/xml+rss", + "application/x-font-opentype", + "application/x-font-truetype", + "application/x-font-ttf", + "application/x-httpd-cgi", + "application/x-javascript", + "application/x-mpegurl", + "application/x-opentype", + "application/x-otf", + "application/x-perl", + "application/x-ttf", + "font/eot", + "font/ttf", + "font/otf", + "font/opentype", + "image/svg+xml", + "text/css", + "text/csv", + "text/html", + "text/javascript", + "text/js", + "text/plain", + "text/richtext", + "text/tab-separated-values", + "text/xml", + "text/x-script", + "text/x-component", + "text/x-java-source" + ] + } + } + }, + "resources": [ + { + "type": "microsoft.cdn/profiles", + "apiVersion": "2018-04-02", + "name": "[variables('profile-name')]", + "location": "[resourceGroup().location]", + "sku": "[parameters('sku')]", + "properties": "[parameters('profileProperties')]" + }, + { + "type": "microsoft.cdn/profiles/endpoints", + "apiVersion": "2018-04-02", + "name": "[concat(variables('profile-name'),'/',variables('endpoint-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[concat('Microsoft.Cdn/profiles/', variables('profile-name'))]" + ], + "properties": "[variables('endpointProperties')]" + } + ], + "outputs": {} +} \ No newline at end of file diff --git a/modules/storage-account-cdn/1.0/azureDeploy.parameters.json b/modules/storage-account-cdn/1.0/azureDeploy.parameters.json new file mode 100644 index 000000000..3555ef948 --- /dev/null +++ b/modules/storage-account-cdn/1.0/azureDeploy.parameters.json @@ -0,0 +1,8 @@ +{ + "deployment-prefix": { + "value": "${general.organization-name}-${ENV:ENVIRONMENT-TYPE.deployment-name}" + }, + "network-acls": { + "value": "${ENV:ENVIRONMENT-TYPE.storage-account.network-acls}" + } +} \ No newline at end of file diff --git a/modules/storage-account/1.0/azureDeploy.enable-serviceEndpoint.parameters.json b/modules/storage-account/1.0/azureDeploy.enable-serviceEndpoint.parameters.json new file mode 100644 index 000000000..f5efbe8b2 --- /dev/null +++ b/modules/storage-account/1.0/azureDeploy.enable-serviceEndpoint.parameters.json @@ -0,0 +1,11 @@ +{ + "deployment-prefix": { + "value": "${general.organization-name}-${ENV:ENVIRONMENT-TYPE.deployment-name}" + }, + "network-acls": { + "value": "${ENV:ENVIRONMENT-TYPE.storage-account.network-acls}" + }, + "enable-network-acls": { + "value": true + } +} \ No newline at end of file diff --git a/modules/storage-account/1.0/azureDeploy.json b/modules/storage-account/1.0/azureDeploy.json new file mode 100644 index 000000000..828040e02 --- /dev/null +++ b/modules/storage-account/1.0/azureDeploy.json @@ -0,0 +1,168 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "deployment-prefix": { + "type": "string", + "metadata": { + "description": "Deployment prefix. E.g. Organization-DeploymentType" + } + }, + "lock-for-deletion": { + "type": "bool", + "defaultValue": true + }, + "vnet-id": { + "type": "string", + "defaultValue": "", + "metadata": { + "description": "Shared services Virtual Network resource identifier" + } + }, + "enable-network-acls": { + "type": "bool", + "defaultValue": false, + "metadata": { + "description": "Flag to enable network acls to whitelist IPs and subnets" + } + }, + "network-acls": { + "type": "object", + "defaultValue": {} + }, + "utcYear": { + "type": "string", + "defaultValue": "[utcNow('yyyy')]" + }, + "storage-account-name": { + "type": "string", + "defaultValue": "", + "metadata": { + "description": "Name of the storage account" + } + }, + "storage-account-kind": { + "type": "string", + "metadata": { + "description": "Storage account kind" + }, + "defaultValue": "StorageV2", + "allowedValues": [ + "Storage", + "StorageV2", + "BlobStorage", + "FileStorage", + "BlockBlobStorage" + ] + }, + "storage-account-sku": { + "type": "string", + "metadata": { + "description": "Storage account SKU" + }, + "defaultValue": "Standard_LRS" + }, + "storage-account-access-tier": { + "type": "string", + "metadata": { + "description": "Storage account access tier" + }, + "defaultValue": "Hot", + "allowedValues": [ + "Hot", + "Cold" + ] + } + }, + "variables": { + "uniqueString": "[uniqueString(subscription().id, concat(parameters('deployment-prefix'), '-la'))]", + "diagnostic-storageAccount-prefix": "[concat(replace(parameters('deployment-prefix'), '-', ''), 'diag')]", + "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", + "storage-account-name": "[if(empty(parameters('storage-account-name')), variables('diagnostic-storageAccount-name'), parameters('storage-account-name'))]", + "accountSasProperties": { + "signedServices": "bt", + "signedPermission": "acuw", + "signedExpiry": "[concat(string(add(int(parameters('utcYear')), 100)), '-12-31T23:59:59Z')]", + "signedResourceTypes": "co", + "signedProtocol": "https" + }, + "virtualNetwork-rules": { + "copy": [ + { + "name": "virtualNetworkRules", + "count": "[if(not(parameters('enable-network-acls')), 1, if(equals(length(parameters('network-acls').virtualNetworkRules), 0), 1, length(parameters('network-acls').virtualNetworkRules)))]", + "input": { + "id": "[if(not(parameters('enable-network-acls')), json('null'), if(equals(length(parameters('network-acls').virtualNetworkRules), 0), json('null'), concat(parameters('vnet-id'), '/subnets/', parameters('network-acls').virtualNetworkRules[copyIndex('virtualNetworkRules')].subnet)))]" + } + } + ] + }, + "networkAcls": { + "bypass": "[if(not(parameters('enable-network-acls')), 'AzureServices', parameters('network-acls').bypass)]", + "defaultAction": "[if(not(parameters('enable-network-acls')), 'Deny', parameters('network-acls').defaultAction)]", + "virtualNetworkRules": "[if(not(parameters('enable-network-acls')), json('null'), variables('virtualNetwork-rules').virtualNetworkRules)]", + "ipRules": "[if(not(parameters('enable-network-acls')), json('null'), if(equals(length(parameters('network-acls').ipRules), 0), json('null'), parameters('network-acls').ipRules))]" + } + }, + "resources": [ + { + "comments": "----DIAGNOSTICS STORAGE ACCOUNT-----", + "type": "Microsoft.Storage/storageAccounts", + "name": "[variables('storage-account-name')]", + "apiVersion": "2018-11-01", + "location": "[resourceGroup().location]", + "kind": "[parameters('storage-account-kind')]", + "sku": { + "name": "[parameters('storage-account-sku')]" + }, + "tags": { + "layer": "management" + }, + "properties": { + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true + }, + "file": "[if(or(equals(parameters('storage-account-kind'), 'StorageV2'), equals(parameters('storage-account-kind'), 'Storage')), json('{\"enabled\": true}'), json('null'))]" + } + }, + "accessTier": "[parameters('storage-account-access-tier')]", + "supportsHttpsTrafficOnly": true, + "networkAcls": "[if(empty(parameters('network-acls')), json('null'), variables('networkAcls'))]" + } + }, + { + "type": "Microsoft.Storage/storageAccounts/providers/locks", + "apiVersion": "2016-09-01", + "condition": "[parameters('lock-for-deletion')]", + "name": "[concat(variables('storage-account-name'), '/Microsoft.Authorization/storageDoNotDelete')]", + "dependsOn": [ + "[concat('Microsoft.Storage/storageAccounts/', variables('storage-account-name'))]" + ], + "comments": "Resource lock on diagnostic storage account", + "properties": { + "level": "CannotDelete" + } + } + ], + "outputs": { + "storageAccount-resourceId":{ + "type": "string", + "value": "[resourceId('Microsoft.Storage/storageAccounts', variables('storage-account-name'))]" + }, + "storageAccount-name": { + "type": "string", + "value": "[variables('storage-account-name')]" + }, + "storageAccount-sasToken": { + "type": "string", + "value": "[listAccountSas(variables('storage-account-name'), '2018-07-01', variables('accountSasProperties')).accountSasToken]" + }, + "storageAccount-accessKey": { + "type": "string", + "value": "[listKeys(variables('storage-account-name'),'2015-06-15').key1]" + } + } +} \ No newline at end of file diff --git a/modules/storage-account/1.0/azureDeploy.parameters.json b/modules/storage-account/1.0/azureDeploy.parameters.json new file mode 100644 index 000000000..8665ee6d9 --- /dev/null +++ b/modules/storage-account/1.0/azureDeploy.parameters.json @@ -0,0 +1,11 @@ +{ + "deployment-prefix": { + "value": "${general.organization-name}-${ENV:ENVIRONMENT-TYPE.deployment-name}" + }, + "network-acls": { + "value": "${ENV:ENVIRONMENT-TYPE.storage-account.network-acls}" + }, + "enable-network-acls": { + "value": false + } +} \ No newline at end of file diff --git a/modules/ubuntu-nva/1.0/azureDeploy.json b/modules/ubuntu-nva/1.0/azureDeploy.json index 8bfd28233..90e1ae304 100644 --- a/modules/ubuntu-nva/1.0/azureDeploy.json +++ b/modules/ubuntu-nva/1.0/azureDeploy.json @@ -141,6 +141,30 @@ "metadata": { "description": "Specifies a static private IP associated to the NVA Load Balancer" } + }, + "la-workspace-id": { + "type": "securestring", + "metadata": { + "description": "WorkspaceId or CustomerId value of OMS. This value is referenced in OMS VM Extension" + } + }, + "la-primary-shared-key": { + "type": "securestring", + "metadata": { + "description": "WorkspaceKey value of OMS. This value is referenced in OMS VM Extension" + } + }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Diagnostic Storage Account name" + } + }, + "storageAccount-sasToken": { + "type": "securestring", + "metadata": { + "description": "Diagnostic Storage Account SAS token" + } } }, "variables": { @@ -151,8 +175,6 @@ "shared-services-subnet-ID": "[concat(parameters('vnet-id'), '/subnets/', parameters('shared-services-subnet-name'))]", "dmz-subnet-ID": "[concat(parameters('vnet-id'), '/subnets/', parameters('dmz-subnet-name'))]", "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(variables('resource-prefix'), 'diag')]", - "diagnostic-storageAccount-name": "[replace(toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) ), '-', '')]", "networkWatcher-extension-name": "NetworkWatcher", "lb-ID": "[resourceId('Microsoft.Network/loadBalancers',variables('nva-lb-name'))]", "dmz-endIP-config-id": "[concat(variables('lb-ID'),'/frontendIPConfigurations/LoadBalancerFrontEnd')]", @@ -160,34 +182,12 @@ "lb-probe-id": "[concat(variables('lb-ID'),'/probes/tcpProbe')]", "dmz-address-prefix-ip": "[vdc.removeAddressRange(parameters('dmz-subnet-address-prefix'))]", "dmz-default-gateway-ip": "[vdc.nextIP(variables('dmz-address-prefix-ip'), 1)]", - "encryption-extension-name": "AzureDiskEncryption", - "encryption-operation": "EnableEncryption", - "key-encryptionAlgorithm": "RSA-OAEP" + "mma-extension-name": "OMSExtension", + "diagnostics-extension-name": "LinuxDiagnostic", + "force-symmetric-routing-extension-name": "enable-routing-and-force-symmetric-routing" + }, "resources": [ - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-10-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/availabilitySets", "apiVersion": "2016-04-30-preview", @@ -383,8 +383,7 @@ "dependsOn": [ "[resourceId('Microsoft.Compute/availabilitySets', variables('availabilitySet-name'))]", "[concat('Microsoft.Network/networkInterfaces/', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic1'))]", - "[concat('Microsoft.Network/networkInterfaces/', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic2'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "[concat('Microsoft.Network/networkInterfaces/', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic2'))]" ], "properties": { "availabilitySet": { @@ -430,19 +429,761 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, "resources": [ { - "name": "enable-routing-and-force-symmetric-routing", "type": "extensions", + "name": "[variables('mma-extension-name')]", + "apiVersion": "2018-06-01", "location": "[resourceGroup().location]", - "apiVersion": "2017-03-30", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" ], + "properties": { + "publisher": "Microsoft.EnterpriseCloud.Monitoring", + "type": "OmsAgentForLinux", + "typeHandlerVersion": "1.7", + "settings": { + "workspaceId": "[parameters('la-workspace-id')]" + }, + "protectedSettings": { + "workspaceKey": "[parameters('la-primary-shared-key')]" + } + } + }, + { + "type": "extensions", + "name": "[variables('diagnostics-extension-name')]", + "apiVersion": "2017-12-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + ], + "properties": { + "publisher": "Microsoft.Azure.Diagnostics", + "type": "LinuxDiagnostic", + "typeHandlerVersion": "3.0", + "autoUpgradeMinorVersion": true, + "settings": { + "StorageAccount": "[parameters('storageAccount-name')]", + "ladCfg": { + "diagnosticMonitorConfiguration": { + "eventVolume": "Medium", + "metrics": { + "metricAggregation": [ + { + "scheduledTransferPeriod": "PT1H" + }, + { + "scheduledTransferPeriod": "PT1M" + } + ], + "resourceId": "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + }, + "performanceCounters": { + "performanceCounterConfiguration": [ + { + "annotation": [ + { + "displayName": "Disk read guest OS", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "readbytespersecond", + "counterSpecifier": "/builtin/disk/readbytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk writes", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "writespersecond", + "counterSpecifier": "/builtin/disk/writespersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk transfer time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagetransfertime", + "counterSpecifier": "/builtin/disk/averagetransfertime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk transfers", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "transferspersecond", + "counterSpecifier": "/builtin/disk/transferspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk write guest OS", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "writebytespersecond", + "counterSpecifier": "/builtin/disk/writebytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk read time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagereadtime", + "counterSpecifier": "/builtin/disk/averagereadtime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk write time", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagewritetime", + "counterSpecifier": "/builtin/disk/averagewritetime", + "type": "builtin", + "unit": "Seconds" + }, + { + "annotation": [ + { + "displayName": "Disk total bytes", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "bytespersecond", + "counterSpecifier": "/builtin/disk/bytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk reads", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "readspersecond", + "counterSpecifier": "/builtin/disk/readspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Disk queue length", + "locale": "en-us" + } + ], + "class": "disk", + "condition": "IsAggregate=TRUE", + "counter": "averagediskqueuelength", + "counterSpecifier": "/builtin/disk/averagediskqueuelength", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Network in guest OS", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytesreceived", + "counterSpecifier": "/builtin/network/bytesreceived", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network total bytes", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytestotal", + "counterSpecifier": "/builtin/network/bytestotal", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network out guest OS", + "locale": "en-us" + } + ], + "class": "network", + "counter": "bytestransmitted", + "counterSpecifier": "/builtin/network/bytestransmitted", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Network collisions", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totalcollisions", + "counterSpecifier": "/builtin/network/totalcollisions", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets received errors", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totalrxerrors", + "counterSpecifier": "/builtin/network/totalrxerrors", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets sent", + "locale": "en-us" + } + ], + "class": "network", + "counter": "packetstransmitted", + "counterSpecifier": "/builtin/network/packetstransmitted", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets received", + "locale": "en-us" + } + ], + "class": "network", + "counter": "packetsreceived", + "counterSpecifier": "/builtin/network/packetsreceived", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Packets sent errors", + "locale": "en-us" + } + ], + "class": "network", + "counter": "totaltxerrors", + "counterSpecifier": "/builtin/network/totaltxerrors", + "type": "builtin", + "unit": "Count" + }, + { + "annotation": [ + { + "displayName": "Filesystem transfers/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "transferspersecond", + "counterSpecifier": "/builtin/filesystem/transferspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem % free space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentfreespace", + "counterSpecifier": "/builtin/filesystem/percentfreespace", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem % used space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentusedspace", + "counterSpecifier": "/builtin/filesystem/percentusedspace", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem used space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "usedspace", + "counterSpecifier": "/builtin/filesystem/usedspace", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Filesystem read bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "bytesreadpersecond", + "counterSpecifier": "/builtin/filesystem/bytesreadpersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem free space", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "freespace", + "counterSpecifier": "/builtin/filesystem/freespace", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Filesystem % free inodes", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentfreeinodes", + "counterSpecifier": "/builtin/filesystem/percentfreeinodes", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Filesystem bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "bytespersecond", + "counterSpecifier": "/builtin/filesystem/bytespersecond", + "type": "builtin", + "unit": "BytesPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem reads/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "readspersecond", + "counterSpecifier": "/builtin/filesystem/readspersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem write bytes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "byteswrittenpersecond", + "counterSpecifier": "/builtin/filesystem/byteswrittenpersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem writes/sec", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "writespersecond", + "counterSpecifier": "/builtin/filesystem/writespersecond", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Filesystem % used inodes", + "locale": "en-us" + } + ], + "class": "filesystem", + "condition": "IsAggregate=TRUE", + "counter": "percentusedinodes", + "counterSpecifier": "/builtin/filesystem/percentusedinodes", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU IO wait time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentiowaittime", + "counterSpecifier": "/builtin/processor/percentiowaittime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU user time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentusertime", + "counterSpecifier": "/builtin/processor/percentusertime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU nice time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentnicetime", + "counterSpecifier": "/builtin/processor/percentnicetime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU percentage guest OS", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentprocessortime", + "counterSpecifier": "/builtin/processor/percentprocessortime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU interrupt time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentinterrupttime", + "counterSpecifier": "/builtin/processor/percentinterrupttime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU idle time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentidletime", + "counterSpecifier": "/builtin/processor/percentidletime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "CPU privileged time", + "locale": "en-us" + } + ], + "class": "processor", + "condition": "IsAggregate=TRUE", + "counter": "percentprivilegedtime", + "counterSpecifier": "/builtin/processor/percentprivilegedtime", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Memory available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "availablememory", + "counterSpecifier": "/builtin/memory/availablememory", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Swap percent used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentusedswap", + "counterSpecifier": "/builtin/memory/percentusedswap", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Memory used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "usedmemory", + "counterSpecifier": "/builtin/memory/usedmemory", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Page reads", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pagesreadpersec", + "counterSpecifier": "/builtin/memory/pagesreadpersec", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Swap available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "availableswap", + "counterSpecifier": "/builtin/memory/availableswap", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Swap percent available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentavailableswap", + "counterSpecifier": "/builtin/memory/percentavailableswap", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Mem. percent available", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentavailablememory", + "counterSpecifier": "/builtin/memory/percentavailablememory", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Pages", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pagespersec", + "counterSpecifier": "/builtin/memory/pagespersec", + "type": "builtin", + "unit": "CountPerSecond" + }, + { + "annotation": [ + { + "displayName": "Swap used", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "usedswap", + "counterSpecifier": "/builtin/memory/usedswap", + "type": "builtin", + "unit": "Bytes" + }, + { + "annotation": [ + { + "displayName": "Memory percentage", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "percentusedmemory", + "counterSpecifier": "/builtin/memory/percentusedmemory", + "type": "builtin", + "unit": "Percent" + }, + { + "annotation": [ + { + "displayName": "Page writes", + "locale": "en-us" + } + ], + "class": "memory", + "counter": "pageswrittenpersec", + "counterSpecifier": "/builtin/memory/pageswrittenpersec", + "type": "builtin", + "unit": "CountPerSecond" + } + ] + }, + "syslogEvents": { + "syslogEventConfiguration": { + "LOG_AUTH": "LOG_DEBUG", + "LOG_AUTHPRIV": "LOG_DEBUG", + "LOG_CRON": "LOG_DEBUG", + "LOG_DAEMON": "LOG_DEBUG", + "LOG_FTP": "LOG_DEBUG", + "LOG_KERN": "LOG_DEBUG", + "LOG_LOCAL0": "LOG_DEBUG", + "LOG_LOCAL1": "LOG_DEBUG", + "LOG_LOCAL2": "LOG_DEBUG", + "LOG_LOCAL3": "LOG_DEBUG", + "LOG_LOCAL4": "LOG_DEBUG", + "LOG_LOCAL5": "LOG_DEBUG", + "LOG_LOCAL6": "LOG_DEBUG", + "LOG_LOCAL7": "LOG_DEBUG", + "LOG_LPR": "LOG_DEBUG", + "LOG_MAIL": "LOG_DEBUG", + "LOG_NEWS": "LOG_DEBUG", + "LOG_SYSLOG": "LOG_DEBUG", + "LOG_USER": "LOG_DEBUG", + "LOG_UUCP": "LOG_DEBUG" + } + } + }, + "sampleRateInSeconds": 15 + } + }, + "protectedSettings": { + "storageAccountName": "[parameters('storageAccount-name')]", + "storageAccountEndPoint": "https://core.windows.net/", + "storageAccountSasToken": "[parameters('storageAccount-sasToken')]" + } + } + }, + { + "name": "[variables('force-symmetric-routing-extension-name']", + "type": "extensions", + "location": "[resourceGroup().location]", + "apiVersion": "2017-03-30", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('mma-extension-name')]" + ], "tags": { "displayName": "enable-routing-and-force-symmetric-routing" }, @@ -468,7 +1209,8 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'enable-routing-and-force-symmetric-routing')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('force-symmetric-routing-extension-name'))]", + "[variables('mma-extension-name')]" ], "properties": { "publisher": "Microsoft.Azure.NetworkWatcher", diff --git a/modules/ubuntu-nva/1.0/azureDeploy.parameters.json b/modules/ubuntu-nva/1.0/azureDeploy.parameters.json index 3d6819c15..2c1afdf1e 100644 --- a/modules/ubuntu-nva/1.0/azureDeploy.parameters.json +++ b/modules/ubuntu-nva/1.0/azureDeploy.parameters.json @@ -21,9 +21,9 @@ }, "os-image": { "value": { - "offer": "UbuntuServer", "publisher": "Canonical", - "sku": "14.04.5-LTS", + "offer": "UbuntuServer", + "sku": "18.04-LTS", "version": "latest" } }, diff --git a/modules/vgw-connection/1.0/azureDeploy.json b/modules/vgw-connection/1.0/azureDeploy.json index d214b8634..abf56bbd6 100644 --- a/modules/vgw-connection/1.0/azureDeploy.json +++ b/modules/vgw-connection/1.0/azureDeploy.json @@ -2,46 +2,52 @@ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { - "on-premises-gateway-name": { + "local-gateway-name": { "type": "string", "metadata": { - "description": "Specifies the On-premises gateway name" + "description": "Specifies the local Virtual Network Gateway name" } }, - "on-premises-subscription-id": { + "local-subscription-id": { "type": "string", "metadata": { - "description": "On-premises subscription id, this value is used to create a VPN connection between the Shared services and on-premises" + "description": "Local subscription id, this value is used to create a VPN connection between a local and remote Virtual Network Gateway" } }, - "on-premises-vnet-rg": { + "local-vnet-resourceGroup": { "type": "string", "metadata": { - "description": "On-premises resource group that contains the Virtual Network, this value is used to create a VPN connection between the Shared services and on-premises" + "description": "Local resource group that contains the Virtual Network, this value is used to create a local and remote Virtual Network Gateway" } }, "vpn-shared-key": { "type": "string", "metadata": { - "description": "Specifies a VPN shared key. The same value has to be specified in On-premises and Azure" + "description": "Specifies a VPN shared key. The same value has to be specified on both Virtual Network Gateways" } }, - "shared-services-gateway-id": { + "local-gateway-location": { "type": "string", "metadata": { - "description": "Shared services Gateway Id" + "description": "Specifies the remote Virtual Network Gateway location" } - }, - "vnet-resourceGroup": { + }, + "remote-gateway-name": { + "type": "string", + "metadata": { + "description": "Specifies the remote Virtual Network Gateway" + } + }, + "remote-vnet-resourceGroup": { "type": "string", "metadata": { - "description": "Shared services Virtual Network resource group name" + "description": "Remote Virtual Network resource group name" } }, - "subscription-id": { + "remote-subscription-id": { "type": "string", "metadata": { - "description": "Subscription where to provision the Virtual Network Gateway" + "description": "Remote Subscription Id" } }, "enable-bgp": { @@ -51,23 +57,24 @@ "description": "Value to specify if BGP is enabled or not" } }, - "deployment-name": { + "remote-connection-name": { "type": "string", "metadata": { - "description": "Shared services deployment name" + "description": "Remote connection name" } } }, "variables": { - "on-premises-gateway-resource-id": "[resourceId(parameters('on-premises-subscription-id'), parameters('on-premises-vnet-rg') ,'Microsoft.Network/virtualNetworkGateways', parameters('on-premises-gateway-name'))]" + "local-gateway-resource-id": "[resourceId(parameters('local-subscription-id'), parameters('local-vnet-resourceGroup') ,'Microsoft.Network/virtualNetworkGateways', parameters('local-gateway-name'))]", + "remote-gateway-resource-id": "[resourceId(parameters('remote-subscription-id'), parameters('remote-vnet-resourceGroup') ,'Microsoft.Network/virtualNetworkGateways', parameters('remote-gateway-name'))]" }, "resources": [ { "apiVersion": "2017-05-10", "name": "nestedDeployVGWConnection", "type": "Microsoft.Resources/deployments", - "resourceGroup": "[parameters('vnet-resourceGroup')]", - "subscriptionId": "[parameters('subscription-id')]", + "resourceGroup": "[parameters('local-vnet-resourceGroup')]", + "subscriptionId": "[parameters('local-subscription-id')]", "properties": { "mode": "Incremental", "template": { @@ -77,19 +84,19 @@ "variables": {}, "resources": [ { - "name": "[concat(parameters('deployment-name'), '-to-on-premises')]", + "name": "[concat('local-to-', parameters('remote-connection-name'))]", "type": "Microsoft.Network/connections", "apiVersion": "2017-10-01", - "location": "[resourceGroup().location]", + "location": "[parameters('local-gateway-location')]", "tags": { - "displayName": "[concat(parameters('deployment-name'), '-to-on-premises')]" + "connectionName": "[concat('local-to-', parameters('remote-connection-name'))]" }, "properties":{ "virtualNetworkGateway1":{ - "id": "[parameters('shared-services-gateway-id')]" + "id": "[variables('local-gateway-resource-id')]" }, "virtualNetworkGateway2":{ - "id": "[variables('on-premises-gateway-resource-id')]" + "id": "[variables('remote-gateway-resource-id')]" }, "enableBgp": "[parameters('enable-bgp')]", "connectionType": "VNet2VNet", diff --git a/modules/onprem-vgw-connection/1.0/azureDeploy.parameters.json b/modules/vgw-connection/1.0/azureDeploy.onpremToSharedsvcs.parameters.json similarity index 50% rename from modules/onprem-vgw-connection/1.0/azureDeploy.parameters.json rename to modules/vgw-connection/1.0/azureDeploy.onpremToSharedsvcs.parameters.json index d9ec692a3..5a6ccfaa5 100644 --- a/modules/onprem-vgw-connection/1.0/azureDeploy.parameters.json +++ b/modules/vgw-connection/1.0/azureDeploy.onpremToSharedsvcs.parameters.json @@ -1,29 +1,32 @@ { - "on-premises-subscription-id": { + "local-subscription-id": { "value": "${on-premises.subscription-id}" }, - "on-premises-vnet-rg": { + "local-vnet-resourceGroup": { "value": "${on-premises.network.resource-group-name}" }, - "on-premises-gateway-name": { + "local-gateway-name": { "value": "${on-premises.network.virtual-gateway.gateway-name}" }, + "local-gateway-location": { + "value": "${on-premises.region}" + }, "vpn-shared-key": { "value": "asodgfhjkaw4tu0w9vuijv0qu3409tu" }, - "shared-services-subscription-id":{ + "remote-subscription-id":{ "value": "${shared-services.subscription-id}" }, - "shared-services-gateway-name":{ - "value": "${general.organization-name}-${shared-services.deployment-name}-gw" + "remote-gateway-name":{ + "value": "${general.shared-services.network.virtual-gateway.gateway-name}" }, - "shared-services-vnet-resourceGroup":{ - "value": "${general.organization-name}-${shared-services.deployment-name}-net-rg" + "remote-vnet-resourceGroup":{ + "value": "${general.shared-services.network.network-resource-group-name}" }, - "deployment-name":{ + "remote-connection-name":{ "value": "${shared-services.deployment-name}" }, - "on-premises-location": { - "value": "${on-premises.region}" + "enable-bgp": { + "value": false } } \ No newline at end of file diff --git a/modules/vgw-connection/1.0/azureDeploy.parameters.json b/modules/vgw-connection/1.0/azureDeploy.parameters.json deleted file mode 100644 index 03640694e..000000000 --- a/modules/vgw-connection/1.0/azureDeploy.parameters.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "on-premises-subscription-id": { - "value": "${on-premises.subscription-id}" - }, - "on-premises-vnet-rg": { - "value": "${on-premises.network.resource-group-name}" - }, - "on-premises-gateway-name": { - "value": "${on-premises.network.virtual-gateway.gateway-name}" - }, - "vpn-shared-key": { - "value": "asodgfhjkaw4tu0w9vuijv0qu3409tu" - }, - "subscription-id":{ - "value": "${shared-services.subscription-id}" - }, - "deployment-name":{ - "value": "${shared-services.deployment-name}" - } -} \ No newline at end of file diff --git a/modules/vgw-connection/1.0/azureDeploy.sharedsvcsToOnprem.parameters.json b/modules/vgw-connection/1.0/azureDeploy.sharedsvcsToOnprem.parameters.json new file mode 100644 index 000000000..0152f014e --- /dev/null +++ b/modules/vgw-connection/1.0/azureDeploy.sharedsvcsToOnprem.parameters.json @@ -0,0 +1,32 @@ +{ + "local-subscription-id": { + "value": "${shared-services.subscription-id}" + }, + "local-vnet-resourceGroup": { + "value": "${general.shared-services.network.network-resource-group-name}" + }, + "local-gateway-name": { + "value": "${general.shared-services.network.virtual-gateway.gateway-name}" + }, + "local-gateway-location": { + "value": "${shared-services.region}" + }, + "vpn-shared-key": { + "value": "asodgfhjkaw4tu0w9vuijv0qu3409tu" + }, + "remote-subscription-id":{ + "value": "${on-premises.subscription-id}" + }, + "remote-gateway-name":{ + "value": "${on-premises.network.virtual-gateway.gateway-name}" + }, + "remote-vnet-resourceGroup":{ + "value": "${on-premises.network.resource-group-name}" + }, + "remote-connection-name":{ + "value": "${on-premises.deployment-name}" + }, + "enable-bgp": { + "value": false + } +} \ No newline at end of file diff --git a/modules/vgw/1.0/azureDeploy.json b/modules/vgw/1.0/azureDeploy.json index 8d2dd2ee8..bd61a5e5b 100644 --- a/modules/vgw/1.0/azureDeploy.json +++ b/modules/vgw/1.0/azureDeploy.json @@ -5,32 +5,32 @@ "deployment-prefix": { "type": "string", "metadata": { - "description": "Deployment prefix. E.g. Organization-DeploymentType" - } + "description": "Deployment prefix. E.g. Organization-DeploymentType" + } }, "subscription-id": { "type": "string", "metadata": { - "description": "Subscription where to provision the Virtual Network Gateway" - } + "description": "Subscription where to provision the Virtual Network Gateway" + } }, "gateway-type": { "type": "string", "metadata": { - "description": "Specifies the gateway type. E.g. VPN, ExpressRoute" - } + "description": "Specifies the gateway type. E.g. VPN, ExpressRoute" + } }, "gateway-sku": { "type": "string", "metadata": { - "description": "The Sku of the Gateway. This must be one of Basic, Standard or HighPerformance." + "description": "The Sku of the Gateway. This must be one of Basic, Standard or HighPerformance." } }, "vpn-type": { "type": "string", "metadata": { - "description": "Specifies the VPN type" - } + "description": "Specifies the VPN type" + } }, "vnet-id": { "type": "string", @@ -68,71 +68,51 @@ }, "resources": [ { - "apiVersion": "2017-05-10", - "name": "nestedDeployVGW", - "type": "Microsoft.Resources/deployments", - "resourceGroup": "[parameters('vnet-resourceGroup')]", - "subscriptionId": "[parameters('subscription-id')]", + "apiVersion": "2015-06-15", + "type": "Microsoft.Network/publicIPAddresses", + "name": "[variables('gateway-pip-name')]", + "location": "[resourceGroup().location]", + "tags": {}, + "properties": { + "publicIPAllocationMethod": "Dynamic" + } + }, + { + "name": "[variables('gateway-name')]", + "type": "Microsoft.Network/virtualNetworkGateways", + "apiVersion": "2015-06-15", + "location": "[resourceGroup().location]", + "tags": { + "displayName": "[variables('gateway-name')]" + }, + "dependsOn": [ + "[variables('gateway-pip-resource-name')]" + ], "properties": { - "mode": "Incremental", - "template": { - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "variables": {}, - "resources": [ - { - "apiVersion": "2015-06-15", - "type": "Microsoft.Network/publicIPAddresses", - "name": "[variables('gateway-pip-name')]", - "location": "[resourceGroup().location]", - "tags": { - "displayName": "[variables('gateway-pip-name')]" + "ipConfigurations": [ + { + "properties": { + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "[variables('gateway-subnet-id')]" }, - "properties": { - "publicIPAllocationMethod": "Dynamic" + "publicIPAddress": { + "id": "[variables('gateway-pip-id')]" } }, - { - "name": "[variables('gateway-name')]", - "type": "Microsoft.Network/virtualNetworkGateways", - "apiVersion": "2015-06-15", - "location": "[resourceGroup().location]", - "tags": { - "displayName": "[variables('gateway-name')]" - }, - "dependsOn": [ - "[variables('gateway-pip-resource-name')]" - ], - "properties":{ - "ipConfigurations":[ - { - "properties":{ - "privateIPAllocationMethod": "Dynamic", - "subnet":{ - "id": "[variables('gateway-subnet-id')]" - }, - "publicIPAddress":{ - "id": "[variables('gateway-pip-id')]" - } - }, - "name": "vNetGatewayConfig" - } - ], - "enableBgp": "[parameters('enable-bgp')]", - "bgpSettings": { - "asn": "[parameters('asn')]" - }, - "sku": { - "name": "[parameters('gateway-sku')]", - "tier": "[parameters('gateway-sku')]" - }, - "gatewayType": "[parameters('gateway-type')]", - "vpnType": "[parameters('vpn-type')]" - } - } - ] - } + "name": "vNetGatewayConfig" + } + ], + "enableBgp": "[parameters('enable-bgp')]", + "bgpSettings": { + "asn": "[parameters('asn')]" + }, + "sku": { + "name": "[parameters('gateway-sku')]", + "tier": "[parameters('gateway-sku')]" + }, + "gatewayType": "[parameters('gateway-type')]", + "vpnType": "[parameters('vpn-type')]" } } ], diff --git a/modules/vmapp-azone/1.0/azureDeploy.json b/modules/vmapp-azone/1.0/azureDeploy.json index cbfd626fc..f628e6596 100644 --- a/modules/vmapp-azone/1.0/azureDeploy.json +++ b/modules/vmapp-azone/1.0/azureDeploy.json @@ -9,29 +9,47 @@ } }, "sas-key":{ - "type":"string", + "type":"securestring", "metadata":{ "description":"" } }, - "output-params-storage-account-name":{ - "type":"string", - "metadata":{ - "description":"" + "output-params-storage-account-name": { + "type": "securestring", + "metadata": { + "description": "Default storage account name. Storage account that contains output parameters and common scripts" } }, - "oms-workspace-id": { + "output-params-storage-key": { + "type": "securestring", + "metadata": { + "description": "Default storage account Key. Storage account that contains output parameters and common scripts" + } + }, + "la-workspace-id": { "type": "string", "metadata": { "description": "WorkspaceId or CustomerId value of OMS. This value is referenced in OMS VM Extension" } }, - "oms-primary-shared-key": { - "type": "string", + "la-primary-shared-key": { + "type": "securestring", "metadata": { "description": "WorkspaceKey value of OMS. This value is referenced in OMS VM Extension" } }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Storage account used to store diagnostic information" + } + }, + "storageAccount-sasToken": { + "type": "securestring", + "metadata": { + "description": "Diagnostic Storage Account SAS token" + } + }, "vnet-id": { "type": "string", "metadata": { @@ -117,7 +135,7 @@ } }, "vmapp-azone-key": { - "type": "string", + "type": "securestring", "defaultValue": "", "metadata": { "description": "" @@ -175,26 +193,6 @@ "metadata": { "description": "Indicates whether or not to encrypt the VM disks" } - }, - "encryption-secrets": { - "type": "array", - "defaultValue": [ - { - "sourceVault": { - "id": "[parameters('kv-id')]" - }, - "vaultCertificates": [ - { - "certificateUrl": "[parameters('aad-certificate-url')]", - "certificateStore": "My" - } - ] - } - ] - }, - "empty-array": { - "type": "array", - "defaultValue": [] } }, "variables": { @@ -203,22 +201,46 @@ "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-vm')]", "subnet-id": "[concat(parameters('vnet-id'), '/subnets/', parameters('default-subnet-name'))]", "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(parameters('extension-name'), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", "antimalware-extension-name": "IaaSAntimalware", "diagnostics-extension-name": "IaaSDiagnostics", "networkWatcher-extension-name": "NetworkWatcher", "encryption-extension-name": "AzureDiskEncryption", + "MMA-extension-name": "OMSExtension", + "dsc-join-to-domain-extension-name": "DSCSetupIISAndJoinDomain", "encryption-operation": "EnableEncryption", "key-encryptionAlgorithm": "RSA-OAEP", - "diagnostic-storageAccount-id": "[resourceId('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name'))]", - "wad-logs": " ", - "wad-perf-counters1": "", - "wad-perf-counters2": "", - "wad-cfgx-start": "[concat(variables('wad-logs'), variables('wad-perf-counters1'), variables('wad-perf-counters2'), '", - "asg-id": "[resourceId(parameters('vnet-resourceGroup'), 'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('asg-name'), '-asg'))]" + "asg-id": "[resourceId(parameters('vnet-resourceGroup'), 'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('asg-name'), '-asg'))]", + "encryption-secrets": [ + { + "sourceVault": { + "id": "[parameters('kv-id')]" + }, + "vaultCertificates": [ + { + "certificateUrl": "[parameters('aad-certificate-url')]", + "certificateStore": "My" + } + ] + } + ], + "empty-array": [], + "tag-patching": "3rdSat7pm", + "windows-password-policies-extension-name": "PwdPolicies", + "windows-dependency-extension-name": "DependencyAgent", + "windows-dependency-extension-publisher": "Microsoft.Azure.Monitoring.DependencyAgent", + "windows-dependency-extension-type": "DependencyAgentWindows", + "windows-dependency-extension-handler-version": "9.6", + "max-password-age": 70, + "min-password-age": 1, + "min-password-length": 14, + "pwd-history-count": 24, + "pwd-min-length-config-name": "MinimumPasswordLength", + "pwd-min-age-config-name": "MinimumPasswordAge", + "pwd-not-last-24-config-name": "EnforcePasswordHistory", + "pwd-without-reversible-encryption-config-name": "StorePasswordsUsingReversibleEncryption", + "pwd-max-age-config-name": "MaximumPasswordAge", + "pwd-complexity-config-name": "PasswordMustMeetComplexityRequirements", + "web-server-with-tls-1.1-config-name": "AuditSecureProtocol" }, "resources": [ { @@ -250,34 +272,16 @@ ] } }, - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-06-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/virtualMachines", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1))]", + "tags": { + "layer": "Application", + "computerName": "[concat(parameters('extension-name'), '-vm',copyindex(1))]", + "UpdateManagement": "[variables('tag-patching')]" + }, "copy": { "name": "vmLoop", "count": "[parameters('virtualMachine-count')]" @@ -286,15 +290,14 @@ "1" ], "dependsOn": [ - "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]" ], "properties": { "osProfile": { "computerName": "[concat(parameters('extension-name'), '-vm',copyindex(1))]", "adminUsername": "[parameters('admin-username')]", "adminPassword": "[parameters('admin-password')]", - "secrets": "[if(equals(parameters('enable-encryption'), 'false'), parameters('empty-array'), parameters('encryption-secrets'))]" + "secrets": "[if(equals(parameters('enable-encryption'), 'false'), variables('empty-array'), variables('encryption-secrets'))]" }, "hardwareProfile": { "vmSize": "[parameters('virtualMachine-size')]" @@ -322,14 +325,14 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, "resources": [ { "type": "extensions", - "name": "OMSExtension", + "name": "[variables('MMA-extension-name')]", "apiVersion": "2015-06-15", "location": "[resourceGroup().location]", "dependsOn": [ @@ -341,21 +344,21 @@ "typeHandlerVersion": "1.0", "autoUpgradeMinorVersion": true, "settings": { - "workspaceId": "[parameters('oms-workspace-id')]" + "workspaceId": "[parameters('la-workspace-id')]" }, "protectedSettings": { - "workspaceKey": "[parameters('oms-primary-shared-key')]" + "workspaceKey": "[parameters('la-primary-shared-key')]" } } }, { "type": "extensions", - "name": "DSCSetupIISAndJoinDomain", + "name": "[variables('dsc-join-to-domain-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "OMSExtension" + "[variables('MMA-extension-name')]" ], "properties": { "publisher": "Microsoft.Powershell", @@ -391,7 +394,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupIISAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.Security", @@ -417,7 +420,7 @@ "apiVersion": "2017-03-30", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupIISAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.Diagnostics", @@ -425,12 +428,280 @@ "typeHandlerVersion": "1.5", "autoUpgradeMinorVersion": true, "settings": { - "xmlCfg": "[base64(concat(variables('wad-cfgx-start'), variables('wad-metrics-resource-id'), variables('virtualMachine-name-prefix'), copyindex(1), variables('wad-cfgx-end')))]", - "storageAccount": "[variables('diagnostic-storageAccount-name')]" + "StorageAccount": "[parameters('storageAccount-name')]", + "StorageType": "Blob", + "WadCfg": { + "DiagnosticMonitorConfiguration": { + "overallQuotaInMB": 5120, + "Metrics": { + "resourceId": "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "MetricAggregation": [ + { + "scheduledTransferPeriod": "PT1H" + }, + { + "scheduledTransferPeriod": "PT1M" + } + ] + }, + "DiagnosticInfrastructureLogs": { + "scheduledTransferLogLevelFilter": "Error" + }, + "PerformanceCounters": { + "scheduledTransferPeriod": "PT1M", + "PerformanceCounterConfiguration": [ + { + "counterSpecifier": "\\Processor Information(_Total)\\% Processor Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\% Privileged Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\% User Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\Processor Frequency", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Processes", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Thread Count", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Handle Count", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\System Up Time", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Context Switches/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Processor Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\% Committed Bytes In Use", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Available Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Committed Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Cache Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pool Paged Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pool Nonpaged Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pages/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Page Faults/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Working Set", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Working Set - Private", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Read Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Write Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Idle Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Read Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Write Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Transfers/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Reads/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Writes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Transfer", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Read", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Write", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Read Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Write Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Free Space", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Free Megabytes", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Total/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Sent/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Received/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Sent/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Received/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Outbound Errors", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Received Errors", + "unit": "Count", + "sampleRate": "PT60S" + } + ] + }, + "WindowsEventLog": { + "scheduledTransferPeriod": "PT1M", + "DataSource": [ + { + "name": "Application!*[System[(Level = 1 or Level = 2 or Level = 3)]]" + }, + { + "name": "Security!*[System[band(Keywords,4503599627370496)]]" + }, + { + "name": "System!*[System[(Level = 1 or Level = 2 or Level = 3)]]" + } + ] + } + } + } }, "protectedSettings": { - "storageAccountName": "[variables('diagnostic-storageAccount-name')]", - "storageAccountKey": "[listkeys(variables('diagnostic-storageAccount-id'), '2016-12-01').keys[0])", + "storageAccountName": "[parameters('storageAccount-name')]", + "storageAccountSasToken": "[parameters('storageAccount-sasToken')]", "storageAccountEndPoint": "https://core.windows.net" } } @@ -442,7 +713,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupIISAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.NetworkWatcher", @@ -451,6 +722,177 @@ "autoUpgradeMinorVersion": true } }, + { + "type": "extensions", + "name": "[variables('windows-password-policies-extension-name')]", + "apiVersion": "2017-03-30", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + ], + "properties": { + "publisher": "Microsoft.Compute", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.8", + "autoUpgradeMinorVersion": true, + "settings": { + "fileUris": [ + "[concat('https://', parameters('output-params-storage-account-name'), '.blob.core.windows.net/scripts/windows/enable-local-policy-settings.ps1')]" + ] + }, + "protectedSettings": { + "storageAccountName": "[parameters('output-params-storage-account-name')]", + "storageAccountKey": "[parameters('output-params-storage-key')]", + "commandToExecute": "[concat('powershell -ExecutionPolicy Unrestricted -File ./windows/enable-local-policy-settings.ps1 -MaxPwdAge ', variables('max-password-age'), ' -MinPwdAge ', variables('min-password-age'), ' -MinPwdLength ', variables('min-password-length'), ' -PwdHistoryCount ', variables('pwd-history-count'))]" + } + } + }, + { + "type": "extensions", + "name": "[variables('windows-dependency-extension-name')]", + "apiVersion": "2018-06-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-password-policies-extension-name')]" + ], + "properties": { + "publisher": "[variables('windows-dependency-extension-publisher')]", + "type": "[variables('windows-dependency-extension-type')]", + "typeHandlerVersion": "[variables('windows-dependency-extension-handler-version')]", + "autoUpgradeMinorVersion": true + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-min-length-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-min-length-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-min-age-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-min-age-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-not-last-24-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-not-last-24-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-without-reversible-encryption-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-without-reversible-encryption-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('web-server-with-tls-1.1-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('web-server-with-tls-1.1-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-max-age-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-max-age-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-complexity-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-complexity-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2015-05-01-preview", + "name": "AzurePolicyforWindows", + "type": "extensions", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "publisher": "Microsoft.GuestConfiguration", + "type": "ConfigurationforWindows", + "typeHandlerVersion": "1.1", + "autoUpgradeMinorVersion": true, + "settings": {}, + "protectedSettings": {} + } + }, { "type": "extensions", "name": "[variables('encryption-extension-name')]", @@ -459,7 +901,11 @@ "condition": "[equals(parameters('enable-encryption'), 'true')]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupIISAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('antimalware-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('diagnostics-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('networkWatcher-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'AzurePolicyforWindows')]" ], "properties": { "publisher": "Microsoft.Azure.Security", @@ -558,7 +1004,7 @@ "resources":[ { "type": "extensions", - "name": "DSCSetupIISAndJoinDomain", + "name": "[variables('dsc-join-to-domain-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ diff --git a/modules/vmapp-lb/1.0/azureDeploy.json b/modules/vmapp-lb/1.0/azureDeploy.json index a149bdd2f..b45a867ce 100644 --- a/modules/vmapp-lb/1.0/azureDeploy.json +++ b/modules/vmapp-lb/1.0/azureDeploy.json @@ -14,10 +14,16 @@ "description":"" } }, - "output-params-storage-account-name":{ - "type":"string", - "metadata":{ - "description":"" + "output-params-storage-account-name": { + "type": "securestring", + "metadata": { + "description": "Default storage account name. Storage account that contains output parameters and common scripts" + } + }, + "output-params-storage-key": { + "type": "securestring", + "metadata": { + "description": "Default storage account Key. Storage account that contains output parameters and common scripts" } }, "vnet-id": { @@ -71,18 +77,30 @@ "description": "Number of management VMs to be created." } }, - "oms-workspace-id": { + "la-workspace-id": { "type": "string", "metadata": { "description": "WorkspaceId or CustomerId value of OMS. This value is referenced in OMS VM Extension" } }, - "oms-primary-shared-key": { - "type": "string", + "la-primary-shared-key": { + "type": "securestring", "metadata": { "description": "WorkspaceKey value of OMS. This value is referenced in OMS VM Extension" } }, + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Storage account used to store diagnostic information" + } + }, + "storageAccount-sasToken": { + "type": "securestring", + "metadata": { + "description": "Diagnostic Storage Account SAS token" + } + }, "kv-uri":{ "type":"string", "metadata":{ @@ -183,26 +201,6 @@ "description": "Indicates whether or not to encrypt the VM disks" } }, - "encryption-secrets": { - "type": "array", - "defaultValue": [ - { - "sourceVault": { - "id": "[parameters('kv-id')]" - }, - "vaultCertificates": [ - { - "certificateUrl": "[parameters('aad-certificate-url')]", - "certificateStore": "My" - } - ] - } - ] - }, - "empty-array": { - "type": "array", - "defaultValue": [] - }, "vmapp-lb-ip-address": { "type": "string", "metadata": { @@ -218,26 +216,50 @@ "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-vm')]", "subnet-id": "[concat(parameters('vnet-id'), '/subnets/', parameters('default-subnet-name'))]", "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(parameters('extension-name'), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", "antimalware-extension-name": "IaaSAntimalware", "diagnostics-extension-name": "IaaSDiagnostics", "networkWatcher-extension-name": "NetworkWatcher", "encryption-extension-name": "AzureDiskEncryption", + "MMA-extension-name": "OMSExtension", + "dsc-join-to-domain-extension-name": "DSCSetupIISAndJoinDomain", "encryption-operation": "EnableEncryption", "key-encryptionAlgorithm": "RSA-OAEP", - "diagnostic-storageAccount-id": "[resourceId('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name'))]", - "wad-logs": " ", - "wad-perf-counters1": "", - "wad-perf-counters2": "", - "wad-cfgx-start": "[concat(variables('wad-logs'), variables('wad-perf-counters1'), variables('wad-perf-counters2'), '", "lb-ID": "[resourceId('Microsoft.Network/loadBalancers',variables('vmapp-lb-name'))]", "vmapp-frontendIP-config-id": "[concat(variables('lb-ID'),'/frontendIPConfigurations/LoadBalancerFrontEnd')]", "lb-pool-id": "[concat(variables('lb-ID'),'/backendAddressPools/', parameters('vmapp-lb-backend-pool-name'))]", "lb-probe-id": "[concat(variables('lb-ID'),'/probes/tcpProbe')]", - "asg-id": "[resourceId(parameters('vnet-resourceGroup'), 'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('asg-name'), '-asg'))]" + "asg-id": "[resourceId(parameters('vnet-resourceGroup'), 'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('asg-name'), '-asg'))]", + "encryption-secrets": [ + { + "sourceVault": { + "id": "[parameters('kv-id')]" + }, + "vaultCertificates": [ + { + "certificateUrl": "[parameters('aad-certificate-url')]", + "certificateStore": "My" + } + ] + } + ], + "empty-array": [], + "tag-patching": "3rdSat7pm", + "windows-password-policies-extension-name": "PwdPolicies", + "windows-dependency-extension-name": "DependencyAgent", + "windows-dependency-extension-publisher": "Microsoft.Azure.Monitoring.DependencyAgent", + "windows-dependency-extension-type": "DependencyAgentWindows", + "windows-dependency-extension-handler-version": "9.6", + "max-password-age": 70, + "min-password-age": 1, + "min-password-length": 14, + "pwd-history-count": 24, + "pwd-min-length-config-name": "MinimumPasswordLength", + "pwd-min-age-config-name": "MinimumPasswordAge", + "pwd-not-last-24-config-name": "EnforcePasswordHistory", + "pwd-without-reversible-encryption-config-name": "StorePasswordsUsingReversibleEncryption", + "pwd-max-age-config-name": "MaximumPasswordAge", + "pwd-complexity-config-name": "PasswordMustMeetComplexityRequirements", + "web-server-with-tls-1.1-config-name": "AuditSecureProtocol" }, "resources": [ { @@ -355,42 +377,23 @@ ] } }, - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-06-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/virtualMachines", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1))]", + "tags": { + "layer": "Application", + "computerName": "[concat(parameters('extension-name'), '-vm',copyindex(1))]", + "UpdateManagement": "[variables('tag-patching')]" + }, "copy": { "name": "vmLoop", "count": "[parameters('virtualMachine-count')]" }, "dependsOn": [ "[resourceId('Microsoft.Compute/availabilitySets', variables('availabilitySet-name'))]", - "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]" ], "properties": { "availabilitySet": { @@ -400,7 +403,7 @@ "computerName": "[concat(parameters('extension-name'), '-vm',copyindex(1))]", "adminUsername": "[parameters('admin-username')]", "adminPassword": "[parameters('admin-password')]", - "secrets": "[if(equals(parameters('enable-encryption'), bool('false')), parameters('empty-array'), parameters('encryption-secrets'))]" + "secrets": "[if(equals(parameters('enable-encryption'), bool('false')), variables('empty-array'), variables('encryption-secrets'))]" }, "hardwareProfile": { "vmSize": "[parameters('virtualMachine-size')]" @@ -428,14 +431,14 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, "resources": [ { "type": "extensions", - "name": "OMSExtension", + "name": "[variables('MMA-extension-name')]", "apiVersion": "2015-06-15", "location": "[resourceGroup().location]", "dependsOn": [ @@ -447,21 +450,21 @@ "typeHandlerVersion": "1.0", "autoUpgradeMinorVersion": true, "settings": { - "workspaceId": "[parameters('oms-workspace-id')]" + "workspaceId": "[parameters('la-workspace-id')]" }, "protectedSettings": { - "workspaceKey": "[parameters('oms-primary-shared-key')]" + "workspaceKey": "[parameters('la-primary-shared-key')]" } } }, { "type": "extensions", - "name": "DSCSetupIISAndJoinDomain", + "name": "[variables('dsc-join-to-domain-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "OMSExtension" + "[variables('MMA-extension-name')]" ], "properties": { "publisher": "Microsoft.Powershell", @@ -497,7 +500,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupIISAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.Security", @@ -523,7 +526,7 @@ "apiVersion": "2017-03-30", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupIISAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.Diagnostics", @@ -531,12 +534,280 @@ "typeHandlerVersion": "1.5", "autoUpgradeMinorVersion": true, "settings": { - "xmlCfg": "[base64(concat(variables('wad-cfgx-start'), variables('wad-metrics-resource-id'), variables('virtualMachine-name-prefix'), copyindex(1), variables('wad-cfgx-end')))]", - "storageAccount": "[variables('diagnostic-storageAccount-name')]" + "StorageAccount": "[parameters('storageAccount-name')]", + "StorageType": "Blob", + "WadCfg": { + "DiagnosticMonitorConfiguration": { + "overallQuotaInMB": 5120, + "Metrics": { + "resourceId": "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "MetricAggregation": [ + { + "scheduledTransferPeriod": "PT1H" + }, + { + "scheduledTransferPeriod": "PT1M" + } + ] + }, + "DiagnosticInfrastructureLogs": { + "scheduledTransferLogLevelFilter": "Error" + }, + "PerformanceCounters": { + "scheduledTransferPeriod": "PT1M", + "PerformanceCounterConfiguration": [ + { + "counterSpecifier": "\\Processor Information(_Total)\\% Processor Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\% Privileged Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\% User Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\Processor Frequency", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Processes", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Thread Count", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Handle Count", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\System Up Time", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Context Switches/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Processor Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\% Committed Bytes In Use", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Available Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Committed Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Cache Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pool Paged Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pool Nonpaged Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pages/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Page Faults/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Working Set", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Working Set - Private", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Read Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Write Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Idle Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Read Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Write Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Transfers/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Reads/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Writes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Transfer", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Read", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Write", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Read Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Write Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Free Space", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Free Megabytes", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Total/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Sent/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Received/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Sent/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Received/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Outbound Errors", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Received Errors", + "unit": "Count", + "sampleRate": "PT60S" + } + ] + }, + "WindowsEventLog": { + "scheduledTransferPeriod": "PT1M", + "DataSource": [ + { + "name": "Application!*[System[(Level = 1 or Level = 2 or Level = 3)]]" + }, + { + "name": "Security!*[System[band(Keywords,4503599627370496)]]" + }, + { + "name": "System!*[System[(Level = 1 or Level = 2 or Level = 3)]]" + } + ] + } + } + } }, "protectedSettings": { - "storageAccountName": "[variables('diagnostic-storageAccount-name')]", - "storageAccountKey": "[listkeys(variables('diagnostic-storageAccount-id'), '2016-12-01').keys[0])", + "storageAccountName": "[parameters('storageAccount-name')]", + "storageAccountSasToken": "[parameters('storageAccount-sasToken')]", "storageAccountEndPoint": "https://core.windows.net" } } @@ -548,7 +819,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupIISAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.NetworkWatcher", @@ -557,6 +828,177 @@ "autoUpgradeMinorVersion": true } }, + { + "type": "extensions", + "name": "[variables('windows-password-policies-extension-name')]", + "apiVersion": "2017-03-30", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + ], + "properties": { + "publisher": "Microsoft.Compute", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.8", + "autoUpgradeMinorVersion": true, + "settings": { + "fileUris": [ + "[concat('https://', parameters('output-params-storage-account-name'), '.blob.core.windows.net/scripts/windows/enable-local-policy-settings.ps1')]" + ] + }, + "protectedSettings": { + "storageAccountName": "[parameters('output-params-storage-account-name')]", + "storageAccountKey": "[parameters('output-params-storage-key')]", + "commandToExecute": "[concat('powershell -ExecutionPolicy Unrestricted -File ./windows/enable-local-policy-settings.ps1 -MaxPwdAge ', variables('max-password-age'), ' -MinPwdAge ', variables('min-password-age'), ' -MinPwdLength ', variables('min-password-length'), ' -PwdHistoryCount ', variables('pwd-history-count'))]" + } + } + }, + { + "type": "extensions", + "name": "[variables('windows-dependency-extension-name')]", + "apiVersion": "2018-06-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-password-policies-extension-name')]" + ], + "properties": { + "publisher": "[variables('windows-dependency-extension-publisher')]", + "type": "[variables('windows-dependency-extension-type')]", + "typeHandlerVersion": "[variables('windows-dependency-extension-handler-version')]", + "autoUpgradeMinorVersion": true + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-min-length-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-min-length-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-min-age-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-min-age-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-not-last-24-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-not-last-24-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-without-reversible-encryption-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-without-reversible-encryption-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('web-server-with-tls-1.1-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('web-server-with-tls-1.1-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-max-age-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-max-age-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-complexity-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-complexity-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2015-05-01-preview", + "name": "AzurePolicyforWindows", + "type": "extensions", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "publisher": "Microsoft.GuestConfiguration", + "type": "ConfigurationforWindows", + "typeHandlerVersion": "1.1", + "autoUpgradeMinorVersion": true, + "settings": {}, + "protectedSettings": {} + } + }, { "type": "extensions", "name": "[variables('encryption-extension-name')]", @@ -565,7 +1007,11 @@ "condition": "[equals(parameters('enable-encryption'), bool('true'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupIISAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('antimalware-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('diagnostics-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('networkWatcher-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'AzurePolicyforWindows')]" ], "properties": { "publisher": "Microsoft.Azure.Security", diff --git a/modules/vmapp/1.0/azureDeploy.json b/modules/vmapp/1.0/azureDeploy.json index 861ce0c08..be882f9b5 100644 --- a/modules/vmapp/1.0/azureDeploy.json +++ b/modules/vmapp/1.0/azureDeploy.json @@ -5,19 +5,25 @@ "deployment-prefix": { "type": "string", "metadata": { - "description": "" - } + "description": "" + } }, - "sas-key":{ - "type":"string", - "metadata":{ - "description":"" + "sas-key": { + "type": "securestring", + "metadata": { + "description": "" + } + }, + "output-params-storage-account-name": { + "type": "securestring", + "metadata": { + "description": "Default storage account name. Storage account that contains output parameters and common scripts" } }, - "output-params-storage-account-name":{ - "type":"string", - "metadata":{ - "description":"" + "output-params-storage-key": { + "type": "securestring", + "metadata": { + "description": "Default storage account Key. Storage account that contains output parameters and common scripts" } }, "vnet-id": { @@ -71,22 +77,34 @@ "description": "Number of management VMs to be created." } }, - "oms-workspace-id": { + "la-workspace-id": { "type": "string", "metadata": { "description": "WorkspaceId or CustomerId value of OMS. This value is referenced in OMS VM Extension" } }, - "oms-primary-shared-key": { - "type": "string", + "la-primary-shared-key": { + "type": "securestring", "metadata": { "description": "WorkspaceKey value of OMS. This value is referenced in OMS VM Extension" } }, - "kv-uri":{ - "type":"string", - "metadata":{ - "description":"Region used when establishing the workspace." + "storageAccount-name": { + "type": "string", + "metadata": { + "description": "Storage account used to store diagnostic information" + } + }, + "storageAccount-sasToken": { + "type": "securestring", + "metadata": { + "description": "Diagnostic Storage Account SAS token" + } + }, + "kv-uri": { + "type": "string", + "metadata": { + "description": "Region used when establishing the workspace." } }, "kv-id": { @@ -95,40 +113,39 @@ "description": "KeyVault resource id. Eg: /subscriptions/subscriptionid/resourceGroups/contosorg/providers/Microsoft.KeyVault/vaults/contosovault" } }, - "aad-principal-id":{ - "type":"string", + "aad-principal-id": { + "type": "string", "defaultValue": "", - "metadata":{ - "description":"Region used when establishing the workspace." + "metadata": { + "description": "Region used when establishing the workspace." } }, - "aad-certificate-thumb":{ - "type":"string", + "aad-certificate-thumb": { + "type": "string", "defaultValue": "", - "metadata":{ - "description":"Region used when establishing the workspace." + "metadata": { + "description": "Region used when establishing the workspace." } }, - "aad-certificate-url":{ - "type":"string", + "aad-certificate-url": { + "type": "string", "defaultValue": "", - "metadata":{ - "description":"Region used when establishing the workspace." + "metadata": { + "description": "Region used when establishing the workspace." } }, "vmapp-key": { - "type": "string", + "type": "securestring", "defaultValue": "", "metadata": { - "description": "" - } + "description": "" + } }, "os-type": { "type": "string", "defaultValue": "Windows", "allowedValues": [ - "Windows", - "Linux" + "Windows" ], "metadata": { "description": "OS platform of the management VM image." @@ -167,34 +184,14 @@ "vmapp-start-ip-address": { "type": "string", "metadata": { - "description": "Specifies the start IP of the VM" - } - }, + "description": "Specifies the start IP of the VM" + } + }, "enable-encryption": { "type": "string", "metadata": { "description": "Indicates whether or not to encrypt the VM disks" } - }, - "encryption-secrets": { - "type": "array", - "defaultValue": [ - { - "sourceVault": { - "id": "[parameters('kv-id')]" - }, - "vaultCertificates": [ - { - "certificateUrl": "[parameters('aad-certificate-url')]", - "certificateStore": "My" - } - ] - } - ] - }, - "empty-array": { - "type": "array", - "defaultValue": [] } }, "variables": { @@ -204,22 +201,46 @@ "virtualMachine-name-prefix": "[concat(variables('resource-prefix'), '-vm')]", "subnet-id": "[concat(parameters('vnet-id'), '/subnets/', parameters('default-subnet-name'))]", "uniqueString": "[uniqueString(subscription().id, resourceGroup().id)]", - "diagnostic-storageAccount-prefix": "[concat(parameters('extension-name'), 'diag')]", - "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables('diagnostic-storageAccount-prefix'), variables('uniqueString'), variables('uniqueString')), '-', ''), 0, 23) )]", "antimalware-extension-name": "IaaSAntimalware", "diagnostics-extension-name": "IaaSDiagnostics", "networkWatcher-extension-name": "NetworkWatcher", "encryption-extension-name": "AzureDiskEncryption", + "MMA-extension-name": "OMSExtension", + "dsc-join-to-domain-extension-name": "DSCSetupIISAndJoinDomain", "encryption-operation": "EnableEncryption", "key-encryptionAlgorithm": "RSA-OAEP", - "diagnostic-storageAccount-id": "[resourceId('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name'))]", - "wad-logs": " ", - "wad-perf-counters1": "", - "wad-perf-counters2": "", - "wad-cfgx-start": "[concat(variables('wad-logs'), variables('wad-perf-counters1'), variables('wad-perf-counters2'), '", - "asg-id": "[resourceId(parameters('vnet-resourceGroup'), 'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('asg-name'), '-asg'))]" + "asg-id": "[resourceId(parameters('vnet-resourceGroup'), 'Microsoft.Network/applicationSecurityGroups', concat(parameters('deployment-prefix'), '-', parameters('asg-name'), '-asg'))]", + "encryption-secrets": [ + { + "sourceVault": { + "id": "[parameters('kv-id')]" + }, + "vaultCertificates": [ + { + "certificateUrl": "[parameters('aad-certificate-url')]", + "certificateStore": "My" + } + ] + } + ], + "empty-array": [], + "tag-patching": "3rdSat7pm", + "windows-password-policies-extension-name": "PwdPolicies", + "windows-dependency-extension-name": "DependencyAgent", + "windows-dependency-extension-publisher": "Microsoft.Azure.Monitoring.DependencyAgent", + "windows-dependency-extension-type": "DependencyAgentWindows", + "windows-dependency-extension-handler-version": "9.6", + "max-password-age": 70, + "min-password-age": 1, + "min-password-length": 14, + "pwd-history-count": 24, + "pwd-min-length-config-name": "MinimumPasswordLength", + "pwd-min-age-config-name": "MinimumPasswordAge", + "pwd-not-last-24-config-name": "EnforcePasswordHistory", + "pwd-without-reversible-encryption-config-name": "StorePasswordsUsingReversibleEncryption", + "pwd-max-age-config-name": "MaximumPasswordAge", + "pwd-complexity-config-name": "PasswordMustMeetComplexityRequirements", + "web-server-with-tls-1.1-config-name": "AuditSecureProtocol" }, "resources": [ { @@ -265,42 +286,23 @@ ] } }, - { - "type": "Microsoft.Storage/storageAccounts", - "name": "[variables('diagnostic-storageAccount-name')]", - "apiVersion": "2017-06-01", - "location": "[resourceGroup().location]", - "sku": { - "name": "Standard_LRS" - }, - "kind": "Storage", - "tags": { - "displayName": "Management Diagnostic Storage Account" - }, - "properties": { - "encryption": { - "keySource": "Microsoft.Storage", - "services": { - "blob": { - "enabled": true - } - } - } - } - }, { "type": "Microsoft.Compute/virtualMachines", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1))]", + "tags": { + "layer": "Application", + "computerName": "[concat(parameters('extension-name'), '-vm',copyindex(1))]", + "UpdateManagement": "[variables('tag-patching')]" + }, "copy": { "name": "vmLoop", "count": "[parameters('virtualMachine-count')]" }, "dependsOn": [ "[resourceId('Microsoft.Compute/availabilitySets', variables('availabilitySet-name'))]", - "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]", - "[resourceId('Microsoft.Storage/storageAccounts',variables('diagnostic-storageAccount-name'))]" + "[resourceId('Microsoft.Network/networkInterfaces', concat(variables('virtualMachine-name-prefix'), copyindex(1), '-nic'))]" ], "properties": { "availabilitySet": { @@ -310,7 +312,7 @@ "computerName": "[concat(parameters('extension-name'), '-vm',copyindex(1))]", "adminUsername": "[parameters('admin-username')]", "adminPassword": "[parameters('admin-password')]", - "secrets": "[if(equals(parameters('enable-encryption'), 'false'), parameters('empty-array'), parameters('encryption-secrets'))]" + "secrets": "[if(equals(parameters('enable-encryption'), 'false'), variables('empty-array'), variables('encryption-secrets'))]" }, "hardwareProfile": { "vmSize": "[parameters('virtualMachine-size')]" @@ -323,7 +325,7 @@ "version": "latest" }, "osDisk": { - "name": "[replace(toLower(substring(concat(variables('virtualMachine-name-prefix'), copyindex(1), '-osdisk', '-', replace(concat(variables('uniqueString'), variables('uniqueString')), '-', '')), 0, 40)), '-', '')]", + "name": "[replace(toLower(substring(concat(variables('virtualMachine-name-prefix'), copyindex(1), '-osdisk', '-', replace(concat(variables('uniqueString'), variables('uniqueString')), '-', '')), 0, 40)), '-', '')]", "osType": "[parameters('os-type')]", "createOption": "FromImage" } @@ -338,41 +340,40 @@ "diagnosticsProfile": { "bootDiagnostics": { "enabled": true, - "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnostic-storageAccount-name')), '2016-12-01').primaryEndpoints.blob)]" + "storageUri": "[concat('https://', parameters('storageAccount-name'), '.blob.core.windows.net/')]" } } }, "resources": [ { "type": "extensions", - "name": "OMSExtension", + "name": "[variables('MMA-extension-name')]", "apiVersion": "2015-06-15", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" ], "properties": { - "publisher": "Microsoft.EnterpriseCloud.Monitoring", - "type": "MicrosoftMonitoringAgent", - "typeHandlerVersion": "1.0", - "autoUpgradeMinorVersion": true, - "settings": { - "workspaceId": "[parameters('oms-workspace-id')]" - }, - "protectedSettings": { - "workspaceKey": "[parameters('oms-primary-shared-key')]" - } + "publisher": "Microsoft.EnterpriseCloud.Monitoring", + "type": "MicrosoftMonitoringAgent", + "typeHandlerVersion": "1.0", + "autoUpgradeMinorVersion": true, + "settings": { + "workspaceId": "[parameters('la-workspace-id')]" + }, + "protectedSettings": { + "workspaceKey": "[parameters('la-primary-shared-key')]" + } } }, { "type": "extensions", - "name": "DSCSetupIISAndJoinDomain", + "name": "[variables('dsc-join-to-domain-extension-name')]", "apiVersion": "2017-03-30", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "OMSExtension" - + "[variables('MMA-extension-name')]" ], "properties": { "publisher": "Microsoft.Powershell", @@ -390,7 +391,7 @@ "ServerName": "[concat(parameters('extension-name'), '-vm',copyindex(1))]" } }, - "protectedSettings": { + "protectedSettings": { "configurationUrlSasToken": "[variables('configuration-url-sasToken')]", "configurationArguments": { "AdminCreds": { @@ -408,7 +409,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupIISAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.Security", @@ -434,7 +435,7 @@ "apiVersion": "2017-03-30", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupIISAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.Diagnostics", @@ -442,12 +443,280 @@ "typeHandlerVersion": "1.5", "autoUpgradeMinorVersion": true, "settings": { - "xmlCfg": "[base64(concat(variables('wad-cfgx-start'), variables('wad-metrics-resource-id'), variables('virtualMachine-name-prefix'), copyindex(1), variables('wad-cfgx-end')))]", - "storageAccount": "[variables('diagnostic-storageAccount-name')]" + "StorageAccount": "[parameters('storageAccount-name')]", + "StorageType": "Blob", + "WadCfg": { + "DiagnosticMonitorConfiguration": { + "overallQuotaInMB": 5120, + "Metrics": { + "resourceId": "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "MetricAggregation": [ + { + "scheduledTransferPeriod": "PT1H" + }, + { + "scheduledTransferPeriod": "PT1M" + } + ] + }, + "DiagnosticInfrastructureLogs": { + "scheduledTransferLogLevelFilter": "Error" + }, + "PerformanceCounters": { + "scheduledTransferPeriod": "PT1M", + "PerformanceCounterConfiguration": [ + { + "counterSpecifier": "\\Processor Information(_Total)\\% Processor Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\% Privileged Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\% User Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Processor Information(_Total)\\Processor Frequency", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Processes", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Thread Count", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Handle Count", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\System Up Time", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Context Switches/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\System\\Processor Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\% Committed Bytes In Use", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Available Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Committed Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Cache Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pool Paged Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pool Nonpaged Bytes", + "unit": "Bytes", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Pages/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Memory\\Page Faults/sec", + "unit": "CountPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Working Set", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Process(_Total)\\Working Set - Private", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Read Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Disk Write Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Idle Time", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Read Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Write Bytes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Transfers/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Reads/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Disk Writes/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Transfer", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Read", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk sec/Write", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Read Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Avg. Disk Write Queue Length", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\% Free Space", + "unit": "Percent", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\LogicalDisk(_Total)\\Free Megabytes", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Total/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Sent/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Bytes Received/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Sent/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Received/sec", + "unit": "BytesPerSecond", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Outbound Errors", + "unit": "Count", + "sampleRate": "PT60S" + }, + { + "counterSpecifier": "\\Network Interface(*)\\Packets Received Errors", + "unit": "Count", + "sampleRate": "PT60S" + } + ] + }, + "WindowsEventLog": { + "scheduledTransferPeriod": "PT1M", + "DataSource": [ + { + "name": "Application!*[System[(Level = 1 or Level = 2 or Level = 3)]]" + }, + { + "name": "Security!*[System[band(Keywords,4503599627370496)]]" + }, + { + "name": "System!*[System[(Level = 1 or Level = 2 or Level = 3)]]" + } + ] + } + } + } }, "protectedSettings": { - "storageAccountName": "[variables('diagnostic-storageAccount-name')]", - "storageAccountKey": "[listkeys(variables('diagnostic-storageAccount-id'), '2016-12-01').keys[0])", + "storageAccountName": "[parameters('storageAccount-name')]", + "storageAccountSasToken": "[parameters('storageAccount-sasToken')]", "storageAccountEndPoint": "https://core.windows.net" } } @@ -459,7 +728,7 @@ "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupIISAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]" ], "properties": { "publisher": "Microsoft.Azure.NetworkWatcher", @@ -468,6 +737,177 @@ "autoUpgradeMinorVersion": true } }, + { + "type": "extensions", + "name": "[variables('windows-password-policies-extension-name')]", + "apiVersion": "2017-03-30", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]" + ], + "properties": { + "publisher": "Microsoft.Compute", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.8", + "autoUpgradeMinorVersion": true, + "settings": { + "fileUris": [ + "[concat('https://', parameters('output-params-storage-account-name'), '.blob.core.windows.net/scripts/windows/enable-local-policy-settings.ps1')]" + ] + }, + "protectedSettings": { + "storageAccountName": "[parameters('output-params-storage-account-name')]", + "storageAccountKey": "[parameters('output-params-storage-key')]", + "commandToExecute": "[concat('powershell -ExecutionPolicy Unrestricted -File ./windows/enable-local-policy-settings.ps1 -MaxPwdAge ', variables('max-password-age'), ' -MinPwdAge ', variables('min-password-age'), ' -MinPwdLength ', variables('min-password-length'), ' -PwdHistoryCount ', variables('pwd-history-count'))]" + } + } + }, + { + "type": "extensions", + "name": "[variables('windows-dependency-extension-name')]", + "apiVersion": "2018-06-01", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-password-policies-extension-name')]" + ], + "properties": { + "publisher": "[variables('windows-dependency-extension-publisher')]", + "type": "[variables('windows-dependency-extension-type')]", + "typeHandlerVersion": "[variables('windows-dependency-extension-handler-version')]", + "autoUpgradeMinorVersion": true + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-min-length-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-min-length-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-min-age-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-min-age-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-not-last-24-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-not-last-24-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-without-reversible-encryption-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-without-reversible-encryption-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('web-server-with-tls-1.1-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('web-server-with-tls-1.1-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-max-age-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-max-age-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2018-06-30-preview", + "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", + "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1), '/Microsoft.GuestConfiguration/', variables('pwd-complexity-config-name'))]", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "guestConfiguration": { + "name": "[variables('pwd-complexity-config-name')]", + "version": "1.*" + } + } + }, + { + "apiVersion": "2015-05-01-preview", + "name": "AzurePolicyforWindows", + "type": "extensions", + "location": "[resourceGroup().location]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", + "[variables('windows-dependency-extension-name')]" + ], + "properties": { + "publisher": "Microsoft.GuestConfiguration", + "type": "ConfigurationforWindows", + "typeHandlerVersion": "1.1", + "autoUpgradeMinorVersion": true, + "settings": {}, + "protectedSettings": {} + } + }, { "type": "extensions", "name": "[variables('encryption-extension-name')]", @@ -476,7 +916,11 @@ "condition": "[equals(parameters('enable-encryption'), 'true')]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines', concat(variables('virtualMachine-name-prefix'), copyindex(1)))]", - "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'DSCSetupIISAndJoinDomain')]" + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('antimalware-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('diagnostics-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('networkWatcher-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), variables('dsc-join-to-domain-extension-name'))]", + "[resourceId('Microsoft.Compute/virtualMachines/extensions', concat(variables('virtualMachine-name-prefix'), copyindex(1)), 'AzurePolicyforWindows')]" ], "properties": { "publisher": "Microsoft.Azure.Security", @@ -572,7 +1016,7 @@ "type": "Microsoft.Compute/virtualMachines", "name": "[concat(variables('virtualMachine-name-prefix'), copyindex(1))]", "location": "[resourceGroup().location]", - "resources":[ + "resources": [ { "type": "extensions", "name": "DSCSetupIISAndJoinDomain", @@ -593,7 +1037,7 @@ "function": "IISASPNET" } }, - "protectedSettings": { + "protectedSettings": { "configurationUrlSasToken": "[variables('configuration-url-sasToken')]" } } @@ -606,8 +1050,7 @@ } } ], - - "functions":[ + "functions": [ { "namespace": "vdc", "members": { @@ -639,7 +1082,7 @@ "value": "[split(parameters('initialIP'), '.')]" } }, - "removeAddressRange":{ + "removeAddressRange": { "parameters": [ { "name": "ip", diff --git a/modules/workload-net/1.0/azureDeploy.json b/modules/workload-net/1.0/azureDeploy.json index 21c1e4ac4..c9f556c7f 100644 --- a/modules/workload-net/1.0/azureDeploy.json +++ b/modules/workload-net/1.0/azureDeploy.json @@ -40,7 +40,7 @@ }, "enable-ddos-protection": { "type": "bool", - "defaultValue": true, + "defaultValue": false, "metadata": { "description": "Determines whether or not DDoS Protection is enabled in the VNET" } @@ -68,24 +68,6 @@ "metadata": { "description": "" } - }, - "deploy-azure-firewall-networkRules-collection": { - "type": "bool", - "metadata": { - "description": "" - } - }, - "azure-firewall-networkRules-collection": { - "type": "array", - "metadata": { - "description": "" - } - }, - "shared-services-gateway-udr": { - "type": "array", - "metadata": { - "description": "" - } } }, "variables": { diff --git a/modules/workload-net/1.0/azureDeploy.parameters.json b/modules/workload-net/1.0/azureDeploy.parameters.json index f13eddb6d..9dde31429 100644 --- a/modules/workload-net/1.0/azureDeploy.parameters.json +++ b/modules/workload-net/1.0/azureDeploy.parameters.json @@ -29,85 +29,7 @@ "shared-services-vnet-name": { "value": "${shared-services.network.name}" }, - "shared-services-gateway-udr-name": { - "value": "${shared-services.network.virtual-gateway.gateway-udr-name}" - }, - "shared-services-azure-firewall-ip-address": { - "value": "${shared-services.network.network-virtual-appliance.egress-ip}" - }, - "shared-services-azure-firewall-name": { - "value": "${shared-services.network.network-virtual-appliance.azure-firewall.name}" - }, - "on-premises-allow-rdp-address-range": { - "value": "${on-premises.allow-rdp-address-range}" - }, - "on-premises-address-range": { - "value": "${on-premises.network.address-prefix}" - }, - "deploy-azure-firewall-networkRules-collection": { - "value": false - }, - "shared-services-gateway-udr": { - "value": [ - { - "name": "to-workload-${workload.deployment-name}", - "properties": { - "addressPrefix": "${workload.network.subnets[0].address-prefix}", - "nextHopType": "VnetLocal" - } - } - ] - }, - "azure-firewall-networkRules-collection": { - "value": [ - { - "name": "[concat('allow-onprem-rdp-' , parameters('deployment-name'))]", - "properties": { - "priority": 210, - "action": { "type": "Allow"}, - "rules": [ - { - "name": "allow-onprem-rdp", - "protocols": ["TCP"], - "sourceAddresses": ["${on-premises.allow-rdp-address-range}"], - "destinationAddresses": ["${workload.network.address-prefix}"], - "destinationPorts": ["3389"] - } - ] - } - }, - { - "name": "allow-onprem-http-${workload.deployment-name}", - "properties": { - "priority": 220, - "action": { "type": "Allow"}, - "rules": [ - { - "name": "allow-onprem-http", - "protocols": ["TCP"], - "sourceAddresses": ["${on-premises.network.address-prefix}"], - "destinationAddresses": ["${workload.network.address-prefix}"], - "destinationPorts": ["80", "443"] - } - ] - } - }, - { - "name": "deny-onprem-default-${workload.deployment-name}", - "properties": { - "priority": 230, - "action": { "type": "Deny"}, - "rules": [ - { - "name": "deny-onprem-default", - "protocols": ["TCP"], - "sourceAddresses": ["${on-premises.network.address-prefix}"], - "destinationAddresses": ["${workload.network.address-prefix}"], - "destinationPorts": ["*"] - } - ] - } - } - ] + "enable-ddos-protection": { + "value": "${workload.network.enable-ddos-protection}" } } \ No newline at end of file diff --git a/orchestration/models/resource_module.py b/orchestration/models/resource_module.py index e06087671..6c0f094e9 100644 --- a/orchestration/models/resource_module.py +++ b/orchestration/models/resource_module.py @@ -46,6 +46,10 @@ def __init__( if 'source' in module: self._source = ResourceSource(module['source']) + else: + # Let's create a default source object + self._source = ResourceSource().create_default() + if 'dependencies' in module: self._dependencies = module['dependencies'] @@ -63,14 +67,15 @@ def create_default( class ResourceSource(object): def __init__( self, - source: dict): + source: dict = None): self._version = None self._template_path = None self._parameters_path = None self._policy_path = None - if source is not None: + if source is not None and\ + type(source) is dict: if 'version' in source: self._version = source['version'] @@ -82,4 +87,10 @@ def __init__( if 'policy-path' in source: self._policy_path = source['policy-path'] - \ No newline at end of file + + def create_default( + self): + + return ResourceSource(dict({ + 'version': 'latest' + })) \ No newline at end of file diff --git a/orchestration/resource_deployment.py b/orchestration/resource_deployment.py index 2df3f98d7..a395c3c6a 100644 --- a/orchestration/resource_deployment.py +++ b/orchestration/resource_deployment.py @@ -215,7 +215,8 @@ def create(self) -> list: # If validation process invoked the module deployment, then validation_mode_on will be True. # If true, do not create policies at the subscription level - if not self._validation_mode_on: + if not self._validation_mode_on and \ + not self._from_integration_test: self._logger.info('***** creating policies at subscription level *****') # Create and assign subscription policies @@ -337,7 +338,6 @@ def _deploy( # If module is of type Bash or Powershell, # execute custom script if module_found is not None and\ - module_found._type != '' and\ module_found._type is not None: self._logger\ @@ -477,45 +477,35 @@ def _deploy_initial( .info('***** creating policies for module: {} *****'.format( module_to_deploy)) - # Let's apply policies at the resource group level - self.create_policies( - all_modules=all_modules, - module_name=module_to_deploy, - resource_group_name=resource_group_to_deploy, - is_subscription_policy=False) + if not self._from_integration_test: + # Let's apply policies at the resource group level + self.create_policies( + all_modules=all_modules, + module_name=module_to_deploy, + resource_group_name=resource_group_to_deploy, + is_subscription_policy=False) - self._logger.info('***** policy creation completed successfully *****') + self._logger.info('***** policy creation completed successfully *****') self._logger.info('***** executing {} module deployment *****'.format( module_to_deploy.upper())) - deployment_name = '{}-deployment-{}'.format( - self._deployment_prefix, - module_to_deploy) - # If we are not running integration tests, then let's # create unique deployment names if not self._from_integration_test: - - current_milliseconds = \ - helper.get_current_time_milli() - - milliseconds_length = \ - len(str(current_milliseconds)) - - # Max length is 60 chars - deployment_name_max_length = \ - 60 - milliseconds_length + import uuid + deployment_name = str(uuid.uuid4()) + else: + deployment_name = \ + '{}-deployment-{}'.format( + self._deployment_prefix, + module_to_deploy) + deployment_name_max_length = 50 if len(deployment_name) > deployment_name_max_length: - # We do -1 to accomodate the hyphen character deployment_name = \ - deployment_name[:deployment_name_max_length - 1] - - deployment_name = '{}-{}'.format( - deployment_name, - current_milliseconds) - + deployment_name[:deployment_name_max_length] + # Execute the deployment deployment_result = \ self._resource_management_integration_service\ @@ -608,7 +598,9 @@ def _get_resource_group_name( self.create_default_resource_group_name( dependent_module_found._module) elif module_found is not None and \ - not module_found._create_resource_group: + not module_found._create_resource_group and\ + module_found._dependencies is not None and\ + len(module_found._dependencies) > 0: # Let's use the resource group name of the first dependency found. # This is the case when the resource specifies create-resource-group = false. diff --git a/orchestration/resource_validation.py b/orchestration/resource_validation.py index 163c7686b..8082f5ee7 100644 --- a/orchestration/resource_validation.py +++ b/orchestration/resource_validation.py @@ -413,6 +413,29 @@ def _deploy_initial( self._logger\ .info('parameters and deployment files successfully loaded') + deployment_name = '{}-deployment-{}'.format( + self._deployment_prefix, + module_to_deploy) + + current_milliseconds = \ + helper.get_current_time_milli() + + milliseconds_length = \ + len(str(current_milliseconds)) + + # Max length is 60 chars + deployment_name_max_length = \ + 60 - milliseconds_length + + if len(deployment_name) > deployment_name_max_length: + # We do -1 to accomodate the hyphen character + deployment_name = \ + deployment_name[:deployment_name_max_length - 1] + + deployment_name = '{}-{}'.format( + deployment_name, + current_milliseconds) + # Execute the deployment self._resource_management_integration_service\ .validate_deployment( @@ -420,9 +443,7 @@ def _deploy_initial( template=template_file, parameters=parameters_file, resource_group_name=resource_group_to_deploy, - deployment_name='{}-deployment-{}'.format( - self._deployment_prefix, - module_to_deploy)) + deployment_name=deployment_name) # Save output paramaters to Azure storage so that dependent modules can read it self._logger.info('***** module deployment validation completed successfully *****') diff --git a/scripts/aks/create-and-upload-ca-cert.sh b/scripts/aks/create-and-upload-ca-cert.sh old mode 100644 new mode 100755 diff --git a/scripts/aks/create-and-upload-helm-and-tiller-certs.sh b/scripts/aks/create-and-upload-helm-and-tiller-certs.sh old mode 100644 new mode 100755 diff --git a/scripts/aks/create-cluster-rbac-role-bindings.sh b/scripts/aks/create-cluster-rbac-role-bindings.sh old mode 100644 new mode 100755 diff --git a/scripts/aks/create-sign-w-x509-and-upload-cert.sh b/scripts/aks/create-sign-w-x509-and-upload-cert.sh old mode 100644 new mode 100755 diff --git a/scripts/aks/create-tiller-enabled-namespace.sh b/scripts/aks/create-tiller-enabled-namespace.sh old mode 100644 new mode 100755 diff --git a/scripts/aks/install-kubectl.sh b/scripts/aks/install-kubectl.sh old mode 100644 new mode 100755 diff --git a/scripts/aks/install-secured-tiller-instance.sh b/scripts/aks/install-secured-tiller-instance.sh old mode 100644 new mode 100755 diff --git a/scripts/windows/enable-local-policy-settings.ps1 b/scripts/windows/enable-local-policy-settings.ps1 new file mode 100644 index 000000000..13a59aa89 --- /dev/null +++ b/scripts/windows/enable-local-policy-settings.ps1 @@ -0,0 +1,17 @@ +param( + [Parameter(Mandatory = $True)] + [Int]$MaxPwdAge, + + [Parameter(Mandatory = $True)] + [Int]$MinPwdAge, + + [Parameter(Mandatory = $True)] + [Int]$MinPwdLength, + + [Parameter(Mandatory = $True)] + [Int]$PwdHistoryCount +) +net accounts /minpwlen:$MinPwdLength +net accounts /maxpwage:$MaxPwdAge +net accounts /minpwage:$MinPwdAge +net accounts /uniquepw:$PwdHistoryCount \ No newline at end of file diff --git a/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_a_workload_log_analytics_creation.yaml b/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_a_workload_log_analytics_creation.yaml deleted file mode 100644 index 60e08d393..000000000 --- a/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_a_workload_log_analytics_creation.yaml +++ /dev/null @@ -1,808 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vdc-storage-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 19:38:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"sku": {"name": "Standard_LRS"}, "kind": "BlobStorage", "location": "Central - US", "properties": {"encryption": {"services": {"blob": {"enabled": true}}, - "keySource": "Microsoft.Storage"}, "accessTier": "Cool", "supportsHttpsTrafficOnly": - true, "isHnsEnabled": false}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['268'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage?api-version=2018-02-01 - response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"BlobStorage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage","name":"storage","type":"Microsoft.Storage/storageAccounts","location":"centralus","tags":{},"properties":{"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2019-01-12T06:05:37.8777624Z"},"blob":{"enabled":true,"lastEnabledTime":"2019-01-12T06:05:37.8777624Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Cool","provisioningState":"Succeeded","creationTime":"2019-01-12T06:05:37.7684284Z","primaryEndpoints":{"dfs":"https://storage.dfs.core.windows.net/","blob":"https://storage.blob.core.windows.net/","table":"https://storage.table.core.windows.net/"},"primaryLocation":"centralus","statusOfPrimary":"available"}}'} - headers: - cache-control: [no-cache] - content-length: ['1024'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:38:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:38:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:40:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-la-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 19:40:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "SharedServicesOpsPermittedResourceTypes", - "description": "Policy to prevent the creation of unauthorized resource types - within the resource group.", "policyRule": {"if": {"not": {"field": "type", - "in": ["Microsoft.OperationalInsights/workspaces", "Microsoft.Network/networkWatchers"]}}, - "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['382'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"SharedServicesOpsPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.OperationalInsights/workspaces","Microsoft.Network/networkWatchers"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"SharedServicesOpsPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:40:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "SharedServicesOpsPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes"}, - "name": "SharedServicesOpsPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['294'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesOpsPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"SharedServicesOpsPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesOpsPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"SharedServicesOpsPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['650'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:40:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "denyPublicIP", "description": "Policy to - prevent the creation of public ip resources", "policyRule": {"if": {"field": - "type", "in": ["Microsoft.Network/publicIPAddresses"]}, "then": {"effect": "audit"}}, - "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['269'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"denyPublicIP","policyType":"Custom","description":"Policy - to prevent the creation of public ip resources","metadata":{"category":"VDC"},"policyRule":{"if":{"field":"type","in":["Microsoft.Network/publicIPAddresses"]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","type":"Microsoft.Authorization/policyDefinitions","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['472'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:40:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "denyPublicIP", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP"}, - "name": "denyPublicIP"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['213'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"denyPublicIP","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP","type":"Microsoft.Authorization/policyAssignments","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['542'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:40:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {"deployment-prefix": {"type": "string", - "metadata": {"description": "Deployment prefix. E.g. Organization-DeploymentType"}}, - "service-tier": {"type": "string", "allowedValues": ["Free", "Standalone", "PerNode"], - "metadata": {"description": "Service Tier: Free, Standalone, or PerNode"}}, - "data-retention": {"type": "int", "defaultValue": 30, "minValue": 7, "maxValue": - 730, "metadata": {"description": "Number of days data will be retained for."}}, - "location": {"type": "string", "allowedValues": ["Australia Southeast", "Canada - Central", "Central India", "East US", "Japan East", "Southeast Asia", "UK South", - "West Europe", "West US 2"], "metadata": {"description": "Region used when establishing - the workspace."}}, "sas-key": {"defaultValue": "se=2019-01-13T19%3A40%3A23Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=1ammSzIhNSm/WCmbUrdP9fBwalMf2Rs9MultdvDT9NI%3D", - "type": "string"}, "output-params-storage-key": {"defaultValue": "WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==", - "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", - "type": "string"}}, "variables": {"oms-workspace-name": "[concat(parameters(\\\''deployment-prefix\\\''), - \\\''-la\\\'')]"}, "resources": [{"apiVersion": "2017-03-15-preview", "name": - "[variables(\\\''oms-workspace-name\\\'')]", "location": "[parameters(\\\''location\\\'')]", - "tags": {}, "type": "Microsoft.OperationalInsights/workspaces", "properties": - {"sku": {"Name": "[parameters(\\\''service-tier\\\'')]"}, "retention": "[parameters(\\\''data-retention\\\'')]"}}], - "outputs": {"oms-id": {"type": "string", "value": "[resourceId(\\\''Microsoft.OperationalInsights/workspaces\\\'', - variables(\\\''oms-workspace-name\\\''))]"}, "oms-workspace-resourceGroup": - {"type": "string", "value": "[resourceGroup().name]"}, "oms-workspace-name": - {"type": "string", "value": "[variables(\\\''oms-workspace-name\\\'')]"}, "oms-workspace-id": - {"type": "string", "value": "[reference(resourceId(\\\''Microsoft.OperationalInsights/workspaces\\\'', - variables(\\\''oms-workspace-name\\\'')), \\\''2015-03-20\\\'').customerId]"}, - "oms-primary-shared-key": {"type": "string", "value": "[listKeys(resourceId(\\\''Microsoft.OperationalInsights/workspaces\\\'', - variables(\\\''oms-workspace-name\\\'')), \\\''2015-03-20\\\'').primarySharedKey]"}}}, - "parameters": {"deployment-prefix": {"value": "org-cb"}, "data-retention": {"value": - 30}, "location": {"value": "West US 2"}, "service-tier": {"value": "PerNode"}, - "sas-key": {"value": "se=2019-01-13T19%3A40%3A23Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=1ammSzIhNSm/WCmbUrdP9fBwalMf2Rs9MultdvDT9NI%3D"}, - "output-params-storage-key": {"value": "WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="}, - "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['2923'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-la-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-la?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-la","name":"org-workload-cb-deployment-la","properties":{"templateHash":"2996126754142632139","parameters":{"deployment-prefix":{"type":"String","value":"org-cb"},"service-tier":{"type":"String","value":"PerNode"},"data-retention":{"type":"Int","value":30},"location":{"type":"String","value":"West - US 2"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A40%3A23Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=1ammSzIhNSm/WCmbUrdP9fBwalMf2Rs9MultdvDT9NI%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T19:40:29.9425007Z","duration":"PT0.5371762S","correlationId":"e20401d3-06b5-4127-9e59-4f2014256ca2","providers":[{"namespace":"Microsoft.OperationalInsights","resourceTypes":[{"resourceType":"workspaces","locations":["westus2"]}]}],"dependencies":[]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-la-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-la/operationStatuses/08586542848560722999?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['1185'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:40:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-la-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-la/operationStatuses/08586542848560722999?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:40:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-la-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-la?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-la","name":"org-workload-cb-deployment-la","properties":{"templateHash":"2996126754142632139","parameters":{"deployment-prefix":{"type":"String","value":"org-cb"},"service-tier":{"type":"String","value":"PerNode"},"data-retention":{"type":"Int","value":30},"location":{"type":"String","value":"West - US 2"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A40%3A23Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=1ammSzIhNSm/WCmbUrdP9fBwalMf2Rs9MultdvDT9NI%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T19:40:43.3515886Z","duration":"PT13.9462641S","correlationId":"e20401d3-06b5-4127-9e59-4f2014256ca2","providers":[{"namespace":"Microsoft.OperationalInsights","resourceTypes":[{"resourceType":"workspaces","locations":["westus2"]}]}],"dependencies":[],"outputs":{"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-cb-la-rg"},"oms-workspace-name":{"type":"String","value":"org-cb-la"},"oms-workspace-id":{"type":"String","value":"b0414615-deb9-4404-9472-d8e040f7e57a"},"oms-primary-shared-key":{"type":"String","value":"VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['1927'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:41:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:41:01 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 19:41:01 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"}, - "oms-workspace-resourceGroup": { "value": "org-cb-la-rg"}, "oms-workspace-name": - { "value": "org-cb-la"}, "oms-workspace-id": { "value": "b0414615-deb9-4404-9472-d8e040f7e57a"}, - "oms-primary-shared-key": { "value": "VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="}}\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['490'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 19:41:01 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [6epG4nXpuGJBaoiGGDHj0g==] - date: ['Sat, 12 Jan 2019 19:41:01 GMT'] - etag: ['"0x8D678C5E2154450"'] - last-modified: ['Sat, 12 Jan 2019 19:41:01 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_b_workload_nsg_creation.yaml b/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_b_workload_nsg_creation.yaml deleted file mode 100644 index 12c9d7faf..000000000 --- a/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_b_workload_nsg_creation.yaml +++ /dev/null @@ -1,631 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Fri, 08 Feb 2019 06:36:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Fri, 08 Feb 2019 06:36:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 06:37:09 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"}, - "oms-workspace-resourceGroup": { "value": "org-cb-la-rg"}, "oms-workspace-name": - { "value": "org-cb-la"}, "oms-workspace-id": { "value": "b0414615-deb9-4404-9472-d8e040f7e57a"}, - "oms-primary-shared-key": { "value": "VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['490'] - content-range: [bytes 0-489/490] - content-type: [application/octet-stream] - date: ['Fri, 08 Feb 2019 06:37:09 GMT'] - etag: ['"0x8D68D8FCF90B6E1"'] - last-modified: ['Fri, 08 Feb 2019 06:36:52 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [6epG4nXpuGJBaoiGGDHj0g==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Thu, 07 Feb 2019 08:42:57 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Fri, 08 Feb 2019 06:37:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '!!! The request body has been omitted from the recording because its size - 15510 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['13541'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-nsg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-nsg","name":"org-workload-cb-deployment-nsg","properties":{"templateHash":"7481889027896305198","parameters":{"deployment-prefix":{"type":"String","value":"org-cb"},"deployment-name":{"type":"String","value":"cb"},"network-security-groups":{"type":"Array","value":[{"name":"default","rules":[{"name":"allow-https","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"443","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"web"}],"direction":"Inbound","priority":100,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-http","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"80","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"web"}],"direction":"Inbound","priority":110,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-cb-mgmnt1","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"9443","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"web"}],"direction":"Inbound","priority":120,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-cb-mgmnt2","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"8443","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"web"}],"direction":"Inbound","priority":130,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-ssh-web","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"22","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"web"}],"direction":"Inbound","priority":140,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-ssh-kdc","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"22","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"kdc"}],"direction":"Inbound","priority":150,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-kdc-replication","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"754","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"kdc"}],"direction":"Inbound","priority":160,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"deny-internet","properties":{"access":"Deny","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":4095,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"Internet","sourceApplicationSecurityGroups":[]}},{"name":"deny-vnet","properties":{"access":"Deny","destinationAddressPrefix":"VirtualNetwork","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":4096,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}}]}]},"application-security-groups":{"type":"Array","value":[{"name":"web"},{"name":"kdc"}]},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"},"data-retention":{"type":"Int","value":30},"oms-workspace-resourceGroup":{"type":"String","value":"org-cb-la-rg"},"oms-workspace-name":{"type":"String","value":"org-cb-la"},"oms-workspace-id":{"type":"String","value":"b0414615-deb9-4404-9472-d8e040f7e57a"},"oms-primary-shared-key":{"type":"String","value":"VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="},"sas-key":{"type":"String","value":"se=2019-02-08T22%3A36%3A52Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=KfCn4zbxivzw/Hh600KnCocvsPtS9mQU7TGLDoRO%2B9Y%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-08T06:37:13.6758299Z","duration":"PT1.0026774S","correlationId":"9393aa29-5a4a-49c5-ab15-335b3e09652f","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"applicationSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups/providers/diagnosticSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-cb-web-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-cb-web-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-cb-kdc-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-cb-kdc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Storage/storageAccounts/cbdiagkkzkyrclujjwakkzk","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"cbdiagkkzkyrclujjwakkzk"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-cb-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-cb-default-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-cb-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-cb-default-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-cb-default-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"org-cb-default-nsg/Microsoft.Insights/service"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-nsg/operationStatuses/08586519990528045230?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['7458'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-nsg/operationStatuses/08586519990528045230?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-nsg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-nsg","name":"org-workload-cb-deployment-nsg","properties":{"templateHash":"7481889027896305198","parameters":{"deployment-prefix":{"type":"String","value":"org-cb"},"deployment-name":{"type":"String","value":"cb"},"network-security-groups":{"type":"Array","value":[{"name":"default","rules":[{"name":"allow-https","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"443","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"web"}],"direction":"Inbound","priority":100,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-http","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"80","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"web"}],"direction":"Inbound","priority":110,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-cb-mgmnt1","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"9443","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"web"}],"direction":"Inbound","priority":120,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-cb-mgmnt2","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"8443","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"web"}],"direction":"Inbound","priority":130,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-ssh-web","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"22","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"web"}],"direction":"Inbound","priority":140,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-ssh-kdc","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"22","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"kdc"}],"direction":"Inbound","priority":150,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-kdc-replication","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"754","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"kdc"}],"direction":"Inbound","priority":160,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"deny-internet","properties":{"access":"Deny","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":4095,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"Internet","sourceApplicationSecurityGroups":[]}},{"name":"deny-vnet","properties":{"access":"Deny","destinationAddressPrefix":"VirtualNetwork","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":4096,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}}]}]},"application-security-groups":{"type":"Array","value":[{"name":"web"},{"name":"kdc"}]},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"},"data-retention":{"type":"Int","value":30},"oms-workspace-resourceGroup":{"type":"String","value":"org-cb-la-rg"},"oms-workspace-name":{"type":"String","value":"org-cb-la"},"oms-workspace-id":{"type":"String","value":"b0414615-deb9-4404-9472-d8e040f7e57a"},"oms-primary-shared-key":{"type":"String","value":"VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="},"sas-key":{"type":"String","value":"se=2019-02-08T22%3A36%3A52Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=KfCn4zbxivzw/Hh600KnCocvsPtS9mQU7TGLDoRO%2B9Y%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-08T06:37:32.6749318Z","duration":"PT20.0017793S","correlationId":"9393aa29-5a4a-49c5-ab15-335b3e09652f","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"applicationSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups/providers/diagnosticSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-cb-web-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-cb-web-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-cb-kdc-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-cb-kdc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Storage/storageAccounts/cbdiagkkzkyrclujjwakkzk","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"cbdiagkkzkyrclujjwakkzk"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-cb-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-cb-default-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-cb-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-cb-default-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-cb-default-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"org-cb-default-nsg/Microsoft.Insights/service"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-cb-kdc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-cb-web-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-cb-default-nsg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-cb-default-nsg/providers/Microsoft.Insights/diagnosticSettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Storage/storageAccounts/cbdiagkkzkyrclujjwakkzk"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['8379'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 06:37:45 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Fri, 08 Feb 2019 06:37:44 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Fri, 08 Feb 2019 06:37:45 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/nsg/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Fri, 08 Feb 2019 06:37:45 GMT'] - etag: ['"0x8D68D8FEF8F7FA1"'] - last-modified: ['Fri, 08 Feb 2019 06:37:45 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_c_workload_network_creation.yaml b/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_c_workload_network_creation.yaml deleted file mode 100644 index 4acfbc324..000000000 --- a/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_c_workload_network_creation.yaml +++ /dev/null @@ -1,715 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Fri, 08 Feb 2019 06:37:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Fri, 08 Feb 2019 06:37:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 06:37:54 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/nsg/azureDeploy.parameters.output.json - response: - body: {string: '{}'} - headers: - accept-ranges: [bytes] - content-length: ['2'] - content-range: [bytes 0-1/2] - content-type: [application/octet-stream] - date: ['Fri, 08 Feb 2019 06:37:54 GMT'] - etag: ['"0x8D68D8FEF8F7FA1"'] - last-modified: ['Fri, 08 Feb 2019 06:37:45 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Thu, 07 Feb 2019 08:43:41 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Fri, 08 Feb 2019 06:37:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "workloadNetPermittedResourceTypes", "description": - "Policy to prevent the creation of unauthorized resource types within the resource - group.", "policyRule": {"if": {"not": {"field": "type", "in": ["Microsoft.Network/routeTables", - "Microsoft.Network/networkSecurityGroups", "Microsoft.Network/applicationSecurityGroups", - "Microsoft.Network/virtualNetworks"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['455'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"workloadNetPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.Network/routeTables","Microsoft.Network/networkSecurityGroups","Microsoft.Network/applicationSecurityGroups","Microsoft.Network/virtualNetworks"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"workloadNetPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['696'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "workloadNetPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes"}, - "name": "workloadNetPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['276'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Authorization/policyAssignments/workloadNetPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"workloadNetPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Authorization/policyAssignments/workloadNetPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"workloadNetPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['628'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 15569 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['10016'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-workload-net?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-workload-net","name":"org-workload-cb-deployment-workload-net","properties":{"templateHash":"16456096201952843424","parameters":{"deployment-prefix":{"type":"String","value":"org-cb"},"deployment-name":{"type":"String","value":"cb"},"vnet-address-prefix":{"type":"String","value":"10.4.6.0/24"},"subnets":{"type":"Array","value":[{"name":"default","address-prefix":"10.4.6.0/24","network-security-group":"default","user-defined-route":"default","service-endpoints":[{"service":"Microsoft.Sql"}]}]},"user-defined-routes":{"type":"Array","value":[{"name":"default","routes":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]}]},"vnet-dns-servers":{"type":"Array","value":["10.4.0.46"]},"enable-ddos-protection":{"type":"Bool","value":true},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-vnet-rg":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"deploy-azure-firewall-networkRules-collection":{"type":"Bool","value":false},"azure-firewall-networkRules-collection":{"type":"Array","value":[{"name":"[concat(''allow-onprem-rdp-'' - , parameters(''deployment-name''))]","properties":{"priority":210,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-rdp","protocols":["TCP"],"sourceAddresses":["192.168.1.4"],"destinationAddresses":["10.4.6.0/24"],"destinationPorts":["3389"]}]}},{"name":"allow-onprem-http-cb","properties":{"priority":220,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-http","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.4.6.0/24"],"destinationPorts":["80","443"]}]}},{"name":"deny-onprem-default-cb","properties":{"priority":230,"action":{"type":"Deny"},"rules":[{"name":"deny-onprem-default","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.4.6.0/24"],"destinationPorts":["*"]}]}}]},"shared-services-gateway-udr":{"type":"Array","value":[{"name":"to-workload-cb","properties":{"addressPrefix":"10.4.6.0/24","nextHopType":"VnetLocal"}}]},"shared-services-gateway-udr-name":{"type":"String","value":"org-ssvcs-gw-udr"},"shared-services-azure-firewall-ip-address":{"type":"String","value":"10.4.1.4"},"shared-services-azure-firewall-name":{"type":"String","value":"org-ssvcs-az-fw"},"on-premises-allow-rdp-address-range":{"type":"String","value":"192.168.1.4"},"on-premises-address-range":{"type":"String","value":"192.168.1.0/28"},"sas-key":{"type":"String","value":"se=2019-02-08T22%3A37%3A46Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=NcD2nudUPy%2B8aamAJCam3Vaj5I7/WwQpVGuV1g3M16I%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-08T06:37:59.6669218Z","duration":"PT0.8941544S","correlationId":"ee981de0-6802-4fe9-bffe-79c92fd646f4","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centralus"]},{"resourceType":"virtualNetworks/virtualNetworkPeerings","locations":["centralus"]},{"resourceType":"routeTables","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/routeTables/org-cb-default-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"org-cb-default-udr"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-cb-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-cb-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet/virtualNetworkPeerings/peering-to-shared-services-vnet","resourceType":"Microsoft.Network/virtualNetworks/virtualNetworkPeerings","resourceName":"org-cb-vnet/peering-to-shared-services-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-cb-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedServicesWorkloadPeering","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedServicesWorkloadPeering"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-workload-net/operationStatuses/08586519990067049017?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['5518'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-workload-net/operationStatuses/08586519990067049017?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:38:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-workload-net/operationStatuses/08586519990067049017?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-workload-net?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-workload-net","name":"org-workload-cb-deployment-workload-net","properties":{"templateHash":"16456096201952843424","parameters":{"deployment-prefix":{"type":"String","value":"org-cb"},"deployment-name":{"type":"String","value":"cb"},"vnet-address-prefix":{"type":"String","value":"10.4.6.0/24"},"subnets":{"type":"Array","value":[{"name":"default","address-prefix":"10.4.6.0/24","network-security-group":"default","user-defined-route":"default","service-endpoints":[{"service":"Microsoft.Sql"}]}]},"user-defined-routes":{"type":"Array","value":[{"name":"default","routes":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]}]},"vnet-dns-servers":{"type":"Array","value":["10.4.0.46"]},"enable-ddos-protection":{"type":"Bool","value":true},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-vnet-rg":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"deploy-azure-firewall-networkRules-collection":{"type":"Bool","value":false},"azure-firewall-networkRules-collection":{"type":"Array","value":[{"name":"[concat(''allow-onprem-rdp-'' - , parameters(''deployment-name''))]","properties":{"priority":210,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-rdp","protocols":["TCP"],"sourceAddresses":["192.168.1.4"],"destinationAddresses":["10.4.6.0/24"],"destinationPorts":["3389"]}]}},{"name":"allow-onprem-http-cb","properties":{"priority":220,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-http","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.4.6.0/24"],"destinationPorts":["80","443"]}]}},{"name":"deny-onprem-default-cb","properties":{"priority":230,"action":{"type":"Deny"},"rules":[{"name":"deny-onprem-default","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.4.6.0/24"],"destinationPorts":["*"]}]}}]},"shared-services-gateway-udr":{"type":"Array","value":[{"name":"to-workload-cb","properties":{"addressPrefix":"10.4.6.0/24","nextHopType":"VnetLocal"}}]},"shared-services-gateway-udr-name":{"type":"String","value":"org-ssvcs-gw-udr"},"shared-services-azure-firewall-ip-address":{"type":"String","value":"10.4.1.4"},"shared-services-azure-firewall-name":{"type":"String","value":"org-ssvcs-az-fw"},"on-premises-allow-rdp-address-range":{"type":"String","value":"192.168.1.4"},"on-premises-address-range":{"type":"String","value":"192.168.1.0/28"},"sas-key":{"type":"String","value":"se=2019-02-08T22%3A37%3A46Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=NcD2nudUPy%2B8aamAJCam3Vaj5I7/WwQpVGuV1g3M16I%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-08T06:38:35.5544156Z","duration":"PT36.7816482S","correlationId":"ee981de0-6802-4fe9-bffe-79c92fd646f4","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centralus"]},{"resourceType":"virtualNetworks/virtualNetworkPeerings","locations":["centralus"]},{"resourceType":"routeTables","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/routeTables/org-cb-default-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"org-cb-default-udr"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-cb-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-cb-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet/virtualNetworkPeerings/peering-to-shared-services-vnet","resourceType":"Microsoft.Network/virtualNetworks/virtualNetworkPeerings","resourceName":"org-cb-vnet/peering-to-shared-services-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-cb-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedServicesWorkloadPeering","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedServicesWorkloadPeering"}],"outputs":{"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet"},"vnet-name":{"type":"String","value":"org-cb-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-cb-net-rg"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/routeTables/org-cb-default-udr"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet/virtualNetworkPeerings/peering-to-shared-services-vnet"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet/virtualNetworkPeerings/peering-to-cb-vnet"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['6582'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 06:39:02 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Fri, 08 Feb 2019 06:39:02 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet"}, - "vnet-name": { "value": "org-cb-vnet"}, "vnet-resourceGroup": { "value": "org-cb-net-rg"}}\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['270'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Fri, 08 Feb 2019 06:39:03 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [Jc+M9BA0z4qvM0DNdwHjuQ==] - date: ['Fri, 08 Feb 2019 06:39:03 GMT'] - etag: ['"0x8D68D901DD05642"'] - last-modified: ['Fri, 08 Feb 2019 06:39:03 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_d_workload_kv_creation.yaml b/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_d_workload_kv_creation.yaml deleted file mode 100644 index cfce4086c..000000000 --- a/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_d_workload_kv_creation.yaml +++ /dev/null @@ -1,751 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Fri, 08 Feb 2019 06:39:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Fri, 08 Feb 2019 06:39:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1192'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 06:39:12 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"}, - "oms-workspace-resourceGroup": { "value": "org-cb-la-rg"}, "oms-workspace-name": - { "value": "org-cb-la"}, "oms-workspace-id": { "value": "b0414615-deb9-4404-9472-d8e040f7e57a"}, - "oms-primary-shared-key": { "value": "VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['490'] - content-range: [bytes 0-489/490] - content-type: [application/octet-stream] - date: ['Fri, 08 Feb 2019 06:39:13 GMT'] - etag: ['"0x8D68D8FCF90B6E1"'] - last-modified: ['Fri, 08 Feb 2019 06:36:52 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [6epG4nXpuGJBaoiGGDHj0g==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Thu, 07 Feb 2019 08:42:57 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kv-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Fri, 08 Feb 2019 06:39:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "kvPermittedResourceTypes", "description": - "Policy to prevent the creation of unauthorized resource types within the resource - group.", "policyRule": {"if": {"not": {"field": "type", "in": ["Microsoft.KeyVault/vaults", - "Microsoft.Storage/storageAccounts"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['352'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"kvPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.KeyVault/vaults","Microsoft.Storage/storageAccounts"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"kvPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['577'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "kvPermittedResourceTypes", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes"}, - "name": "kvPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Authorization/policyAssignments/kvPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"kvPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Authorization/policyAssignments/kvPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"kvPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['590'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "denyPublicIP", "description": "Policy to - prevent the creation of public ip resources", "policyRule": {"if": {"field": - "type", "in": ["Microsoft.Network/publicIPAddresses"]}, "then": {"effect": "audit"}}, - "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['269'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"denyPublicIP","policyType":"Custom","description":"Policy - to prevent the creation of public ip resources","metadata":{"category":"VDC"},"policyRule":{"if":{"field":"type","in":["Microsoft.Network/publicIPAddresses"]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","type":"Microsoft.Authorization/policyDefinitions","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['472'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "denyPublicIP", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP"}, - "name": "denyPublicIP"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['213'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"denyPublicIP","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP","type":"Microsoft.Authorization/policyAssignments","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['542'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 11806 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['8276'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kv-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kv?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kv","name":"org-workload-cb-deployment-kv","properties":{"templateHash":"17261270388960760142","parameters":{"deployment-prefix":{"type":"String","value":"org-cb"},"access-policies":{"type":"Array","value":[{"tenantId":"00000000-0000-0000-0000-000000000000","objectId":"00000000-0000-0000-0000-000000000000","permissions":{"certificates":["All"],"keys":["All"],"secrets":["All"]}}]},"logs-retention-in-days":{"type":"Int","value":30},"enable-vault-for-deployment":{"type":"Bool","value":true},"enable-vault-for-templateDeployment":{"type":"Bool","value":true},"enable-vault-for-diskEncryption":{"type":"Bool","value":true},"vault-sku":{"type":"String","value":"Premium"},"oms-workspace-resourceGroup":{"type":"String","value":"org-cb-la-rg"},"oms-workspace-name":{"type":"String","value":"org-cb-la"},"secrets-object":{"type":"SecureObject"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"},"oms-workspace-id":{"type":"String","value":"b0414615-deb9-4404-9472-d8e040f7e57a"},"oms-primary-shared-key":{"type":"String","value":"VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="},"sas-key":{"type":"String","value":"se=2019-02-08T22%3A39%3A03Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=VFF2hUdmB%2BmfQoNkhvdBD2/aT17vala0A4Dljm2sPOo%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-08T06:39:18.9076274Z","duration":"PT0.5876982S","correlationId":"4e120ef7-2704-4004-a646-5444ef11ebcf","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]},{"namespace":"Microsoft.KeyVault","resourceTypes":[{"resourceType":"vaults","locations":["centralus"]},{"resourceType":"vaults/providers/diagnosticsettings","locations":["centralus"]},{"resourceType":"vaults/providers/locks","locations":[null]},{"resourceType":"vaults/secrets","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-cb-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcbkvdiag27jplyhq","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbkvdiag27jplyhq"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.KeyVault/vaults/providers/diagnosticsettings","resourceName":"org-cb-kv/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-cb-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete","resourceType":"Microsoft.KeyVault/vaults/providers/locks","resourceName":"org-cb-kv/Microsoft.Authorization/keyVaultDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcbkvdiag27jplyhq","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbkvdiag27jplyhq"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcbkvdiag27jplyhq/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"orgcbkvdiag27jplyhq/Microsoft.Authorization/storageDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-cb-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv/secrets/admin-user","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-cb-kv/admin-user"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-cb-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv/secrets/org","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-cb-kv/org"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kv-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kv/operationStatuses/08586519989271577799?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['5495'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kv-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kv/operationStatuses/08586519989271577799?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kv-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kv?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kv","name":"org-workload-cb-deployment-kv","properties":{"templateHash":"17261270388960760142","parameters":{"deployment-prefix":{"type":"String","value":"org-cb"},"access-policies":{"type":"Array","value":[{"tenantId":"00000000-0000-0000-0000-000000000000","objectId":"00000000-0000-0000-0000-000000000000","permissions":{"certificates":["All"],"keys":["All"],"secrets":["All"]}}]},"logs-retention-in-days":{"type":"Int","value":30},"enable-vault-for-deployment":{"type":"Bool","value":true},"enable-vault-for-templateDeployment":{"type":"Bool","value":true},"enable-vault-for-diskEncryption":{"type":"Bool","value":true},"vault-sku":{"type":"String","value":"Premium"},"oms-workspace-resourceGroup":{"type":"String","value":"org-cb-la-rg"},"oms-workspace-name":{"type":"String","value":"org-cb-la"},"secrets-object":{"type":"SecureObject"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"},"oms-workspace-id":{"type":"String","value":"b0414615-deb9-4404-9472-d8e040f7e57a"},"oms-primary-shared-key":{"type":"String","value":"VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="},"sas-key":{"type":"String","value":"se=2019-02-08T22%3A39%3A03Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=VFF2hUdmB%2BmfQoNkhvdBD2/aT17vala0A4Dljm2sPOo%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-08T06:39:38.355523Z","duration":"PT20.0355938S","correlationId":"4e120ef7-2704-4004-a646-5444ef11ebcf","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]},{"namespace":"Microsoft.KeyVault","resourceTypes":[{"resourceType":"vaults","locations":["centralus"]},{"resourceType":"vaults/providers/diagnosticsettings","locations":["centralus"]},{"resourceType":"vaults/providers/locks","locations":[null]},{"resourceType":"vaults/secrets","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-cb-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcbkvdiag27jplyhq","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbkvdiag27jplyhq"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.KeyVault/vaults/providers/diagnosticsettings","resourceName":"org-cb-kv/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-cb-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete","resourceType":"Microsoft.KeyVault/vaults/providers/locks","resourceName":"org-cb-kv/Microsoft.Authorization/keyVaultDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcbkvdiag27jplyhq","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbkvdiag27jplyhq"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcbkvdiag27jplyhq/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"orgcbkvdiag27jplyhq/Microsoft.Authorization/storageDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-cb-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv/secrets/admin-user","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-cb-kv/admin-user"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-cb-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv/secrets/org","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-cb-kv/org"}],"outputs":{"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"},"kv-name":{"type":"String","value":"org-cb-kv"},"kv-resourceGroup":{"type":"String","value":"org-cb-kv-rg"},"kv-uri":{"type":"String","value":"https://org-cb-kv.vault.azure.net/"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv/providers/Microsoft.Insights/diagnosticsettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv/secrets/admin-user"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv/secrets/org"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcbkvdiag27jplyhq"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcbkvdiag27jplyhq/providers/Microsoft.Authorization/locks/storageDoNotDelete"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['7137'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:39:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 06:39:50 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Fri, 08 Feb 2019 06:39:50 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"}, - "kv-name": { "value": "org-cb-kv"}, "kv-resourceGroup": { "value": "org-cb-kv-rg"}, - "kv-uri": { "value": "https://org-cb-kv.vault.azure.net/"}}\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['314'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Fri, 08 Feb 2019 06:39:51 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/kv/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [eNLWCzd2t30KrRTcavxxNA==] - date: ['Fri, 08 Feb 2019 06:39:51 GMT'] - etag: ['"0x8D68D903A5FBE2D"'] - last-modified: ['Fri, 08 Feb 2019 06:39:51 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_e_workload_cloudbreak_creation.yaml b/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_e_workload_cloudbreak_creation.yaml deleted file mode 100644 index c5315ff34..000000000 --- a/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_e_workload_cloudbreak_creation.yaml +++ /dev/null @@ -1,1323 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Fri, 08 Feb 2019 16:12:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Fri, 08 Feb 2019 16:12:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 16:12:35 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/kv/azureDeploy.parameters.output.json - response: - body: {string: '{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"}, - "kv-name": { "value": "org-cb-kv"}, "kv-resourceGroup": { "value": "org-cb-kv-rg"}, - "kv-uri": { "value": "https://org-cb-kv.vault.azure.net/"}}'} - headers: - accept-ranges: [bytes] - content-length: ['314'] - content-range: [bytes 0-313/314] - content-type: [application/octet-stream] - date: ['Fri, 08 Feb 2019 16:12:35 GMT'] - etag: ['"0x8D68D903A5FBE2D"'] - last-modified: ['Fri, 08 Feb 2019 06:39:51 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [eNLWCzd2t30KrRTcavxxNA==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Thu, 07 Feb 2019 08:45:51 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 16:12:35 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet"}, - "vnet-name": { "value": "org-cb-vnet"}, "vnet-resourceGroup": { "value": "org-cb-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['270'] - content-range: [bytes 0-269/270] - content-type: [application/octet-stream] - date: ['Fri, 08 Feb 2019 16:12:35 GMT'] - etag: ['"0x8D68D901DD05642"'] - last-modified: ['Fri, 08 Feb 2019 06:39:03 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [Jc+M9BA0z4qvM0DNdwHjuQ==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Thu, 07 Feb 2019 08:44:58 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 16:12:36 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"}, - "oms-workspace-resourceGroup": { "value": "org-cb-la-rg"}, "oms-workspace-name": - { "value": "org-cb-la"}, "oms-workspace-id": { "value": "b0414615-deb9-4404-9472-d8e040f7e57a"}, - "oms-primary-shared-key": { "value": "VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['490'] - content-range: [bytes 0-489/490] - content-type: [application/octet-stream] - date: ['Fri, 08 Feb 2019 16:12:36 GMT'] - etag: ['"0x8D68D8FCF90B6E1"'] - last-modified: ['Fri, 08 Feb 2019 06:36:52 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [6epG4nXpuGJBaoiGGDHj0g==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Thu, 07 Feb 2019 08:42:57 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Fri, 08 Feb 2019 16:12:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '!!! The request body has been omitted from the recording because its size - 33361 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['25399'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb","name":"org-workload-cb-deployment-cb","properties":{"templateHash":"3849472447887717350","parameters":{"deployment-prefix":{"type":"String","value":"org-cb"},"organization-name":{"type":"String","value":"org"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-cb-net-rg"},"shared-services-shared-services-nsg-name":{"type":"String","value":"org-ssvcs-sharedsvcs-nsg"},"shared-services-vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-dc-asg-name":{"type":"String","value":"dc"},"shared-services-deployment-name":{"type":"String","value":"ssvcs"},"default-subnet-name":{"type":"String","value":"default"},"default-subnet-address-prefix":{"type":"String","value":"10.4.6.0/24"},"web-asg-name":{"type":"String","value":"web"},"extension-name":{"type":"String","value":"cb"},"username":{"type":"String","value":"org@org.com"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"},"secretName":"admin-user"}},"domain-name":{"type":"String","value":"org.com"},"domain-admin-user":{"type":"String","value":"org"},"domain-admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"org"}},"virtualMachine-size":{"type":"String","value":"Standard_D4s_v3"},"virtualMachine-count":{"type":"Int","value":1},"os-image":{"type":"Object","value":{"offer":"CentOS-CI","publisher":"OpenLogic","sku":"7-CI","version":"7.4.20180417"}},"os-type":{"type":"String","value":"Linux"},"smartsense":{"type":"String","value":"false"},"sshKey":{"type":"String","value":"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDUg1zfoPgYHmalTQR/WUh6ZTEV+Cha9oHz8noAIEZMwalQkTd57Py4kok9ucdN+hedH9Q8ZWWQnRvNde5AS1d9Ph/N13nZNV0osgRwG4ceLx1kWCfvO1aWlLF8MYskAaeOcT22LTx4O3F1pCPCAboiwQvQ6659KeX40Hqx+jJjt/NxGFpFLAmnyHcl/rlTRlpSIrM//YECGf19gUuSKGfG+tFu39ZfwApwjlxzn2HRLCgn8pq16zzhgwtGOLRzYgyU6ZDjXLubO7BivuWfZ+rlJ7b/NE0BjyKZKHeLT9EZK41V4cax1EbuhzuE75q2RKa7nJRZDhnEyRMF1iHdU8Kz"},"mysql-properties":{"type":"Object","value":{"name":"org-cb-mysql01","firewall-rules":[],"username":"adminuser","version":"5.7","backupRetention":7,"geoRedundantBackup":"Disabled","sku":{"name":"GP_Gen5_4","tier":"GeneralPurpose","capacity":"4","size":"256000","family":"Gen5"},"virtualNetwork-rules":[{"name":"default-subnet-svc-endpoint","subnet-name":"default"}],"databases":[{"name":"hivedb","collation":"utf8_general_ci","charset":"utf8"},{"name":"rangerdb","collation":"utf8_general_ci","charset":"utf8"},{"name":"ambaridb","collation":"utf8_general_ci","charset":"utf8"},{"name":"atlasdb","collation":"utf8_general_ci","charset":"utf8"},{"name":"ooziedb","collation":"utf8_general_ci","charset":"utf8"}]}},"postgres-properties":{"type":"Object","value":{"name":"org-cb-postgresql01","firewall-rules":[],"username":"adminuser","version":"9.6","backupRetention":7,"geoRedundantBackup":"Disabled","sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","capacityDTU":"2","size":"5120","family":"Gen5"},"virtualNetwork-rules":[{"name":"default-subnet-svc-endpoint","subnet-name":"default"}],"databases":[{"name":"hive","collation":"English_United - States.1252","charset":"utf8"},{"name":"ambari","collation":"English_United - States.1252","charset":"utf8"},{"name":"ranger","collation":"English_United - States.1252","charset":"utf8"},{"name":"oozie","collation":"English_United - States.1252","charset":"utf8"}]}},"discovery-custom-domain":{"type":"String","value":"orgcloud.com"},"azure-firewall-private-ip-address":{"type":"String","value":"10.4.1.4"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"},"kv-name":{"type":"String","value":"org-cb-kv"},"kv-resourceGroup":{"type":"String","value":"org-cb-kv-rg"},"kv-uri":{"type":"String","value":"https://org-cb-kv.vault.azure.net/"},"vnet-name":{"type":"String","value":"org-cb-vnet"},"oms-workspace-resourceGroup":{"type":"String","value":"org-cb-la-rg"},"oms-workspace-name":{"type":"String","value":"org-cb-la"},"oms-workspace-id":{"type":"String","value":"b0414615-deb9-4404-9472-d8e040f7e57a"},"oms-primary-shared-key":{"type":"String","value":"VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="},"sas-key":{"type":"String","value":"se=2019-02-09T08%3A12%3A24Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=6SNLrmCYnYIt4GUX9hKRYJJ3w5Y9wj12uf34SRRktMI%3D"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-08T16:12:41.1304189Z","duration":"PT1.0646088S","correlationId":"ff5d0406-130b-4297-b555-d6cda48284f7","providers":[{"namespace":"Microsoft.DBforPostgreSQL","resourceTypes":[{"resourceType":"servers","locations":["centralus"]},{"resourceType":"servers/virtualNetworkRules","locations":[null]},{"resourceType":"servers/databases","locations":[null]}]},{"namespace":"Microsoft.DBforMySQL","resourceTypes":[{"resourceType":"servers","locations":["centralus"]},{"resourceType":"servers/virtualNetworkRules","locations":[null]},{"resourceType":"servers/databases","locations":[null]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Network/networkInterfaces/org-cb-vm1-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-vm1-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-sharedsvcs-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-ssvcs-sharedsvcs-nsg","apiVersion":"2017-10-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedSvcsNSG","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedSvcsNSG"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01","resourceType":"Microsoft.DBforPostgreSQL/servers","resourceName":"org-cb-postgresql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/virtualNetworkRules/default-subnet-svc-endpoint","resourceType":"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules","resourceName":"org-cb-postgresql01/default-subnet-svc-endpoint"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01","resourceType":"Microsoft.DBforPostgreSQL/servers","resourceName":"org-cb-postgresql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/databases/hive","resourceType":"Microsoft.DBforPostgreSQL/servers/databases","resourceName":"org-cb-postgresql01/hive"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01","resourceType":"Microsoft.DBforPostgreSQL/servers","resourceName":"org-cb-postgresql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/databases/ambari","resourceType":"Microsoft.DBforPostgreSQL/servers/databases","resourceName":"org-cb-postgresql01/ambari"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01","resourceType":"Microsoft.DBforPostgreSQL/servers","resourceName":"org-cb-postgresql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/databases/ranger","resourceType":"Microsoft.DBforPostgreSQL/servers/databases","resourceName":"org-cb-postgresql01/ranger"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01","resourceType":"Microsoft.DBforPostgreSQL/servers","resourceName":"org-cb-postgresql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/databases/oozie","resourceType":"Microsoft.DBforPostgreSQL/servers/databases","resourceName":"org-cb-postgresql01/oozie"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01","resourceType":"Microsoft.DBforMySQL/servers","resourceName":"org-cb-mysql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/virtualNetworkRules/default-subnet-svc-endpoint","resourceType":"Microsoft.DBforMySQL/servers/virtualNetworkRules","resourceName":"org-cb-mysql01/default-subnet-svc-endpoint"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01","resourceType":"Microsoft.DBforMySQL/servers","resourceName":"org-cb-mysql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/hivedb","resourceType":"Microsoft.DBforMySQL/servers/databases","resourceName":"org-cb-mysql01/hivedb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01","resourceType":"Microsoft.DBforMySQL/servers","resourceName":"org-cb-mysql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/rangerdb","resourceType":"Microsoft.DBforMySQL/servers/databases","resourceName":"org-cb-mysql01/rangerdb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01","resourceType":"Microsoft.DBforMySQL/servers","resourceName":"org-cb-mysql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/ambaridb","resourceType":"Microsoft.DBforMySQL/servers/databases","resourceName":"org-cb-mysql01/ambaridb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01","resourceType":"Microsoft.DBforMySQL/servers","resourceName":"org-cb-mysql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/atlasdb","resourceType":"Microsoft.DBforMySQL/servers/databases","resourceName":"org-cb-mysql01/atlasdb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01","resourceType":"Microsoft.DBforMySQL/servers","resourceName":"org-cb-mysql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/ooziedb","resourceType":"Microsoft.DBforMySQL/servers/databases","resourceName":"org-cb-mysql01/ooziedb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedSvcsNSG","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedSvcsNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Network/networkInterfaces/org-cb-vm1-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-vm1-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Storage/storageAccounts/orgcbdiagyisjmzgh75","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbdiagyisjmzgh75","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1/extensions/installcustomscript","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-vm1/installcustomscript"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1/extensions/installcustomscript","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-vm1/installcustomscript"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1/extensions/installcustomscript","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-vm1/installcustomscript"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Resources/deployments/vm1CbdNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1CbdNestedDeployment"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['17093'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:12:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:13:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:13:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:14:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:14:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:15:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:15:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:16:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:16:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:17:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:17:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:18:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:18:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:19:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:19:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:20:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:20:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:21:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:21:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:22:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:22:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:23:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:23:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:24:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:25:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:25:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:26:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:26:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb/operationStatuses/08586519645254119804?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:27:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-cb","name":"org-workload-cb-deployment-cb","properties":{"templateHash":"3849472447887717350","parameters":{"deployment-prefix":{"type":"String","value":"org-cb"},"organization-name":{"type":"String","value":"org"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-cb-net-rg"},"shared-services-shared-services-nsg-name":{"type":"String","value":"org-ssvcs-sharedsvcs-nsg"},"shared-services-vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-dc-asg-name":{"type":"String","value":"dc"},"shared-services-deployment-name":{"type":"String","value":"ssvcs"},"default-subnet-name":{"type":"String","value":"default"},"default-subnet-address-prefix":{"type":"String","value":"10.4.6.0/24"},"web-asg-name":{"type":"String","value":"web"},"extension-name":{"type":"String","value":"cb"},"username":{"type":"String","value":"org@org.com"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"},"secretName":"admin-user"}},"domain-name":{"type":"String","value":"org.com"},"domain-admin-user":{"type":"String","value":"org"},"domain-admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"org"}},"virtualMachine-size":{"type":"String","value":"Standard_D4s_v3"},"virtualMachine-count":{"type":"Int","value":1},"os-image":{"type":"Object","value":{"offer":"CentOS-CI","publisher":"OpenLogic","sku":"7-CI","version":"7.4.20180417"}},"os-type":{"type":"String","value":"Linux"},"smartsense":{"type":"String","value":"false"},"sshKey":{"type":"String","value":"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDUg1zfoPgYHmalTQR/WUh6ZTEV+Cha9oHz8noAIEZMwalQkTd57Py4kok9ucdN+hedH9Q8ZWWQnRvNde5AS1d9Ph/N13nZNV0osgRwG4ceLx1kWCfvO1aWlLF8MYskAaeOcT22LTx4O3F1pCPCAboiwQvQ6659KeX40Hqx+jJjt/NxGFpFLAmnyHcl/rlTRlpSIrM//YECGf19gUuSKGfG+tFu39ZfwApwjlxzn2HRLCgn8pq16zzhgwtGOLRzYgyU6ZDjXLubO7BivuWfZ+rlJ7b/NE0BjyKZKHeLT9EZK41V4cax1EbuhzuE75q2RKa7nJRZDhnEyRMF1iHdU8Kz"},"mysql-properties":{"type":"Object","value":{"name":"org-cb-mysql01","firewall-rules":[],"username":"adminuser","version":"5.7","backupRetention":7,"geoRedundantBackup":"Disabled","sku":{"name":"GP_Gen5_4","tier":"GeneralPurpose","capacity":"4","size":"256000","family":"Gen5"},"virtualNetwork-rules":[{"name":"default-subnet-svc-endpoint","subnet-name":"default"}],"databases":[{"name":"hivedb","collation":"utf8_general_ci","charset":"utf8"},{"name":"rangerdb","collation":"utf8_general_ci","charset":"utf8"},{"name":"ambaridb","collation":"utf8_general_ci","charset":"utf8"},{"name":"atlasdb","collation":"utf8_general_ci","charset":"utf8"},{"name":"ooziedb","collation":"utf8_general_ci","charset":"utf8"}]}},"postgres-properties":{"type":"Object","value":{"name":"org-cb-postgresql01","firewall-rules":[],"username":"adminuser","version":"9.6","backupRetention":7,"geoRedundantBackup":"Disabled","sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","capacityDTU":"2","size":"5120","family":"Gen5"},"virtualNetwork-rules":[{"name":"default-subnet-svc-endpoint","subnet-name":"default"}],"databases":[{"name":"hive","collation":"English_United - States.1252","charset":"utf8"},{"name":"ambari","collation":"English_United - States.1252","charset":"utf8"},{"name":"ranger","collation":"English_United - States.1252","charset":"utf8"},{"name":"oozie","collation":"English_United - States.1252","charset":"utf8"}]}},"discovery-custom-domain":{"type":"String","value":"orgcloud.com"},"azure-firewall-private-ip-address":{"type":"String","value":"10.4.1.4"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"},"kv-name":{"type":"String","value":"org-cb-kv"},"kv-resourceGroup":{"type":"String","value":"org-cb-kv-rg"},"kv-uri":{"type":"String","value":"https://org-cb-kv.vault.azure.net/"},"vnet-name":{"type":"String","value":"org-cb-vnet"},"oms-workspace-resourceGroup":{"type":"String","value":"org-cb-la-rg"},"oms-workspace-name":{"type":"String","value":"org-cb-la"},"oms-workspace-id":{"type":"String","value":"b0414615-deb9-4404-9472-d8e040f7e57a"},"oms-primary-shared-key":{"type":"String","value":"VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="},"sas-key":{"type":"String","value":"se=2019-02-09T08%3A12%3A24Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=6SNLrmCYnYIt4GUX9hKRYJJ3w5Y9wj12uf34SRRktMI%3D"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-08T16:26:43.6229515Z","duration":"PT14M3.5571414S","correlationId":"ff5d0406-130b-4297-b555-d6cda48284f7","providers":[{"namespace":"Microsoft.DBforPostgreSQL","resourceTypes":[{"resourceType":"servers","locations":["centralus"]},{"resourceType":"servers/virtualNetworkRules","locations":[null]},{"resourceType":"servers/databases","locations":[null]}]},{"namespace":"Microsoft.DBforMySQL","resourceTypes":[{"resourceType":"servers","locations":["centralus"]},{"resourceType":"servers/virtualNetworkRules","locations":[null]},{"resourceType":"servers/databases","locations":[null]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Network/networkInterfaces/org-cb-vm1-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-vm1-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-sharedsvcs-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-ssvcs-sharedsvcs-nsg","apiVersion":"2017-10-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedSvcsNSG","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedSvcsNSG"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01","resourceType":"Microsoft.DBforPostgreSQL/servers","resourceName":"org-cb-postgresql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/virtualNetworkRules/default-subnet-svc-endpoint","resourceType":"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules","resourceName":"org-cb-postgresql01/default-subnet-svc-endpoint"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01","resourceType":"Microsoft.DBforPostgreSQL/servers","resourceName":"org-cb-postgresql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/databases/hive","resourceType":"Microsoft.DBforPostgreSQL/servers/databases","resourceName":"org-cb-postgresql01/hive"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01","resourceType":"Microsoft.DBforPostgreSQL/servers","resourceName":"org-cb-postgresql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/databases/ambari","resourceType":"Microsoft.DBforPostgreSQL/servers/databases","resourceName":"org-cb-postgresql01/ambari"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01","resourceType":"Microsoft.DBforPostgreSQL/servers","resourceName":"org-cb-postgresql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/databases/ranger","resourceType":"Microsoft.DBforPostgreSQL/servers/databases","resourceName":"org-cb-postgresql01/ranger"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01","resourceType":"Microsoft.DBforPostgreSQL/servers","resourceName":"org-cb-postgresql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/databases/oozie","resourceType":"Microsoft.DBforPostgreSQL/servers/databases","resourceName":"org-cb-postgresql01/oozie"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01","resourceType":"Microsoft.DBforMySQL/servers","resourceName":"org-cb-mysql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/virtualNetworkRules/default-subnet-svc-endpoint","resourceType":"Microsoft.DBforMySQL/servers/virtualNetworkRules","resourceName":"org-cb-mysql01/default-subnet-svc-endpoint"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01","resourceType":"Microsoft.DBforMySQL/servers","resourceName":"org-cb-mysql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/hivedb","resourceType":"Microsoft.DBforMySQL/servers/databases","resourceName":"org-cb-mysql01/hivedb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01","resourceType":"Microsoft.DBforMySQL/servers","resourceName":"org-cb-mysql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/rangerdb","resourceType":"Microsoft.DBforMySQL/servers/databases","resourceName":"org-cb-mysql01/rangerdb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01","resourceType":"Microsoft.DBforMySQL/servers","resourceName":"org-cb-mysql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/ambaridb","resourceType":"Microsoft.DBforMySQL/servers/databases","resourceName":"org-cb-mysql01/ambaridb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01","resourceType":"Microsoft.DBforMySQL/servers","resourceName":"org-cb-mysql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/atlasdb","resourceType":"Microsoft.DBforMySQL/servers/databases","resourceName":"org-cb-mysql01/atlasdb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01","resourceType":"Microsoft.DBforMySQL/servers","resourceName":"org-cb-mysql01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/ooziedb","resourceType":"Microsoft.DBforMySQL/servers/databases","resourceName":"org-cb-mysql01/ooziedb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedSvcsNSG","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedSvcsNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Network/networkInterfaces/org-cb-vm1-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-vm1-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Storage/storageAccounts/orgcbdiagyisjmzgh75","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbdiagyisjmzgh75","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1/extensions/installcustomscript","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-vm1/installcustomscript"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1/extensions/installcustomscript","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-vm1/installcustomscript"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1/extensions/installcustomscript","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-vm1/installcustomscript"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Resources/deployments/vm1CbdNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1CbdNestedDeployment"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/availabilitySets/cb-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1/extensions/installcustomscript"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Compute/virtualMachines/org-cb-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/ambaridb"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/atlasdb"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/hivedb"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/ooziedb"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/databases/rangerdb"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforMySQL/servers/org-cb-mysql01/virtualNetworkRules/default-subnet-svc-endpoint"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/databases/ambari"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/databases/hive"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/databases/oozie"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/databases/ranger"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.DBforPostgreSQL/servers/org-cb-postgresql01/virtualNetworkRules/default-subnet-svc-endpoint"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Network/networkInterfaces/org-cb-vm1-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-rg/providers/Microsoft.Storage/storageAccounts/orgcbdiagyisjmzgh75"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-sharedsvcs-nsg"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['20503'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 16:27:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 16:27:04 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Fri, 08 Feb 2019 16:27:03 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Fri, 08 Feb 2019 16:27:04 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/cb/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Fri, 08 Feb 2019 16:27:04 GMT'] - etag: ['"0x8D68DE24333F1C0"'] - last-modified: ['Fri, 08 Feb 2019 16:27:04 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_f_workload_kdc_creation.yaml b/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_f_workload_kdc_creation.yaml deleted file mode 100644 index 0d9342816..000000000 --- a/tests/integration_tests/cloudbreak-workload/recordings/test_cloudbreak_integration_tests.test_f_workload_kdc_creation.yaml +++ /dev/null @@ -1,1175 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Fri, 08 Feb 2019 17:01:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Fri, 08 Feb 2019 17:01:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 17:01:21 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/kv/azureDeploy.parameters.output.json - response: - body: {string: '{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"}, - "kv-name": { "value": "org-cb-kv"}, "kv-resourceGroup": { "value": "org-cb-kv-rg"}, - "kv-uri": { "value": "https://org-cb-kv.vault.azure.net/"}}'} - headers: - accept-ranges: [bytes] - content-length: ['314'] - content-range: [bytes 0-313/314] - content-type: [application/octet-stream] - date: ['Fri, 08 Feb 2019 17:01:21 GMT'] - etag: ['"0x8D68D903A5FBE2D"'] - last-modified: ['Fri, 08 Feb 2019 06:39:51 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [eNLWCzd2t30KrRTcavxxNA==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Thu, 07 Feb 2019 08:45:51 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 17:01:22 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet"}, - "vnet-name": { "value": "org-cb-vnet"}, "vnet-resourceGroup": { "value": "org-cb-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['270'] - content-range: [bytes 0-269/270] - content-type: [application/octet-stream] - date: ['Fri, 08 Feb 2019 17:01:22 GMT'] - etag: ['"0x8D68D901DD05642"'] - last-modified: ['Fri, 08 Feb 2019 06:39:03 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [Jc+M9BA0z4qvM0DNdwHjuQ==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Thu, 07 Feb 2019 08:44:58 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 17:01:23 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"}, - "oms-workspace-resourceGroup": { "value": "org-cb-la-rg"}, "oms-workspace-name": - { "value": "org-cb-la"}, "oms-workspace-id": { "value": "b0414615-deb9-4404-9472-d8e040f7e57a"}, - "oms-primary-shared-key": { "value": "VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['490'] - content-range: [bytes 0-489/490] - content-type: [application/octet-stream] - date: ['Fri, 08 Feb 2019 17:01:23 GMT'] - etag: ['"0x8D68D8FCF90B6E1"'] - last-modified: ['Fri, 08 Feb 2019 06:36:52 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [6epG4nXpuGJBaoiGGDHj0g==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Thu, 07 Feb 2019 08:42:57 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Fri, 08 Feb 2019 17:01:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '!!! The request body has been omitted from the recording because its size - 28793 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['22693'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc","name":"org-workload-cb-deployment-kdc","properties":{"templateHash":"11818751520113118535","parameters":{"deployment-prefix":{"type":"String","value":"org-cb"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-cb-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"default-subnet-address-prefix":{"type":"String","value":"10.4.6.0/24"},"kdc-asg-name":{"type":"String","value":"kdc"},"extension-name":{"type":"String","value":"kdcd"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"},"secretName":"admin-user"}},"domain-name":{"type":"String","value":"org.com"},"domain-admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"org"}},"virtualMachine-size":{"type":"String","value":"Standard_D2s_v3"},"virtualMachine-count":{"type":"Int","value":2},"os-image":{"type":"Object","value":{"offer":"CentOS-CI","publisher":"OpenLogic","sku":"7-CI","version":"7.4.20180417"}},"os-type":{"type":"String","value":"Linux"},"discovery-custom-domain":{"type":"String","value":"orgcloud.com"},"adds-vm1-hostname":{"type":"String","value":"adds-vm1"},"adds-vm2-hostname":{"type":"String","value":"adds-vm2"},"adds-resourceGroup":{"type":"String","value":"org-ssvcs-adds-rg"},"adds-subscriptionId":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"adds-vm1-resource-name":{"type":"String","value":"org-ssvcs-adds-vm1"},"username":{"type":"String","value":"org@org.com"},"domain-admin-user":{"type":"String","value":"org"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"},"kv-name":{"type":"String","value":"org-cb-kv"},"kv-resourceGroup":{"type":"String","value":"org-cb-kv-rg"},"kv-uri":{"type":"String","value":"https://org-cb-kv.vault.azure.net/"},"vnet-name":{"type":"String","value":"org-cb-vnet"},"oms-workspace-resourceGroup":{"type":"String","value":"org-cb-la-rg"},"oms-workspace-name":{"type":"String","value":"org-cb-la"},"oms-workspace-id":{"type":"String","value":"b0414615-deb9-4404-9472-d8e040f7e57a"},"oms-primary-shared-key":{"type":"String","value":"VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="},"sas-key":{"type":"String","value":"se=2019-02-09T09%3A01%3A11Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=U2vtnZ7NwIlHEuUaFBfbL1pUAnji3xyHumkEpeZmvyQ%3D"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-08T17:01:28.3484266Z","duration":"PT0.9393444S","correlationId":"58f5f823-c5e6-4500-9be2-c8b806745fd3","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/createARecord1","resourceType":"Microsoft.Resources/deployments","resourceName":"createARecord1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/createARecord2","resourceType":"Microsoft.Resources/deployments","resourceName":"createARecord2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/vm1SetupKDCMaster","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1SetupKDCMaster"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/vm1SetupKDCMaster","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1SetupKDCMaster"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/configureOneWayTrust","resourceType":"Microsoft.Resources/deployments","resourceName":"configureOneWayTrust"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/configureOneWayTrust","resourceType":"Microsoft.Resources/deployments","resourceName":"configureOneWayTrust"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/vm2SetupKDCSlave","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2SetupKDCSlave"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/vm2SetupKDCSlave","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2SetupKDCSlave"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/kerberosPropagateDb","resourceType":"Microsoft.Resources/deployments","resourceName":"kerberosPropagateDb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm1-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-kdcd-vm1-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm2-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-kdcd-vm2-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Storage/storageAccounts/orgcbkdcddiagx7og64","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbkdcddiagx7og64"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Storage/storageAccounts/orgcbkdcddiagx7og64","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbkdcddiagx7og64","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/setupKDC"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/setupKDC"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm1-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-kdcd-vm1-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm2-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-kdcd-vm2-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Storage/storageAccounts/orgcbkdcddiagx7og64","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbkdcddiagx7og64"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Storage/storageAccounts/orgcbkdcddiagx7og64","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbkdcddiagx7og64","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/setupKDC"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/setupKDC"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/setupKDC"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/setupKDC"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm1-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-kdcd-vm1-nic1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/createARecord1","resourceType":"Microsoft.Resources/deployments","resourceName":"createARecord1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/setupKDC"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/setupKDC"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm2-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-kdcd-vm2-nic1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/createARecord2","resourceType":"Microsoft.Resources/deployments","resourceName":"createARecord2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/kerberosPropagateDb","resourceType":"Microsoft.Resources/deployments","resourceName":"kerberosPropagateDb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/rebootVms1","resourceType":"Microsoft.Resources/deployments","resourceName":"rebootVms1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/kerberosPropagateDb","resourceType":"Microsoft.Resources/deployments","resourceName":"kerberosPropagateDb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/rebootVms2","resourceType":"Microsoft.Resources/deployments","resourceName":"rebootVms2"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['17289'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:01:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:02:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:02:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:03:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:04:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:04:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:05:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:05:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:06:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:06:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:07:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:07:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:08:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:08:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:09:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:09:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:10:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:10:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:11:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:11:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:12:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc/operationStatuses/08586519615980686483?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:12:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/org-workload-cb-deployment-kdc","name":"org-workload-cb-deployment-kdc","properties":{"templateHash":"11818751520113118535","parameters":{"deployment-prefix":{"type":"String","value":"org-cb"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-cb-la"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-net-rg/providers/Microsoft.Network/virtualNetworks/org-cb-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-cb-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"default-subnet-address-prefix":{"type":"String","value":"10.4.6.0/24"},"kdc-asg-name":{"type":"String","value":"kdc"},"extension-name":{"type":"String","value":"kdcd"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"},"secretName":"admin-user"}},"domain-name":{"type":"String","value":"org.com"},"domain-admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"org"}},"virtualMachine-size":{"type":"String","value":"Standard_D2s_v3"},"virtualMachine-count":{"type":"Int","value":2},"os-image":{"type":"Object","value":{"offer":"CentOS-CI","publisher":"OpenLogic","sku":"7-CI","version":"7.4.20180417"}},"os-type":{"type":"String","value":"Linux"},"discovery-custom-domain":{"type":"String","value":"orgcloud.com"},"adds-vm1-hostname":{"type":"String","value":"adds-vm1"},"adds-vm2-hostname":{"type":"String","value":"adds-vm2"},"adds-resourceGroup":{"type":"String","value":"org-ssvcs-adds-rg"},"adds-subscriptionId":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"adds-vm1-resource-name":{"type":"String","value":"org-ssvcs-adds-vm1"},"username":{"type":"String","value":"org@org.com"},"domain-admin-user":{"type":"String","value":"org"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kv-rg/providers/Microsoft.KeyVault/vaults/org-cb-kv"},"kv-name":{"type":"String","value":"org-cb-kv"},"kv-resourceGroup":{"type":"String","value":"org-cb-kv-rg"},"kv-uri":{"type":"String","value":"https://org-cb-kv.vault.azure.net/"},"vnet-name":{"type":"String","value":"org-cb-vnet"},"oms-workspace-resourceGroup":{"type":"String","value":"org-cb-la-rg"},"oms-workspace-name":{"type":"String","value":"org-cb-la"},"oms-workspace-id":{"type":"String","value":"b0414615-deb9-4404-9472-d8e040f7e57a"},"oms-primary-shared-key":{"type":"String","value":"VFzTQ1LAwKpqn8bPdWeLQEnEmIIgcj5NwVmBiVfh3b1eu/kcnJLjvYyCgaaVp0M32SkOM5G36Ity5h2keeplrA=="},"sas-key":{"type":"String","value":"se=2019-02-09T09%3A01%3A11Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=U2vtnZ7NwIlHEuUaFBfbL1pUAnji3xyHumkEpeZmvyQ%3D"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-08T17:12:16.3249151Z","duration":"PT10M48.9158329S","correlationId":"58f5f823-c5e6-4500-9be2-c8b806745fd3","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/createARecord1","resourceType":"Microsoft.Resources/deployments","resourceName":"createARecord1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/createARecord2","resourceType":"Microsoft.Resources/deployments","resourceName":"createARecord2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/vm1SetupKDCMaster","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1SetupKDCMaster"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/vm1SetupKDCMaster","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1SetupKDCMaster"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/configureOneWayTrust","resourceType":"Microsoft.Resources/deployments","resourceName":"configureOneWayTrust"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/configureOneWayTrust","resourceType":"Microsoft.Resources/deployments","resourceName":"configureOneWayTrust"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/vm2SetupKDCSlave","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2SetupKDCSlave"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/vm2SetupKDCSlave","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2SetupKDCSlave"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/kerberosPropagateDb","resourceType":"Microsoft.Resources/deployments","resourceName":"kerberosPropagateDb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm1-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-kdcd-vm1-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm2-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-kdcd-vm2-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Storage/storageAccounts/orgcbkdcddiagx7og64","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbkdcddiagx7og64"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Storage/storageAccounts/orgcbkdcddiagx7og64","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbkdcddiagx7og64","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/setupKDC"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/setupKDC"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm1-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-kdcd-vm1-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm2-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-kdcd-vm2-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Storage/storageAccounts/orgcbkdcddiagx7og64","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbkdcddiagx7og64"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Storage/storageAccounts/orgcbkdcddiagx7og64","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcbkdcddiagx7og64","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/setupKDC"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/setupKDC"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/setupKDC"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/setupKDC"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm1-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-kdcd-vm1-nic1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/createARecord1","resourceType":"Microsoft.Resources/deployments","resourceName":"createARecord1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm1/setupKDC"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-cb-kdcd-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/setupKDC","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-cb-kdcd-vm2/setupKDC"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm2-nic1","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-cb-kdcd-vm2-nic1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/createARecord2","resourceType":"Microsoft.Resources/deployments","resourceName":"createARecord2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/kerberosPropagateDb","resourceType":"Microsoft.Resources/deployments","resourceName":"kerberosPropagateDb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/rebootVms1","resourceType":"Microsoft.Resources/deployments","resourceName":"rebootVms1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/kerberosPropagateDb","resourceType":"Microsoft.Resources/deployments","resourceName":"kerberosPropagateDb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Resources/deployments/rebootVms2","resourceType":"Microsoft.Resources/deployments","resourceName":"rebootVms2"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/availabilitySets/kdcd-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm1/extensions/setupKDC"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Compute/virtualMachines/org-cb-kdcd-vm2/extensions/setupKDC"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm1-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Network/networkInterfaces/org-cb-kdcd-vm2-nic1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-cb-kdc-rg/providers/Microsoft.Storage/storageAccounts/orgcbkdcddiagx7og64"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/PSOneWayTrustSetup"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['19370'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 17:12:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 08 Feb 2019 17:12:41 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Fri, 08 Feb 2019 17:12:41 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Fri, 08 Feb 2019 17:12:41 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-cb/parameters/kdc/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Fri, 08 Feb 2019 17:12:41 GMT'] - etag: ['"0x8D68DE8A28E42C8"'] - last-modified: ['Fri, 08 Feb 2019 17:12:41 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/cloudbreak-workload/test_cloudbreak_integration_tests.py b/tests/integration_tests/cloudbreak-workload/test_cloudbreak_integration_tests.py deleted file mode 100644 index 9a8c945f5..000000000 --- a/tests/integration_tests/cloudbreak-workload/test_cloudbreak_integration_tests.py +++ /dev/null @@ -1,111 +0,0 @@ -from tools.devtools_testutils.base_replayable_test_case import VDCBaseTestCase -from tools.devtools_testutils.base_integration_test_case import BaseIntegrationTestCase -from pathlib import Path -from os.path import join -import unittest - -args = dict() -args['resource-group'] = None -args['validate-deployment'] = None -args['deploy-module-dependencies'] = None -args['service-principals'] = None -args['create-vdc-storage'] = None -args['environment-type'] = 'workload' -args['upload-scripts'] = None -args['create-vdc-storage'] = None -args['delete-validation-modules'] = None - -class CloudBreakIntegrationTests(BaseIntegrationTestCase): - - def setUp(self): - super(CloudBreakIntegrationTests, self).setUp() - - parameters_file = '' - - if self.is_live: - parameters_file = 'archetype.json' - else: - parameters_file = 'archetype.test.json' - - self._workload_path = join( - Path(__file__).parents[3], - 'archetypes', - 'cloudbreak', - parameters_file) - self._environment_type = 'workload' - - def test_a_workload_log_analytics_creation(self): - - self.set_resource_to_deploy('la', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, True) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_b_workload_nsg_creation(self): - - self.set_resource_to_deploy('nsg', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_c_workload_network_creation(self): - - self.set_resource_to_deploy('workload-net', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_d_workload_kv_creation(self): - - self.set_resource_to_deploy('kv', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_e_workload_cloudbreak_creation(self): - - self.set_resource_to_deploy('cb', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_f_workload_kdc_creation(self): - - self.set_resource_to_deploy('kdc', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - -#------------------------------------------------------------------------------ -if __name__ == '__main__': - unittest.main() \ No newline at end of file diff --git a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_a_workload_log_analytics_creation.yaml b/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_a_workload_log_analytics_creation.yaml deleted file mode 100644 index 791e7faa3..000000000 --- a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_a_workload_log_analytics_creation.yaml +++ /dev/null @@ -1,805 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vdc-storage-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Fri, 15 Feb 2019 08:18:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"sku": {"name": "Standard_LRS"}, "kind": "BlobStorage", "location": "Central - US", "properties": {"encryption": {"services": {"blob": {"enabled": true}}, - "keySource": "Microsoft.Storage"}, "accessTier": "Cool", "supportsHttpsTrafficOnly": - true, "isHnsEnabled": false}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['268'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage?api-version=2018-02-01 - response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"BlobStorage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage","name":"storage","type":"Microsoft.Storage/storageAccounts","location":"centralus","tags":{},"properties":{"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2019-01-11T18:35:45.2178641Z"},"blob":{"enabled":true,"lastEnabledTime":"2019-01-11T18:35:45.2178641Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Cool","provisioningState":"Succeeded","creationTime":"2019-01-11T18:35:45.1084128Z","primaryEndpoints":{"dfs":"https://storage.dfs.core.windows.net/","blob":"https://storage.blob.core.windows.net/","table":"https://storage.table.core.windows.net/"},"primaryLocation":"centralus","statusOfPrimary":"available"}}'} - headers: - cache-control: [no-cache] - content-length: ['1039'] - content-type: [application/json] - date: ['Fri, 15 Feb 2019 08:18:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Fri, 15 Feb 2019 08:18:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Fri, 15 Feb 2019 08:18:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-la-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Fri, 15 Feb 2019 08:18:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "SharedServicesOpsPermittedResourceTypes", - "description": "Policy to prevent the creation of unauthorized resource types - within the resource group.", "policyRule": {"if": {"not": {"field": "type", - "in": ["Microsoft.OperationalInsights/workspaces", "Microsoft.Network/networkWatchers"]}}, - "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['382'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"SharedServicesOpsPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.OperationalInsights/workspaces","Microsoft.Network/networkWatchers"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"SharedServicesOpsPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "SharedServicesOpsPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes"}, - "name": "SharedServicesOpsPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['294'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesOpsPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"SharedServicesOpsPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesOpsPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"SharedServicesOpsPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['654'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "denyPublicIP", "description": "Policy to - prevent the creation of public ip resources", "policyRule": {"if": {"field": - "type", "in": ["Microsoft.Network/publicIPAddresses"]}, "then": {"effect": "audit"}}, - "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['269'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"denyPublicIP","policyType":"Custom","description":"Policy - to prevent the creation of public ip resources","metadata":{"category":"VDC"},"policyRule":{"if":{"field":"type","in":["Microsoft.Network/publicIPAddresses"]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","type":"Microsoft.Authorization/policyDefinitions","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['472'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "denyPublicIP", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP"}, - "name": "denyPublicIP"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['213'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"denyPublicIP","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP","type":"Microsoft.Authorization/policyAssignments","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {"deployment-prefix": {"type": "string", - "metadata": {"description": "Deployment prefix. E.g. Organization-DeploymentType"}}, - "service-tier": {"type": "string", "allowedValues": ["Free", "Standalone", "PerNode"], - "metadata": {"description": "Service Tier: Free, Standalone, or PerNode"}}, - "data-retention": {"type": "int", "defaultValue": 30, "minValue": 7, "maxValue": - 730, "metadata": {"description": "Number of days data will be retained for."}}, - "location": {"type": "string", "allowedValues": ["Australia Southeast", "Canada - Central", "Central India", "East US", "Japan East", "Southeast Asia", "UK South", - "West Europe", "West US 2"], "metadata": {"description": "Region used when establishing - the workspace."}}, "sas-key": {"defaultValue": "se=2019-02-16T00%3A18%3A36Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=JwYBirxaJJNuvCNWb2W/ARclpuwh8WTcAgpS7aOAoa4%3D", - "type": "string"}, "output-params-storage-key": {"defaultValue": "abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==", - "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", - "type": "string"}}, "variables": {"oms-workspace-name": "[concat(parameters(\''deployment-prefix\''), - \''-la\'')]"}, "resources": [{"apiVersion": "2017-03-15-preview", "name": "[variables(\''oms-workspace-name\'')]", - "location": "[parameters(\''location\'')]", "tags": {}, "type": "Microsoft.OperationalInsights/workspaces", - "properties": {"sku": {"Name": "[parameters(\''service-tier\'')]"}, "retention": - "[parameters(\''data-retention\'')]"}}], "outputs": {"oms-id": {"type": "string", - "value": "[resourceId(\''Microsoft.OperationalInsights/workspaces\'', variables(\''oms-workspace-name\''))]"}, - "oms-workspace-resourceGroup": {"type": "string", "value": "[resourceGroup().name]"}, - "oms-workspace-name": {"type": "string", "value": "[variables(\''oms-workspace-name\'')]"}, - "oms-workspace-id": {"type": "string", "value": "[reference(resourceId(\''Microsoft.OperationalInsights/workspaces\'', - variables(\''oms-workspace-name\'')), \''2015-03-20\'').customerId]"}, "oms-primary-shared-key": - {"type": "string", "value": "[listKeys(resourceId(\''Microsoft.OperationalInsights/workspaces\'', - variables(\''oms-workspace-name\'')), \''2015-03-20\'').primarySharedKey]"}}}, - "parameters": {"deployment-prefix": {"value": "org-iaas"}, "data-retention": - {"value": 30}, "location": {"value": "West US 2"}, "service-tier": {"value": - "PerNode"}, "sas-key": {"value": "se=2019-02-16T00%3A18%3A36Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=JwYBirxaJJNuvCNWb2W/ARclpuwh8WTcAgpS7aOAoa4%3D"}, - "output-params-storage-key": {"value": "abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="}, - "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['2931'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-la-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-la?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-la","name":"org-workload-iaas-deployment-la","properties":{"templateHash":"7373821363752239923","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"service-tier":{"type":"String","value":"PerNode"},"data-retention":{"type":"Int","value":30},"location":{"type":"String","value":"West - US 2"},"sas-key":{"type":"String","value":"se=2019-02-16T00%3A18%3A36Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=JwYBirxaJJNuvCNWb2W/ARclpuwh8WTcAgpS7aOAoa4%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-15T08:18:50.398877Z","duration":"PT0.3804179S","correlationId":"a8ebce77-6ced-49e2-935f-70f3d5780e07","providers":[{"namespace":"Microsoft.OperationalInsights","resourceTypes":[{"resourceType":"workspaces","locations":["westus2"]}]}],"dependencies":[]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-la-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-la/operationStatuses/08586513881554591665?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['1195'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:18:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-la-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-la/operationStatuses/08586513881554591665?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:19:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-la-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-la?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-la","name":"org-workload-iaas-deployment-la","properties":{"templateHash":"7373821363752239923","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"service-tier":{"type":"String","value":"PerNode"},"data-retention":{"type":"Int","value":30},"location":{"type":"String","value":"West - US 2"},"sas-key":{"type":"String","value":"se=2019-02-16T00%3A18%3A36Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=JwYBirxaJJNuvCNWb2W/ARclpuwh8WTcAgpS7aOAoa4%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-15T08:19:07.8816832Z","duration":"PT17.8632241S","correlationId":"a8ebce77-6ced-49e2-935f-70f3d5780e07","providers":[{"namespace":"Microsoft.OperationalInsights","resourceTypes":[{"resourceType":"workspaces","locations":["westus2"]}]}],"dependencies":[],"outputs":{"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-iaas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-iaas-la"},"oms-workspace-id":{"type":"String","value":"1c8a86f6-69c5-4299-82b6-8f06db51a757"},"oms-primary-shared-key":{"type":"String","value":"U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['1950'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 15 Feb 2019 08:19:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Fri, 15 Feb 2019 08:19:21 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Fri, 15 Feb 2019 08:19:21 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"}, - "oms-workspace-resourceGroup": { "value": "org-iaas-la-rg"}, "oms-workspace-name": - { "value": "org-iaas-la"}, "oms-workspace-id": { "value": "1c8a86f6-69c5-4299-82b6-8f06db51a757"}, - "oms-primary-shared-key": { "value": "U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="}}\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['498'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Fri, 15 Feb 2019 08:19:22 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [vtd6B1BpcvV1ZYjlkvUiLw==] - date: ['Fri, 15 Feb 2019 08:19:21 GMT'] - etag: ['"0x8D6931E4A3E9926"'] - last-modified: ['Fri, 15 Feb 2019 08:19:22 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_b_workload_nsg_creation.yaml b/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_b_workload_nsg_creation.yaml deleted file mode 100644 index d4592590d..000000000 --- a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_b_workload_nsg_creation.yaml +++ /dev/null @@ -1,632 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:26:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:26:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:26:10 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"}, - "oms-workspace-resourceGroup": { "value": "org-iaas-la-rg"}, "oms-workspace-name": - { "value": "org-iaas-la"}, "oms-workspace-id": { "value": "1c8a86f6-69c5-4299-82b6-8f06db51a757"}, - "oms-primary-shared-key": { "value": "U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['498'] - content-range: [bytes 0-497/498] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:26:09 GMT'] - etag: ['"0x8D678C3CDD6B4EC"'] - last-modified: ['Sat, 12 Jan 2019 19:26:08 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [vtd6B1BpcvV1ZYjlkvUiLw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 17:56:48 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 19:26:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '!!! The request body has been omitted from the recording because its size - 17873 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['13615'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-nsg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-nsg","name":"org-workload-iaas-deployment-nsg","properties":{"templateHash":"18394180225761920319","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"deployment-name":{"type":"String","value":"iaas"},"network-security-groups":{"type":"Array","value":[{"name":"default","rules":[{"name":"allow-azure-loadbalancer","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"VirtualNetwork","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":100,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"AzureLoadBalancer","sourceApplicationSecurityGroups":[]}},{"name":"allow-vnet-to-web","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["80","443"],"destinationApplicationSecurityGroups":[{"name":"web"}],"direction":"Inbound","priority":110,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-web-to-business","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["80","443"],"destinationApplicationSecurityGroups":[{"name":"business"}],"direction":"Inbound","priority":120,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"","sourceApplicationSecurityGroups":[{"name":"web"}]}},{"name":"allow-business-to-data","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"1433","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"data"}],"direction":"Inbound","priority":130,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"","sourceApplicationSecurityGroups":[{"name":"business"}]}},{"name":"allow-rdp","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"VirtualNetwork","destinationPortRange":"3389","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":200,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"10.4.0.32/27","sourceApplicationSecurityGroups":[]}},{"name":"allow-ssh","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"VirtualNetwork","destinationPortRange":"22","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":210,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"10.4.0.32/27","sourceApplicationSecurityGroups":[]}},{"name":"allow-within-vnet","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"10.4.2.0/27","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":220,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"10.4.2.0/27","sourceApplicationSecurityGroups":[]}},{"name":"deny-internet","properties":{"access":"Deny","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":4095,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"Internet","sourceApplicationSecurityGroups":[]}},{"name":"deny-vnet","properties":{"access":"Deny","destinationAddressPrefixes":[],"destinationAddressPrefix":"VirtualNetwork","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":4096,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}}]}]},"application-security-groups":{"type":"Array","value":[{"name":"web"},{"name":"business"},{"name":"data"}]},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"},"data-retention":{"type":"Int","value":30},"oms-workspace-resourceGroup":{"type":"String","value":"org-iaas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-iaas-la"},"oms-workspace-id":{"type":"String","value":"1c8a86f6-69c5-4299-82b6-8f06db51a757"},"oms-primary-shared-key":{"type":"String","value":"U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A26%3A09Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=/Zff56antdnH08nqwfvOv4c8YupsC%2B9Hzy3gRg713/A%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T19:26:13.3286873Z","duration":"PT0.8836684S","correlationId":"3d2e58dc-9636-4447-894f-59bfdf971ffd","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"applicationSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups/providers/diagnosticSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-iaas-web-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-iaas-web-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-iaas-business-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-iaas-business-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-iaas-data-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-iaas-data-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Storage/storageAccounts/iaasdiagwoklz4nqurmsawo","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"iaasdiagwoklz4nqurmsawo"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-iaas-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-iaas-default-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-iaas-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-iaas-default-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-iaas-default-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"org-iaas-default-nsg/Microsoft.Insights/service"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-nsg/operationStatuses/08586542857130326438?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['7850'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:26:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-nsg/operationStatuses/08586542857130326438?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:26:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-nsg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-nsg","name":"org-workload-iaas-deployment-nsg","properties":{"templateHash":"18394180225761920319","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"deployment-name":{"type":"String","value":"iaas"},"network-security-groups":{"type":"Array","value":[{"name":"default","rules":[{"name":"allow-azure-loadbalancer","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"VirtualNetwork","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":100,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"AzureLoadBalancer","sourceApplicationSecurityGroups":[]}},{"name":"allow-vnet-to-web","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["80","443"],"destinationApplicationSecurityGroups":[{"name":"web"}],"direction":"Inbound","priority":110,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}},{"name":"allow-web-to-business","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["80","443"],"destinationApplicationSecurityGroups":[{"name":"business"}],"direction":"Inbound","priority":120,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"","sourceApplicationSecurityGroups":[{"name":"web"}]}},{"name":"allow-business-to-data","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"1433","destinationPortRanges":[],"destinationApplicationSecurityGroups":[{"name":"data"}],"direction":"Inbound","priority":130,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"","sourceApplicationSecurityGroups":[{"name":"business"}]}},{"name":"allow-rdp","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"VirtualNetwork","destinationPortRange":"3389","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":200,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"10.4.0.32/27","sourceApplicationSecurityGroups":[]}},{"name":"allow-ssh","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"VirtualNetwork","destinationPortRange":"22","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":210,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"10.4.0.32/27","sourceApplicationSecurityGroups":[]}},{"name":"allow-within-vnet","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"10.4.2.0/27","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":220,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"10.4.2.0/27","sourceApplicationSecurityGroups":[]}},{"name":"deny-internet","properties":{"access":"Deny","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":4095,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"Internet","sourceApplicationSecurityGroups":[]}},{"name":"deny-vnet","properties":{"access":"Deny","destinationAddressPrefixes":[],"destinationAddressPrefix":"VirtualNetwork","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":4096,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}}]}]},"application-security-groups":{"type":"Array","value":[{"name":"web"},{"name":"business"},{"name":"data"}]},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"},"data-retention":{"type":"Int","value":30},"oms-workspace-resourceGroup":{"type":"String","value":"org-iaas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-iaas-la"},"oms-workspace-id":{"type":"String","value":"1c8a86f6-69c5-4299-82b6-8f06db51a757"},"oms-primary-shared-key":{"type":"String","value":"U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A26%3A09Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=/Zff56antdnH08nqwfvOv4c8YupsC%2B9Hzy3gRg713/A%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T19:26:29.9422224Z","duration":"PT17.4972035S","correlationId":"3d2e58dc-9636-4447-894f-59bfdf971ffd","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"applicationSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups/providers/diagnosticSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-iaas-web-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-iaas-web-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-iaas-business-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-iaas-business-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-iaas-data-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-iaas-data-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Storage/storageAccounts/iaasdiagwoklz4nqurmsawo","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"iaasdiagwoklz4nqurmsawo"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-iaas-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-iaas-default-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-iaas-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-iaas-default-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-iaas-default-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"org-iaas-default-nsg/Microsoft.Insights/service"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-iaas-business-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-iaas-data-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-iaas-web-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-iaas-default-nsg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-iaas-default-nsg/providers/Microsoft.Insights/diagnosticSettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Storage/storageAccounts/iaasdiagwoklz4nqurmsawo"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['8966'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:26:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:26:44 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 19:26:44 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 19:26:45 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/nsg/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Sat, 12 Jan 2019 19:26:45 GMT'] - etag: ['"0x8D678C3E388C75E"'] - last-modified: ['Sat, 12 Jan 2019 19:26:45 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_c_workload_network_creation.yaml b/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_c_workload_network_creation.yaml deleted file mode 100644 index 78a1eb62c..000000000 --- a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_c_workload_network_creation.yaml +++ /dev/null @@ -1,716 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:26:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:26:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:26:45 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/nsg/azureDeploy.parameters.output.json - response: - body: {string: '{}'} - headers: - accept-ranges: [bytes] - content-length: ['2'] - content-range: [bytes 0-1/2] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:26:46 GMT'] - etag: ['"0x8D678C3E388C75E"'] - last-modified: ['Sat, 12 Jan 2019 19:26:45 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:01:01 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 19:26:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "workloadNetPermittedResourceTypes", "description": - "Policy to prevent the creation of unauthorized resource types within the resource - group.", "policyRule": {"if": {"not": {"field": "type", "in": ["Microsoft.Network/routeTables", - "Microsoft.Network/networkSecurityGroups", "Microsoft.Network/applicationSecurityGroups", - "Microsoft.Network/virtualNetworks"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['455'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"workloadNetPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.Network/routeTables","Microsoft.Network/networkSecurityGroups","Microsoft.Network/applicationSecurityGroups","Microsoft.Network/virtualNetworks"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"workloadNetPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['696'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:26:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "workloadNetPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes"}, - "name": "workloadNetPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['276'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Authorization/policyAssignments/workloadNetPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"workloadNetPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Authorization/policyAssignments/workloadNetPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"workloadNetPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['632'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:26:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 21220 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['9906'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-workload-net?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-workload-net","name":"org-workload-iaas-deployment-workload-net","properties":{"templateHash":"9908216404498866526","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"deployment-name":{"type":"String","value":"iaas"},"vnet-address-prefix":{"type":"String","value":"10.4.2.0/24"},"subnets":{"type":"Array","value":[{"name":"default","address-prefix":"10.4.2.0/27","network-security-group":"default","user-defined-route":"default","service-endpoints":[]}]},"user-defined-routes":{"type":"Array","value":[{"name":"default","routes":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]}]},"vnet-dns-servers":{"type":"Array","value":["10.4.0.48"]},"enable-ddos-protection":{"type":"Bool","value":true},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-vnet-rg":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"deploy-azure-firewall-networkRules-collection":{"type":"Bool","value":false},"azure-firewall-networkRules-collection":{"type":"Array","value":[{"name":"[concat(''allow-onprem-rdp-'' - , parameters(''deployment-name''))]","properties":{"priority":210,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-rdp","protocols":["TCP"],"sourceAddresses":["192.168.1.4"],"destinationAddresses":["10.4.2.0/24"],"destinationPorts":["3389"]}]}},{"name":"allow-onprem-http-iaas","properties":{"priority":220,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-http","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.4.2.0/24"],"destinationPorts":["80","443"]}]}},{"name":"deny-onprem-default-iaas","properties":{"priority":230,"action":{"type":"Deny"},"rules":[{"name":"deny-onprem-default","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.4.2.0/24"],"destinationPorts":["*"]}]}}]},"shared-services-gateway-udr":{"type":"Array","value":[{"name":"to-workload-iaas","properties":{"addressPrefix":"10.4.2.0/27","nextHopType":"VnetLocal"}}]},"shared-services-gateway-udr-name":{"type":"String","value":"org-ssvcs-gw-udr"},"shared-services-azure-firewall-ip-address":{"type":"String","value":"10.4.1.4"},"shared-services-azure-firewall-name":{"type":"String","value":"org-ssvcs-az-fw"},"on-premises-allow-rdp-address-range":{"type":"String","value":"192.168.1.4"},"on-premises-address-range":{"type":"String","value":"192.168.1.0/28"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A26%3A45Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=x19JYfWxBLiJvvli46GTmFhAbc1uJ9E58Zxbpeq/UyE%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T19:26:49.7425728Z","duration":"PT0.8910318S","correlationId":"4905ebf8-34db-4ea5-97bf-7f23a0e667a5","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centralus"]},{"resourceType":"virtualNetworks/virtualNetworkPeerings","locations":["centralus"]},{"resourceType":"routeTables","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/routeTables/org-iaas-default-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"org-iaas-default-udr"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-iaas-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-iaas-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet/virtualNetworkPeerings/peering-to-shared-services-vnet","resourceType":"Microsoft.Network/virtualNetworks/virtualNetworkPeerings","resourceName":"org-iaas-vnet/peering-to-shared-services-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-iaas-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedServicesWorkloadPeering","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedServicesWorkloadPeering"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-workload-net/operationStatuses/08586542856766261313?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['5531'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:26:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-workload-net/operationStatuses/08586542856766261313?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:27:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-workload-net/operationStatuses/08586542856766261313?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:27:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-workload-net?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-workload-net","name":"org-workload-iaas-deployment-workload-net","properties":{"templateHash":"9908216404498866526","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"deployment-name":{"type":"String","value":"iaas"},"vnet-address-prefix":{"type":"String","value":"10.4.2.0/24"},"subnets":{"type":"Array","value":[{"name":"default","address-prefix":"10.4.2.0/27","network-security-group":"default","user-defined-route":"default","service-endpoints":[]}]},"user-defined-routes":{"type":"Array","value":[{"name":"default","routes":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]}]},"vnet-dns-servers":{"type":"Array","value":["10.4.0.48"]},"enable-ddos-protection":{"type":"Bool","value":true},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-vnet-rg":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"deploy-azure-firewall-networkRules-collection":{"type":"Bool","value":false},"azure-firewall-networkRules-collection":{"type":"Array","value":[{"name":"[concat(''allow-onprem-rdp-'' - , parameters(''deployment-name''))]","properties":{"priority":210,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-rdp","protocols":["TCP"],"sourceAddresses":["192.168.1.4"],"destinationAddresses":["10.4.2.0/24"],"destinationPorts":["3389"]}]}},{"name":"allow-onprem-http-iaas","properties":{"priority":220,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-http","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.4.2.0/24"],"destinationPorts":["80","443"]}]}},{"name":"deny-onprem-default-iaas","properties":{"priority":230,"action":{"type":"Deny"},"rules":[{"name":"deny-onprem-default","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.4.2.0/24"],"destinationPorts":["*"]}]}}]},"shared-services-gateway-udr":{"type":"Array","value":[{"name":"to-workload-iaas","properties":{"addressPrefix":"10.4.2.0/27","nextHopType":"VnetLocal"}}]},"shared-services-gateway-udr-name":{"type":"String","value":"org-ssvcs-gw-udr"},"shared-services-azure-firewall-ip-address":{"type":"String","value":"10.4.1.4"},"shared-services-azure-firewall-name":{"type":"String","value":"org-ssvcs-az-fw"},"on-premises-allow-rdp-address-range":{"type":"String","value":"192.168.1.4"},"on-premises-address-range":{"type":"String","value":"192.168.1.0/28"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A26%3A45Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=x19JYfWxBLiJvvli46GTmFhAbc1uJ9E58Zxbpeq/UyE%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T19:27:22.8974754Z","duration":"PT34.0459344S","correlationId":"4905ebf8-34db-4ea5-97bf-7f23a0e667a5","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centralus"]},{"resourceType":"virtualNetworks/virtualNetworkPeerings","locations":["centralus"]},{"resourceType":"routeTables","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/routeTables/org-iaas-default-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"org-iaas-default-udr"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-iaas-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-iaas-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet/virtualNetworkPeerings/peering-to-shared-services-vnet","resourceType":"Microsoft.Network/virtualNetworks/virtualNetworkPeerings","resourceName":"org-iaas-vnet/peering-to-shared-services-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-iaas-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedServicesWorkloadPeering","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedServicesWorkloadPeering"}],"outputs":{"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet"},"vnet-name":{"type":"String","value":"org-iaas-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-iaas-net-rg"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet/virtualNetworkPeerings/peering-to-iaas-vnet"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/routeTables/org-iaas-default-udr"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet/virtualNetworkPeerings/peering-to-shared-services-vnet"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['6617'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:27:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:27:51 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 19:27:51 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet"}, - "vnet-name": { "value": "org-iaas-vnet"}, "vnet-resourceGroup": { "value": "org-iaas-net-rg"}}\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['278'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 19:27:51 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [uClHJrnYO8dtCvjP2FeBnQ==] - date: ['Sat, 12 Jan 2019 19:27:51 GMT'] - etag: ['"0x8D678C40B62C466"'] - last-modified: ['Sat, 12 Jan 2019 19:27:51 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_d_workload_kv_creation.yaml b/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_d_workload_kv_creation.yaml deleted file mode 100644 index 940837c7b..000000000 --- a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_d_workload_kv_creation.yaml +++ /dev/null @@ -1,752 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:27:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:27:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:27:52 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"}, - "oms-workspace-resourceGroup": { "value": "org-iaas-la-rg"}, "oms-workspace-name": - { "value": "org-iaas-la"}, "oms-workspace-id": { "value": "1c8a86f6-69c5-4299-82b6-8f06db51a757"}, - "oms-primary-shared-key": { "value": "U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['498'] - content-range: [bytes 0-497/498] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:27:52 GMT'] - etag: ['"0x8D678C3CDD6B4EC"'] - last-modified: ['Sat, 12 Jan 2019 19:26:08 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [vtd6B1BpcvV1ZYjlkvUiLw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 17:56:48 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-kv-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 19:27:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "kvPermittedResourceTypes", "description": - "Policy to prevent the creation of unauthorized resource types within the resource - group.", "policyRule": {"if": {"not": {"field": "type", "in": ["Microsoft.KeyVault/vaults", - "Microsoft.Storage/storageAccounts"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['360'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"kvPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.KeyVault/vaults","Microsoft.Storage/storageAccounts"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"kvPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['601'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:27:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "kvPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes"}, - "name": "kvPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['273'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Authorization/policyAssignments/kvPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"kvPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Authorization/policyAssignments/kvPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"kvPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['626'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:27:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "denyPublicIP", "description": "Policy to - prevent the creation of public ip resources", "policyRule": {"if": {"field": - "type", "in": ["Microsoft.Network/publicIPAddresses"]}, "then": {"effect": "audit"}}, - "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['269'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"denyPublicIP","policyType":"Custom","description":"Policy - to prevent the creation of public ip resources","metadata":{"category":"VDC"},"policyRule":{"if":{"field":"type","in":["Microsoft.Network/publicIPAddresses"]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","type":"Microsoft.Authorization/policyDefinitions","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['472'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:27:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "denyPublicIP", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP"}, - "name": "denyPublicIP"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['213'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"denyPublicIP","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP","type":"Microsoft.Authorization/policyAssignments","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:27:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 15438 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['8034'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-kv-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-kv?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-kv","name":"org-workload-iaas-deployment-kv","properties":{"templateHash":"15440160885711691025","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"oms-workspace-resourceGroup":{"type":"String","value":"org-iaas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-iaas-la"},"access-policies":{"type":"Array","value":[{"objectId":"00000000-0000-0000-0000-000000000000","permissions":{"certificates":["All"],"keys":["All"],"secrets":["All"]},"tenantId":"00000000-0000-0000-0000-000000000000"}]},"logs-retention-in-days":{"type":"Int","value":30},"enable-vault-for-deployment":{"type":"Bool","value":true},"enable-vault-for-templateDeployment":{"type":"Bool","value":true},"enable-vault-for-diskEncryption":{"type":"Bool","value":true},"vault-sku":{"type":"String","value":"Premium"},"secrets-object":{"type":"SecureObject"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"},"oms-workspace-id":{"type":"String","value":"1c8a86f6-69c5-4299-82b6-8f06db51a757"},"oms-primary-shared-key":{"type":"String","value":"U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A27%3A52Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=unczFcKf4mzQh8Di/CIuuTdMZYAOcRlYlZQqpmpR32Q%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T19:27:57.4801559Z","duration":"PT0.4028771S","correlationId":"2d28b793-e79b-42ed-a013-bc297c3c25e5","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]},{"namespace":"Microsoft.KeyVault","resourceTypes":[{"resourceType":"vaults","locations":["centralus"]},{"resourceType":"vaults/providers/diagnosticsettings","locations":["centralus"]},{"resourceType":"vaults/providers/locks","locations":[null]},{"resourceType":"vaults/secrets","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-iaas-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgiaaskvdiagai5we7","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgiaaskvdiagai5we7"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.KeyVault/vaults/providers/diagnosticsettings","resourceName":"org-iaas-kv/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-iaas-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete","resourceType":"Microsoft.KeyVault/vaults/providers/locks","resourceName":"org-iaas-kv/Microsoft.Authorization/keyVaultDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgiaaskvdiagai5we7","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgiaaskvdiagai5we7"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgiaaskvdiagai5we7/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"orgiaaskvdiagai5we7/Microsoft.Authorization/storageDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-iaas-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv/secrets/admin-user","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-iaas-kv/admin-user"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-kv-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-kv/operationStatuses/08586542856084003903?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['5086'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:27:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-kv-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-kv/operationStatuses/08586542856084003903?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:28:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-kv-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-kv?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-kv","name":"org-workload-iaas-deployment-kv","properties":{"templateHash":"15440160885711691025","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"oms-workspace-resourceGroup":{"type":"String","value":"org-iaas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-iaas-la"},"access-policies":{"type":"Array","value":[{"objectId":"00000000-0000-0000-0000-000000000000","permissions":{"certificates":["All"],"keys":["All"],"secrets":["All"]},"tenantId":"00000000-0000-0000-0000-000000000000"}]},"logs-retention-in-days":{"type":"Int","value":30},"enable-vault-for-deployment":{"type":"Bool","value":true},"enable-vault-for-templateDeployment":{"type":"Bool","value":true},"enable-vault-for-diskEncryption":{"type":"Bool","value":true},"vault-sku":{"type":"String","value":"Premium"},"secrets-object":{"type":"SecureObject"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"},"oms-workspace-id":{"type":"String","value":"1c8a86f6-69c5-4299-82b6-8f06db51a757"},"oms-primary-shared-key":{"type":"String","value":"U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A27%3A52Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=unczFcKf4mzQh8Di/CIuuTdMZYAOcRlYlZQqpmpR32Q%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T19:28:18.6505948Z","duration":"PT21.573316S","correlationId":"2d28b793-e79b-42ed-a013-bc297c3c25e5","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]},{"namespace":"Microsoft.KeyVault","resourceTypes":[{"resourceType":"vaults","locations":["centralus"]},{"resourceType":"vaults/providers/diagnosticsettings","locations":["centralus"]},{"resourceType":"vaults/providers/locks","locations":[null]},{"resourceType":"vaults/secrets","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-iaas-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgiaaskvdiagai5we7","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgiaaskvdiagai5we7"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.KeyVault/vaults/providers/diagnosticsettings","resourceName":"org-iaas-kv/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-iaas-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete","resourceType":"Microsoft.KeyVault/vaults/providers/locks","resourceName":"org-iaas-kv/Microsoft.Authorization/keyVaultDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgiaaskvdiagai5we7","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgiaaskvdiagai5we7"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgiaaskvdiagai5we7/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"orgiaaskvdiagai5we7/Microsoft.Authorization/storageDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-iaas-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv/secrets/admin-user","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-iaas-kv/admin-user"}],"outputs":{"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"kv-name":{"type":"String","value":"org-iaas-kv"},"kv-resourceGroup":{"type":"String","value":"org-iaas-kv-rg"},"kv-uri":{"type":"String","value":"https://org-iaas-kv.vault.azure.net/"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv/providers/Microsoft.Insights/diagnosticsettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv/secrets/admin-user"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgiaaskvdiagai5we7"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgiaaskvdiagai5we7/providers/Microsoft.Authorization/locks/storageDoNotDelete"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['6599'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:28:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:28:28 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 19:28:28 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"}, - "kv-name": { "value": "org-iaas-kv"}, "kv-resourceGroup": { "value": "org-iaas-kv-rg"}, - "kv-uri": { "value": "https://org-iaas-kv.vault.azure.net/"}}\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['324'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 19:28:29 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/kv/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [cJl7mCzm+a2jx3KBeE9QVg==] - date: ['Sat, 12 Jan 2019 19:28:28 GMT'] - etag: ['"0x8D678C421A37D4A"'] - last-modified: ['Sat, 12 Jan 2019 19:28:29 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_e_workload_vmapp_web_lb_creation.yaml b/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_e_workload_vmapp_web_lb_creation.yaml deleted file mode 100644 index af578d522..000000000 --- a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_e_workload_vmapp_web_lb_creation.yaml +++ /dev/null @@ -1,1361 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:28:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:28:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:28:30 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/kv/azureDeploy.parameters.output.json - response: - body: {string: '{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"}, - "kv-name": { "value": "org-iaas-kv"}, "kv-resourceGroup": { "value": "org-iaas-kv-rg"}, - "kv-uri": { "value": "https://org-iaas-kv.vault.azure.net/"}}'} - headers: - accept-ranges: [bytes] - content-length: ['324'] - content-range: [bytes 0-323/324] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:28:29 GMT'] - etag: ['"0x8D678C421A37D4A"'] - last-modified: ['Sat, 12 Jan 2019 19:28:29 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [cJl7mCzm+a2jx3KBeE9QVg==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:03:18 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:28:30 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet"}, - "vnet-name": { "value": "org-iaas-vnet"}, "vnet-resourceGroup": { "value": - "org-iaas-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['278'] - content-range: [bytes 0-277/278] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:28:30 GMT'] - etag: ['"0x8D678C40B62C466"'] - last-modified: ['Sat, 12 Jan 2019 19:27:51 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [uClHJrnYO8dtCvjP2FeBnQ==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:02:09 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:28:30 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"}, - "oms-workspace-resourceGroup": { "value": "org-iaas-la-rg"}, "oms-workspace-name": - { "value": "org-iaas-la"}, "oms-workspace-id": { "value": "1c8a86f6-69c5-4299-82b6-8f06db51a757"}, - "oms-primary-shared-key": { "value": "U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['498'] - content-range: [bytes 0-497/498] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:28:30 GMT'] - etag: ['"0x8D678C3CDD6B4EC"'] - last-modified: ['Sat, 12 Jan 2019 19:26:08 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [vtd6B1BpcvV1ZYjlkvUiLw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 17:56:48 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 19:28:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '!!! The request body has been omitted from the recording because its size - 51620 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['28677'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb","name":"org-workload-iaas-deployment-vmapp-web-lb","properties":{"templateHash":"7077140617376515531","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A28%3A29Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=OmPTRKsRCrm60rSxGWsET0dacErjqamCgRDTGBpV5aQ%3D"},"output-params-storage-account-name":{"type":"String","value":"storage"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-iaas-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"extension-name":{"type":"String","value":"web-app"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"secretName":"admin-user"}},"virtualMachine-size":{"type":"String","value":"Standard_DS1_v2"},"virtualMachine-count":{"type":"Int","value":2},"oms-workspace-id":{"type":"String","value":"1c8a86f6-69c5-4299-82b6-8f06db51a757"},"oms-primary-shared-key":{"type":"String","value":"U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="},"kv-uri":{"type":"String","value":"https://org-iaas-kv.vault.azure.net/"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"aad-principal-id":{"type":"String","value":""},"aad-certificate-thumb":{"type":"String","value":""},"aad-certificate-url":{"type":"String","value":""},"vmapp-lb-key":{"type":"String","value":""},"os-type":{"type":"String","value":"Windows"},"os-image":{"type":"Object","value":{"offer":"WindowsServer","publisher":"MicrosoftWindowsServer","sku":"2016-Datacenter"}},"domain-name":{"type":"String","value":"org.com"},"domain-admin-user":{"type":"String","value":"org"},"domain-admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"org"}},"vmapp-lb-backend-pool-name":{"type":"String","value":"web-pool"},"vmapp-start-ip-address":{"type":"String","value":"10.4.2.4"},"asg-name":{"type":"String","value":"web"},"enable-encryption":{"type":"Bool","value":false},"encryption-secrets":{"type":"Array","value":[{"sourceVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"vaultCertificates":[{"certificateUrl":"","certificateStore":"My"}]}]},"empty-array":{"type":"Array","value":[]},"vmapp-lb-ip-address":{"type":"String","value":"10.4.2.8"},"kv-name":{"type":"String","value":"org-iaas-kv"},"kv-resourceGroup":{"type":"String","value":"org-iaas-kv-rg"},"vnet-name":{"type":"String","value":"org-iaas-vnet"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-iaas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-iaas-la"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T19:28:34.9871538Z","duration":"PT1.0893209S","correlationId":"21c2f313-a259-4430-9670-6ff90d169c63","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["centralus"]},{"resourceType":"networkInterfaces","locations":["centralus"]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/loadBalancers/org-iaas-web-app-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-iaas-web-app-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-web-app-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-web-app-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/loadBalancers/org-iaas-web-app-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-iaas-web-app-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-web-app-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-web-app-vm2-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/availabilitySets/web-app-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"web-app-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-web-app-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-web-app-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Storage/storageAccounts/webappdiagbthjug3vhiuti","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"webappdiagbthjug3vhiuti"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Storage/storageAccounts/webappdiagbthjug3vhiuti","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"webappdiagbthjug3vhiuti","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/availabilitySets/web-app-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"web-app-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-web-app-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-web-app-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Storage/storageAccounts/webappdiagbthjug3vhiuti","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"webappdiagbthjug3vhiuti"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Storage/storageAccounts/webappdiagbthjug3vhiuti","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"webappdiagbthjug3vhiuti","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/vm1OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/vm2OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/vm1NestedDeploymentInstallIIS","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1NestedDeploymentInstallIIS"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/vm2NestedDeploymentInstallIIS","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2NestedDeploymentInstallIIS"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['37586'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:28:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:29:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:29:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:30:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:30:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:31:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:31:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:32:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:32:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:33:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:33:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:34:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:34:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:35:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:35:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:36:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:36:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:37:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:37:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:38:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:38:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:39:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:39:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:40:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:40:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:41:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:41:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:42:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:42:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:43:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb/operationStatuses/08586542855715799106?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:43:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-web-lb","name":"org-workload-iaas-deployment-vmapp-web-lb","properties":{"templateHash":"7077140617376515531","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A28%3A29Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=OmPTRKsRCrm60rSxGWsET0dacErjqamCgRDTGBpV5aQ%3D"},"output-params-storage-account-name":{"type":"String","value":"storage"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-iaas-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"extension-name":{"type":"String","value":"web-app"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"secretName":"admin-user"}},"virtualMachine-size":{"type":"String","value":"Standard_DS1_v2"},"virtualMachine-count":{"type":"Int","value":2},"oms-workspace-id":{"type":"String","value":"1c8a86f6-69c5-4299-82b6-8f06db51a757"},"oms-primary-shared-key":{"type":"String","value":"U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="},"kv-uri":{"type":"String","value":"https://org-iaas-kv.vault.azure.net/"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"aad-principal-id":{"type":"String","value":""},"aad-certificate-thumb":{"type":"String","value":""},"aad-certificate-url":{"type":"String","value":""},"vmapp-lb-key":{"type":"String","value":""},"os-type":{"type":"String","value":"Windows"},"os-image":{"type":"Object","value":{"offer":"WindowsServer","publisher":"MicrosoftWindowsServer","sku":"2016-Datacenter"}},"domain-name":{"type":"String","value":"org.com"},"domain-admin-user":{"type":"String","value":"org"},"domain-admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"org"}},"vmapp-lb-backend-pool-name":{"type":"String","value":"web-pool"},"vmapp-start-ip-address":{"type":"String","value":"10.4.2.4"},"asg-name":{"type":"String","value":"web"},"enable-encryption":{"type":"Bool","value":false},"encryption-secrets":{"type":"Array","value":[{"sourceVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"vaultCertificates":[{"certificateUrl":"","certificateStore":"My"}]}]},"empty-array":{"type":"Array","value":[]},"vmapp-lb-ip-address":{"type":"String","value":"10.4.2.8"},"kv-name":{"type":"String","value":"org-iaas-kv"},"kv-resourceGroup":{"type":"String","value":"org-iaas-kv-rg"},"vnet-name":{"type":"String","value":"org-iaas-vnet"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-iaas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-iaas-la"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T19:43:29.6250092Z","duration":"PT14M55.7271763S","correlationId":"21c2f313-a259-4430-9670-6ff90d169c63","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["centralus"]},{"resourceType":"networkInterfaces","locations":["centralus"]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/loadBalancers/org-iaas-web-app-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-iaas-web-app-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-web-app-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-web-app-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/loadBalancers/org-iaas-web-app-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-iaas-web-app-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-web-app-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-web-app-vm2-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/availabilitySets/web-app-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"web-app-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-web-app-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-web-app-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Storage/storageAccounts/webappdiagbthjug3vhiuti","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"webappdiagbthjug3vhiuti"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Storage/storageAccounts/webappdiagbthjug3vhiuti","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"webappdiagbthjug3vhiuti","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/availabilitySets/web-app-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"web-app-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-web-app-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-web-app-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Storage/storageAccounts/webappdiagbthjug3vhiuti","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"webappdiagbthjug3vhiuti"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Storage/storageAccounts/webappdiagbthjug3vhiuti","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"webappdiagbthjug3vhiuti","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/vm1OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/vm2OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/vm1NestedDeploymentInstallIIS","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1NestedDeploymentInstallIIS"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-web-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/vm2NestedDeploymentInstallIIS","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2NestedDeploymentInstallIIS"}],"outputs":{"app-ilb-ip-address":{"type":"String","value":"10.4.2.8"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/availabilitySets/web-app-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm1/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-web-app-vm2/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/loadBalancers/org-iaas-web-app-lb"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-web-app-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-web-app-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Storage/storageAccounts/webappdiagbthjug3vhiuti"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['41153'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:43:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:43:50 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 19:43:49 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{"app-ilb-ip-address": { "value": "10.4.2.8"}}' - headers: - Connection: [keep-alive] - Content-Length: ['46'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 19:43:50 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/vmapp-web-lb/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [AATJ0PReX+SJN9X4Bjcyxg==] - date: ['Sat, 12 Jan 2019 19:43:49 GMT'] - etag: ['"0x8D678C646CB377E"'] - last-modified: ['Sat, 12 Jan 2019 19:43:50 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_f_workload_vmapp_biz_lb_creation.yaml b/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_f_workload_vmapp_biz_lb_creation.yaml deleted file mode 100644 index 7aac31752..000000000 --- a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_f_workload_vmapp_biz_lb_creation.yaml +++ /dev/null @@ -1,1246 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:43:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:43:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:43:51 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/kv/azureDeploy.parameters.output.json - response: - body: {string: '{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"}, - "kv-name": { "value": "org-iaas-kv"}, "kv-resourceGroup": { "value": "org-iaas-kv-rg"}, - "kv-uri": { "value": "https://org-iaas-kv.vault.azure.net/"}}'} - headers: - accept-ranges: [bytes] - content-length: ['324'] - content-range: [bytes 0-323/324] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:43:52 GMT'] - etag: ['"0x8D678C421A37D4A"'] - last-modified: ['Sat, 12 Jan 2019 19:28:29 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [cJl7mCzm+a2jx3KBeE9QVg==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:03:18 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:43:52 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet"}, - "vnet-name": { "value": "org-iaas-vnet"}, "vnet-resourceGroup": { "value": - "org-iaas-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['278'] - content-range: [bytes 0-277/278] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:43:51 GMT'] - etag: ['"0x8D678C40B62C466"'] - last-modified: ['Sat, 12 Jan 2019 19:27:51 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [uClHJrnYO8dtCvjP2FeBnQ==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:02:09 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:43:52 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"}, - "oms-workspace-resourceGroup": { "value": "org-iaas-la-rg"}, "oms-workspace-name": - { "value": "org-iaas-la"}, "oms-workspace-id": { "value": "1c8a86f6-69c5-4299-82b6-8f06db51a757"}, - "oms-primary-shared-key": { "value": "U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['498'] - content-range: [bytes 0-497/498] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:43:51 GMT'] - etag: ['"0x8D678C3CDD6B4EC"'] - last-modified: ['Sat, 12 Jan 2019 19:26:08 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [vtd6B1BpcvV1ZYjlkvUiLw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 17:56:48 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 19:43:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '!!! The request body has been omitted from the recording because its size - 51636 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['28693'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb","name":"org-workload-iaas-deployment-vmapp-biz-lb","properties":{"templateHash":"7077140617376515531","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A43%3A51Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=S%2Bd%2BkwtPqntf48pISOoKuC%2BHCAsBv0ZC%2Br2%2BgT5Rwxg%3D"},"output-params-storage-account-name":{"type":"String","value":"storage"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-iaas-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"extension-name":{"type":"String","value":"biz-app"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"secretName":"admin-user"}},"virtualMachine-size":{"type":"String","value":"Standard_DS1_v2"},"virtualMachine-count":{"type":"Int","value":2},"oms-workspace-id":{"type":"String","value":"1c8a86f6-69c5-4299-82b6-8f06db51a757"},"oms-primary-shared-key":{"type":"String","value":"U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="},"kv-uri":{"type":"String","value":"https://org-iaas-kv.vault.azure.net/"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"aad-principal-id":{"type":"String","value":""},"aad-certificate-thumb":{"type":"String","value":""},"aad-certificate-url":{"type":"String","value":""},"vmapp-lb-key":{"type":"String","value":""},"os-type":{"type":"String","value":"Windows"},"os-image":{"type":"Object","value":{"offer":"WindowsServer","publisher":"MicrosoftWindowsServer","sku":"2016-Datacenter"}},"domain-name":{"type":"String","value":"org.com"},"domain-admin-user":{"type":"String","value":"org"},"domain-admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"org"}},"vmapp-lb-backend-pool-name":{"type":"String","value":"biz-pool"},"vmapp-start-ip-address":{"type":"String","value":"10.4.2.9"},"asg-name":{"type":"String","value":"business"},"enable-encryption":{"type":"Bool","value":false},"encryption-secrets":{"type":"Array","value":[{"sourceVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"vaultCertificates":[{"certificateUrl":"","certificateStore":"My"}]}]},"empty-array":{"type":"Array","value":[]},"vmapp-lb-ip-address":{"type":"String","value":"10.4.2.16"},"kv-name":{"type":"String","value":"org-iaas-kv"},"kv-resourceGroup":{"type":"String","value":"org-iaas-kv-rg"},"vnet-name":{"type":"String","value":"org-iaas-vnet"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-iaas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-iaas-la"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T19:43:56.3020097Z","duration":"PT1.0320019S","correlationId":"7d95be72-6d2c-4695-a25c-1d043989a8cc","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["centralus"]},{"resourceType":"networkInterfaces","locations":["centralus"]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/loadBalancers/org-iaas-biz-app-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-iaas-biz-app-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-biz-app-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-biz-app-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/loadBalancers/org-iaas-biz-app-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-iaas-biz-app-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-biz-app-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-biz-app-vm2-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/availabilitySets/biz-app-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"biz-app-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-biz-app-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-biz-app-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Storage/storageAccounts/bizappdiagk6gbmoac2gk2i","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"bizappdiagk6gbmoac2gk2i"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Storage/storageAccounts/bizappdiagk6gbmoac2gk2i","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"bizappdiagk6gbmoac2gk2i","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/availabilitySets/biz-app-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"biz-app-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-biz-app-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-biz-app-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Storage/storageAccounts/bizappdiagk6gbmoac2gk2i","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"bizappdiagk6gbmoac2gk2i"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Storage/storageAccounts/bizappdiagk6gbmoac2gk2i","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"bizappdiagk6gbmoac2gk2i","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/vm1OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/vm2OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/vm1NestedDeploymentInstallIIS","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1NestedDeploymentInstallIIS"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/vm2NestedDeploymentInstallIIS","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2NestedDeploymentInstallIIS"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['37602'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:43:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:44:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:44:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:45:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:45:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:46:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:46:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:47:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:47:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:48:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:49:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:49:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:50:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:50:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:51:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:51:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:52:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:52:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:53:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:53:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:54:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:54:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:55:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:55:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:56:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb/operationStatuses/08586542846502077273?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:56:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-vmapp-biz-lb","name":"org-workload-iaas-deployment-vmapp-biz-lb","properties":{"templateHash":"7077140617376515531","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A43%3A51Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=S%2Bd%2BkwtPqntf48pISOoKuC%2BHCAsBv0ZC%2Br2%2BgT5Rwxg%3D"},"output-params-storage-account-name":{"type":"String","value":"storage"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-iaas-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"extension-name":{"type":"String","value":"biz-app"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"secretName":"admin-user"}},"virtualMachine-size":{"type":"String","value":"Standard_DS1_v2"},"virtualMachine-count":{"type":"Int","value":2},"oms-workspace-id":{"type":"String","value":"1c8a86f6-69c5-4299-82b6-8f06db51a757"},"oms-primary-shared-key":{"type":"String","value":"U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="},"kv-uri":{"type":"String","value":"https://org-iaas-kv.vault.azure.net/"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"aad-principal-id":{"type":"String","value":""},"aad-certificate-thumb":{"type":"String","value":""},"aad-certificate-url":{"type":"String","value":""},"vmapp-lb-key":{"type":"String","value":""},"os-type":{"type":"String","value":"Windows"},"os-image":{"type":"Object","value":{"offer":"WindowsServer","publisher":"MicrosoftWindowsServer","sku":"2016-Datacenter"}},"domain-name":{"type":"String","value":"org.com"},"domain-admin-user":{"type":"String","value":"org"},"domain-admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"org"}},"vmapp-lb-backend-pool-name":{"type":"String","value":"biz-pool"},"vmapp-start-ip-address":{"type":"String","value":"10.4.2.9"},"asg-name":{"type":"String","value":"business"},"enable-encryption":{"type":"Bool","value":false},"encryption-secrets":{"type":"Array","value":[{"sourceVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"vaultCertificates":[{"certificateUrl":"","certificateStore":"My"}]}]},"empty-array":{"type":"Array","value":[]},"vmapp-lb-ip-address":{"type":"String","value":"10.4.2.16"},"kv-name":{"type":"String","value":"org-iaas-kv"},"kv-resourceGroup":{"type":"String","value":"org-iaas-kv-rg"},"vnet-name":{"type":"String","value":"org-iaas-vnet"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-iaas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-iaas-la"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T19:56:30.8041396Z","duration":"PT12M35.5341318S","correlationId":"7d95be72-6d2c-4695-a25c-1d043989a8cc","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["centralus"]},{"resourceType":"networkInterfaces","locations":["centralus"]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/loadBalancers/org-iaas-biz-app-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-iaas-biz-app-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-biz-app-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-biz-app-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/loadBalancers/org-iaas-biz-app-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-iaas-biz-app-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-biz-app-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-biz-app-vm2-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/availabilitySets/biz-app-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"biz-app-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-biz-app-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-biz-app-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Storage/storageAccounts/bizappdiagk6gbmoac2gk2i","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"bizappdiagk6gbmoac2gk2i"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Storage/storageAccounts/bizappdiagk6gbmoac2gk2i","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"bizappdiagk6gbmoac2gk2i","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/availabilitySets/biz-app-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"biz-app-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-biz-app-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-biz-app-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Storage/storageAccounts/bizappdiagk6gbmoac2gk2i","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"bizappdiagk6gbmoac2gk2i"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Storage/storageAccounts/bizappdiagk6gbmoac2gk2i","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"bizappdiagk6gbmoac2gk2i","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/vm1OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/vm2OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/vm1NestedDeploymentInstallIIS","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1NestedDeploymentInstallIIS"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-biz-app-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Resources/deployments/vm2NestedDeploymentInstallIIS","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2NestedDeploymentInstallIIS"}],"outputs":{"app-ilb-ip-address":{"type":"String","value":"10.4.2.16"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/availabilitySets/biz-app-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm1/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/DSCSetupIISAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-biz-app-vm2/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/loadBalancers/org-iaas-biz-app-lb"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-biz-app-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-biz-app-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-biz-rg/providers/Microsoft.Storage/storageAccounts/bizappdiagk6gbmoac2gk2i"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['41170'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:56:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:56:40 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 19:56:40 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{"app-ilb-ip-address": { "value": "10.4.2.16"}}' - headers: - Connection: [keep-alive] - Content-Length: ['47'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 19:56:41 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/vmapp-biz-lb/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [yKCmD3TBOLdv702xDLxw0Q==] - date: ['Sat, 12 Jan 2019 19:56:40 GMT'] - etag: ['"0x8D678C8121F3FC3"'] - last-modified: ['Sat, 12 Jan 2019 19:56:41 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_g_workload_app_gateway_creation.yaml b/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_g_workload_app_gateway_creation.yaml deleted file mode 100644 index 7da5e9a0b..000000000 --- a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_g_workload_app_gateway_creation.yaml +++ /dev/null @@ -1,1225 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:54:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:54:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 20:54:44 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/vmapp-web-lb/azureDeploy.parameters.output.json - response: - body: {string: '{"app-ilb-ip-address": { "value": "10.4.2.8"}}'} - headers: - accept-ranges: [bytes] - content-length: ['46'] - content-range: [bytes 0-45/46] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 20:54:43 GMT'] - etag: ['"0x8D678C646CB377E"'] - last-modified: ['Sat, 12 Jan 2019 19:43:50 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [AATJ0PReX+SJN9X4Bjcyxg==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 19:43:50 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 20:54:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '!!! The request body has been omitted from the recording because its size - 24606 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['13674'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway","name":"org-workload-iaas-deployment-app-gateway","properties":{"templateHash":"14263019311932786308","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"tier":{"type":"String","value":"Standard"},"sku-size":{"type":"String","value":"Standard_Small"},"capacity":{"type":"Int","value":2},"enable-http2":{"type":"Bool","value":false},"shared-services-vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"shared-services-app-gateway-subnet-name":{"type":"String","value":"AppGateway"},"idleTimeout-in-minutes":{"type":"Int","value":4},"app-ilb-ip-address":{"type":"String","value":"10.4.2.8"},"ssl-cert-name":{"type":"String","value":"localhost"},"ssl-cert-data":{"type":"String","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"self-certificate-base64"}},"ssl-cert-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"self-certificate-password"}},"existing-app-gateway":{"type":"Bool","value":false},"app-gateway-name":{"type":"String","value":"org-ssvcs-app-gw"},"subnet-name":{"type":"String","value":"AppGateway"},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A54%3A43Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=2sPFmv9t9RnRG8zpSPYaxoBKCZlWiwCKhRsINOaOt1U%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T20:54:47.5532551Z","duration":"PT0.3855108S","correlationId":"12afadce-70b4-4232-8772-3cb89a2def9f","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['2508'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:54:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:55:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:55:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:56:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:56:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:57:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:57:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:58:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:58:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:59:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:59:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:00:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:00:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:01:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:01:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:02:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:02:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:03:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:03:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:04:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:04:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:05:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:06:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:06:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:07:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:07:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:08:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:08:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:09:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway/operationStatuses/08586542803983099090?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:09:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-web-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-app-gateway","name":"org-workload-iaas-deployment-app-gateway","properties":{"templateHash":"14263019311932786308","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"tier":{"type":"String","value":"Standard"},"sku-size":{"type":"String","value":"Standard_Small"},"capacity":{"type":"Int","value":2},"enable-http2":{"type":"Bool","value":false},"shared-services-vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"shared-services-app-gateway-subnet-name":{"type":"String","value":"AppGateway"},"idleTimeout-in-minutes":{"type":"Int","value":4},"app-ilb-ip-address":{"type":"String","value":"10.4.2.8"},"ssl-cert-name":{"type":"String","value":"localhost"},"ssl-cert-data":{"type":"String","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"self-certificate-base64"}},"ssl-cert-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"self-certificate-password"}},"existing-app-gateway":{"type":"Bool","value":false},"app-gateway-name":{"type":"String","value":"org-ssvcs-app-gw"},"subnet-name":{"type":"String","value":"AppGateway"},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A54%3A43Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=2sPFmv9t9RnRG8zpSPYaxoBKCZlWiwCKhRsINOaOt1U%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T21:09:31.9605237Z","duration":"PT14M44.7927794S","correlationId":"12afadce-70b4-4232-8772-3cb89a2def9f","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/applicationGateways/org-ssvcs-app-gw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/publicIPAddresses/org-iaas-app-gw-pip"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['2869'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 21:09:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -version: 1 diff --git a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_h_workload_sql_server_alwayson_creation.yaml b/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_h_workload_sql_server_alwayson_creation.yaml deleted file mode 100644 index 94c173b3a..000000000 --- a/tests/integration_tests/ntier_iaas_workload/recordings/test_iaas_integration_tests.test_h_workload_sql_server_alwayson_creation.yaml +++ /dev/null @@ -1,3043 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:56:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:56:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:56:47 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/kv/azureDeploy.parameters.output.json - response: - body: {string: '{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"}, - "kv-name": { "value": "org-iaas-kv"}, "kv-resourceGroup": { "value": "org-iaas-kv-rg"}, - "kv-uri": { "value": "https://org-iaas-kv.vault.azure.net/"}}'} - headers: - accept-ranges: [bytes] - content-length: ['324'] - content-range: [bytes 0-323/324] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:56:47 GMT'] - etag: ['"0x8D678C421A37D4A"'] - last-modified: ['Sat, 12 Jan 2019 19:28:29 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [cJl7mCzm+a2jx3KBeE9QVg==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:03:18 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:56:47 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet"}, - "vnet-name": { "value": "org-iaas-vnet"}, "vnet-resourceGroup": { "value": - "org-iaas-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['278'] - content-range: [bytes 0-277/278] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:56:47 GMT'] - etag: ['"0x8D678C40B62C466"'] - last-modified: ['Sat, 12 Jan 2019 19:27:51 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [uClHJrnYO8dtCvjP2FeBnQ==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:02:09 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:56:48 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"}, - "oms-workspace-resourceGroup": { "value": "org-iaas-la-rg"}, "oms-workspace-name": - { "value": "org-iaas-la"}, "oms-workspace-id": { "value": "1c8a86f6-69c5-4299-82b6-8f06db51a757"}, - "oms-primary-shared-key": { "value": "U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['498'] - content-range: [bytes 0-497/498] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:56:48 GMT'] - etag: ['"0x8D678C3CDD6B4EC"'] - last-modified: ['Sat, 12 Jan 2019 19:26:08 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [vtd6B1BpcvV1ZYjlkvUiLw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 17:56:48 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['112'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:56:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-failure-cause: [gateway] - status: {code: 404, message: Not Found} -- request: - body: '{"location": "Central US"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['26'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg","name":"org-iaas-data-rg","location":"centralus","properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['196'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:56:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 59086 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['32677'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson","name":"org-workload-iaas-deployment-sqlserver-alwayson","properties":{"templateHash":"7753599176631651812","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A56%3A46Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=YOErwQXXE%2B6EdRWoa%2BYzwX2QCFpAa0Ilypm9ecNKbvM%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-iaas-net-rg"},"data-asg-name":{"type":"String","value":"data"},"default-subnet-name":{"type":"String","value":"default"},"extension-name":{"type":"String","value":"sqlsrvr"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"admin-user"}},"virtualMachine-size":{"type":"String","value":"Standard_DS12_v2"},"virtualMachine-count":{"type":"Int","value":2},"os-type":{"type":"String","value":"Windows"},"os-image":{"type":"Object","value":{"offer":"SQL2017-WS2016","publisher":"MicrosoftSQLServer","sku":"Enterprise","version":"latest"}},"domain-name":{"type":"String","value":"org.com"},"domain-admin-user":{"type":"String","value":"org"},"domain-admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"org"}},"sql-backend-pool-name":{"type":"String","value":"sql-backend-pool"},"default-subnet-address-prefix":{"type":"String","value":"10.4.2.0/27"},"cluster-name":{"type":"String","value":"AOCluster"},"sql-server-start-ip-address":{"type":"String","value":"10.4.2.20"},"sql-server-ilb-ip-address":{"type":"String","value":"10.4.2.22"},"sql-server-cluster-ip-address":{"type":"String","value":"10.4.2.23"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"kv-name":{"type":"String","value":"org-iaas-kv"},"kv-resourceGroup":{"type":"String","value":"org-iaas-kv-rg"},"kv-uri":{"type":"String","value":"https://org-iaas-kv.vault.azure.net/"},"vnet-name":{"type":"String","value":"org-iaas-vnet"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-iaas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-iaas-la"},"oms-workspace-id":{"type":"String","value":"1c8a86f6-69c5-4299-82b6-8f06db51a757"},"oms-primary-shared-key":{"type":"String","value":"U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T19:56:53.2322085Z","duration":"PT1.1943898S","correlationId":"18b27164-a109-4682-bdac-75286ad43f91","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["centralus"]},{"resourceType":"networkInterfaces","locations":["centralus"]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/DSCSetupSQLAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/DSCSetupSQLAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrcwzugy7x6vbxafez","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrcwzugy7x6vbxafez","actionName":"listkeys","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/vm1NestedDeploymentSetupSQL","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1NestedDeploymentSetupSQL"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/vm1NestedDeploymentSetupSQL","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1NestedDeploymentSetupSQL"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/NestedDeploymentSleep","resourceType":"Microsoft.Resources/deployments","resourceName":"NestedDeploymentSleep"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/NestedDeploymentSleep","resourceType":"Microsoft.Resources/deployments","resourceName":"NestedDeploymentSleep"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrcwzugy7x6vbxafez","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrcwzugy7x6vbxafez","actionName":"listkeys","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/vm2NestedDeploymentSetupSQL","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2NestedDeploymentSetupSQL"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/vm2NestedDeploymentSetupSQL","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2NestedDeploymentSetupSQL"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrcwzugy7x6vbxafez","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrcwzugy7x6vbxafez","actionName":"listkeys","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/vm1NestedDeploymentSetupSQLAG","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1NestedDeploymentSetupSQLAG"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/loadBalancers/org-iaas-sqlsrvr-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-iaas-sqlsrvr-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-sqlsrvr-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-sqlsrvr-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/loadBalancers/org-iaas-sqlsrvr-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-iaas-sqlsrvr-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-sqlsrvr-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-sqlsrvr-vm2-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/availabilitySets/sqlsrvr-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"sqlsrvr-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-sqlsrvr-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-sqlsrvr-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrdiagzugy7x6vbxaf"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrcwzugy7x6vbxafez","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrcwzugy7x6vbxafez"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrdiagzugy7x6vbxaf","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/DSCSetupSQLAndJoinDomain"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/DSCSetupSQLAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/DSCSetupSQLAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrdiagzugy7x6vbxaf","actionName":"listkeys","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/DSCSetupSQLAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/availabilitySets/sqlsrvr-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"sqlsrvr-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-sqlsrvr-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-sqlsrvr-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrdiagzugy7x6vbxaf"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrcwzugy7x6vbxafez","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrcwzugy7x6vbxafez"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrdiagzugy7x6vbxaf","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/DSCSetupSQLAndJoinDomain"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/DSCSetupSQLAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/DSCSetupSQLAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrdiagzugy7x6vbxaf","actionName":"listkeys","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/DSCSetupSQLAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/NetworkWatcher"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['21743'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:56:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:57:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:57:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:58:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:58:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:59:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:59:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:00:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:00:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:01:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:01:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:02:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:02:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:03:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:03:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:04:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:05:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:05:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:06:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:06:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:07:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:07:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:08:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:08:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:09:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:09:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:10:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:10:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:11:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:11:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:12:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:12:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:13:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:13:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:14:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:14:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:15:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:15:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:16:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:16:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:17:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:17:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:18:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:18:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:19:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:19:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:20:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:20:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:21:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:21:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:22:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:22:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:23:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:23:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:24:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:24:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:25:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:25:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:26:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:26:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:27:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:27:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:28:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:28:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:29:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:29:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:30:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:30:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:31:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:31:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:32:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:32:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:33:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:33:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:34:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:35:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:35:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:36:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:36:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:37:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:37:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:38:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:38:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:39:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:39:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:40:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:40:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:41:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:41:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:42:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:42:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:43:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:43:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:44:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:44:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:45:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:45:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:46:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:46:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:47:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:47:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:48:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson/operationStatuses/08586542838734399136?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:48:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/org-workload-iaas-deployment-sqlserver-alwayson","name":"org-workload-iaas-deployment-sqlserver-alwayson","properties":{"templateHash":"7753599176631651812","parameters":{"deployment-prefix":{"type":"String","value":"org-iaas"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A56%3A46Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=YOErwQXXE%2B6EdRWoa%2BYzwX2QCFpAa0Ilypm9ecNKbvM%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-net-rg/providers/Microsoft.Network/virtualNetworks/org-iaas-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-iaas-net-rg"},"data-asg-name":{"type":"String","value":"data"},"default-subnet-name":{"type":"String","value":"default"},"extension-name":{"type":"String","value":"sqlsrvr"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"admin-user"}},"virtualMachine-size":{"type":"String","value":"Standard_DS12_v2"},"virtualMachine-count":{"type":"Int","value":2},"os-type":{"type":"String","value":"Windows"},"os-image":{"type":"Object","value":{"offer":"SQL2017-WS2016","publisher":"MicrosoftSQLServer","sku":"Enterprise","version":"latest"}},"domain-name":{"type":"String","value":"org.com"},"domain-admin-user":{"type":"String","value":"org"},"domain-admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"org"}},"sql-backend-pool-name":{"type":"String","value":"sql-backend-pool"},"default-subnet-address-prefix":{"type":"String","value":"10.4.2.0/27"},"cluster-name":{"type":"String","value":"AOCluster"},"sql-server-start-ip-address":{"type":"String","value":"10.4.2.20"},"sql-server-ilb-ip-address":{"type":"String","value":"10.4.2.22"},"sql-server-cluster-ip-address":{"type":"String","value":"10.4.2.23"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-kv-rg/providers/Microsoft.KeyVault/vaults/org-iaas-kv"},"kv-name":{"type":"String","value":"org-iaas-kv"},"kv-resourceGroup":{"type":"String","value":"org-iaas-kv-rg"},"kv-uri":{"type":"String","value":"https://org-iaas-kv.vault.azure.net/"},"vnet-name":{"type":"String","value":"org-iaas-vnet"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-iaas-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-iaas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-iaas-la"},"oms-workspace-id":{"type":"String","value":"1c8a86f6-69c5-4299-82b6-8f06db51a757"},"oms-primary-shared-key":{"type":"String","value":"U3KGMQI94a2PfGyXNu0ZFRNfPfzFaGlHrfnOfqMaGvVAzVHet7Ux64Odhfa+DRiUXuXcEnetQCqhS2WiiOP+3g=="}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T20:48:27.0273408Z","duration":"PT51M34.9895221S","correlationId":"18b27164-a109-4682-bdac-75286ad43f91","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["centralus"]},{"resourceType":"networkInterfaces","locations":["centralus"]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/DSCSetupSQLAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/DSCSetupSQLAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrcwzugy7x6vbxafez","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrcwzugy7x6vbxafez","actionName":"listkeys","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/vm1NestedDeploymentSetupSQL","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1NestedDeploymentSetupSQL"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/vm1NestedDeploymentSetupSQL","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1NestedDeploymentSetupSQL"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/NestedDeploymentSleep","resourceType":"Microsoft.Resources/deployments","resourceName":"NestedDeploymentSleep"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/NestedDeploymentSleep","resourceType":"Microsoft.Resources/deployments","resourceName":"NestedDeploymentSleep"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrcwzugy7x6vbxafez","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrcwzugy7x6vbxafez","actionName":"listkeys","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/vm2NestedDeploymentSetupSQL","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2NestedDeploymentSetupSQL"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/vm2NestedDeploymentSetupSQL","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2NestedDeploymentSetupSQL"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrcwzugy7x6vbxafez","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrcwzugy7x6vbxafez","actionName":"listkeys","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Resources/deployments/vm1NestedDeploymentSetupSQLAG","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1NestedDeploymentSetupSQLAG"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/loadBalancers/org-iaas-sqlsrvr-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-iaas-sqlsrvr-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-sqlsrvr-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-sqlsrvr-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/loadBalancers/org-iaas-sqlsrvr-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-iaas-sqlsrvr-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-sqlsrvr-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-sqlsrvr-vm2-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/availabilitySets/sqlsrvr-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"sqlsrvr-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-sqlsrvr-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-sqlsrvr-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrdiagzugy7x6vbxaf"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrcwzugy7x6vbxafez","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrcwzugy7x6vbxafez"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrdiagzugy7x6vbxaf","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/DSCSetupSQLAndJoinDomain"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/DSCSetupSQLAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/DSCSetupSQLAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrdiagzugy7x6vbxaf","actionName":"listkeys","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/DSCSetupSQLAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/availabilitySets/sqlsrvr-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"sqlsrvr-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-sqlsrvr-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-iaas-sqlsrvr-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrdiagzugy7x6vbxaf"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrcwzugy7x6vbxafez","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrcwzugy7x6vbxafez"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrdiagzugy7x6vbxaf","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/DSCSetupSQLAndJoinDomain"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/DSCSetupSQLAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/DSCSetupSQLAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sqlsrvrdiagzugy7x6vbxaf","actionName":"listkeys","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-iaas-sqlsrvr-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/DSCSetupSQLAndJoinDomain","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/DSCSetupSQLAndJoinDomain"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-iaas-sqlsrvr-vm2/NetworkWatcher"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/availabilitySets/sqlsrvr-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/DSCSetupSQLAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm1/extensions/PSSleep"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/DSCSetupSQLAndJoinDomain"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Compute/virtualMachines/org-iaas-sqlsrvr-vm2/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/loadBalancers/org-iaas-sqlsrvr-lb"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-sqlsrvr-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Network/networkInterfaces/org-iaas-sqlsrvr-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrcwzugy7x6vbxafez"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-iaas-data-rg/providers/Microsoft.Storage/storageAccounts/sqlsrvrdiagzugy7x6vbxaf"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['24848'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:48:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 20:48:45 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 20:48:44 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 20:48:45 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-iaas/parameters/sqlserver-alwayson/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Sat, 12 Jan 2019 20:48:45 GMT'] - etag: ['"0x8D678CF58806F63"'] - last-modified: ['Sat, 12 Jan 2019 20:48:45 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/ntier_iaas_workload/test_iaas_integration_tests.py b/tests/integration_tests/ntier_iaas_workload/test_iaas_integration_tests.py deleted file mode 100644 index 07487fca6..000000000 --- a/tests/integration_tests/ntier_iaas_workload/test_iaas_integration_tests.py +++ /dev/null @@ -1,137 +0,0 @@ -from tools.devtools_testutils.base_replayable_test_case import VDCBaseTestCase -from tools.devtools_testutils.base_integration_test_case import BaseIntegrationTestCase -from pathlib import Path -from os.path import join -import unittest - -args = dict() -args['resource-group'] = None -args['validate-deployment'] = None -args['deploy-module-dependencies'] = None -args['service-principals'] = None -args['create-vdc-storage'] = None -args['environment-type'] = 'workload' -args['upload-scripts'] = None -args['create-vdc-storage'] = None -args['delete-validation-modules'] = None - -class IaaSIntegrationTests(BaseIntegrationTestCase): - - def setUp(self): - super(IaaSIntegrationTests, self).setUp() - - parameters_file = '' - - if self.is_live: - parameters_file = 'archetype.json' - else: - parameters_file = 'archetype.test.json' - - self._workload_path = join( - Path(__file__).parents[3], - 'archetypes', - 'ntier-iaas', - parameters_file) - self._environment_type = 'workload' - - def test_a_workload_log_analytics_creation(self): - - self.set_resource_to_deploy('la', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, True) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_b_workload_nsg_creation(self): - - self.set_resource_to_deploy('nsg', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_c_workload_network_creation(self): - - self.set_resource_to_deploy('workload-net', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_d_workload_kv_creation(self): - - self.set_resource_to_deploy('kv', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_e_workload_vmapp_web_lb_creation(self): - - self.set_resource_to_deploy('vmapp-web-lb', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - args['resource-group'] = None - - def test_f_workload_vmapp_biz_lb_creation(self): - - self.set_resource_to_deploy('vmapp-biz-lb', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - args['resource-group'] = None - - def test_g_workload_app_gateway_creation(self): - - self.set_resource_to_deploy('app-gateway', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_h_workload_sql_server_alwayson_creation(self): - - self.set_resource_to_deploy('sqlserver-alwayson', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - -#------------------------------------------------------------------------------ -if __name__ == '__main__': - unittest.main() \ No newline at end of file diff --git a/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_a_workload_log_analytics_creation.yaml b/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_a_workload_log_analytics_creation.yaml deleted file mode 100644 index 4d1aec5b3..000000000 --- a/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_a_workload_log_analytics_creation.yaml +++ /dev/null @@ -1,808 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vdc-storage-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 20:34:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"sku": {"name": "Standard_LRS"}, "kind": "BlobStorage", "location": "Central - US", "properties": {"encryption": {"services": {"blob": {"enabled": true}}, - "keySource": "Microsoft.Storage"}, "accessTier": "Cool", "supportsHttpsTrafficOnly": - true, "isHnsEnabled": false}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['268'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage?api-version=2018-02-01 - response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"BlobStorage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage","name":"storage","type":"Microsoft.Storage/storageAccounts","location":"centralus","tags":{},"properties":{"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2019-01-12T06:05:37.8777624Z"},"blob":{"enabled":true,"lastEnabledTime":"2019-01-12T06:05:37.8777624Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Cool","provisioningState":"Succeeded","creationTime":"2019-01-12T06:05:37.7684284Z","primaryEndpoints":{"dfs":"https://storage.dfs.core.windows.net/","blob":"https://storage.blob.core.windows.net/","table":"https://storage.table.core.windows.net/"},"primaryLocation":"centralus","statusOfPrimary":"available"}}'} - headers: - cache-control: [no-cache] - content-length: ['1024'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:34:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:34:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:36:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-la-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 20:36:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "SharedServicesOpsPermittedResourceTypes", - "description": "Policy to prevent the creation of unauthorized resource types - within the resource group.", "policyRule": {"if": {"not": {"field": "type", - "in": ["Microsoft.OperationalInsights/workspaces", "Microsoft.Network/networkWatchers"]}}, - "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['382'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"SharedServicesOpsPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.OperationalInsights/workspaces","Microsoft.Network/networkWatchers"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"SharedServicesOpsPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:36:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "SharedServicesOpsPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes"}, - "name": "SharedServicesOpsPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['294'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesOpsPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"SharedServicesOpsPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesOpsPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"SharedServicesOpsPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['654'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:36:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "denyPublicIP", "description": "Policy to - prevent the creation of public ip resources", "policyRule": {"if": {"field": - "type", "in": ["Microsoft.Network/publicIPAddresses"]}, "then": {"effect": "audit"}}, - "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['269'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"denyPublicIP","policyType":"Custom","description":"Policy - to prevent the creation of public ip resources","metadata":{"category":"VDC"},"policyRule":{"if":{"field":"type","in":["Microsoft.Network/publicIPAddresses"]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","type":"Microsoft.Authorization/policyDefinitions","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['472'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:36:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "denyPublicIP", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP"}, - "name": "denyPublicIP"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['213'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"denyPublicIP","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP","type":"Microsoft.Authorization/policyAssignments","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:36:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {"deployment-prefix": {"type": "string", - "metadata": {"description": "Deployment prefix. E.g. Organization-DeploymentType"}}, - "service-tier": {"type": "string", "allowedValues": ["Free", "Standalone", "PerNode"], - "metadata": {"description": "Service Tier: Free, Standalone, or PerNode"}}, - "data-retention": {"type": "int", "defaultValue": 30, "minValue": 7, "maxValue": - 730, "metadata": {"description": "Number of days data will be retained for."}}, - "location": {"type": "string", "allowedValues": ["Australia Southeast", "Canada - Central", "Central India", "East US", "Japan East", "Southeast Asia", "UK South", - "West Europe", "West US 2"], "metadata": {"description": "Region used when establishing - the workspace."}}, "sas-key": {"defaultValue": "se=2019-01-13T20%3A36%3A18Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=7afQvn3KKrwR1DyK/8uoZHc61B2Jv%2BAshW3P2oHPess%3D", - "type": "string"}, "output-params-storage-key": {"defaultValue": "WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==", - "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", - "type": "string"}}, "variables": {"oms-workspace-name": "[concat(parameters(\\\''deployment-prefix\\\''), - \\\''-la\\\'')]"}, "resources": [{"apiVersion": "2017-03-15-preview", "name": - "[variables(\\\''oms-workspace-name\\\'')]", "location": "[parameters(\\\''location\\\'')]", - "tags": {}, "type": "Microsoft.OperationalInsights/workspaces", "properties": - {"sku": {"Name": "[parameters(\\\''service-tier\\\'')]"}, "retention": "[parameters(\\\''data-retention\\\'')]"}}], - "outputs": {"oms-id": {"type": "string", "value": "[resourceId(\\\''Microsoft.OperationalInsights/workspaces\\\'', - variables(\\\''oms-workspace-name\\\''))]"}, "oms-workspace-resourceGroup": - {"type": "string", "value": "[resourceGroup().name]"}, "oms-workspace-name": - {"type": "string", "value": "[variables(\\\''oms-workspace-name\\\'')]"}, "oms-workspace-id": - {"type": "string", "value": "[reference(resourceId(\\\''Microsoft.OperationalInsights/workspaces\\\'', - variables(\\\''oms-workspace-name\\\'')), \\\''2015-03-20\\\'').customerId]"}, - "oms-primary-shared-key": {"type": "string", "value": "[listKeys(resourceId(\\\''Microsoft.OperationalInsights/workspaces\\\'', - variables(\\\''oms-workspace-name\\\'')), \\\''2015-03-20\\\'').primarySharedKey]"}}}, - "parameters": {"deployment-prefix": {"value": "org-paas"}, "data-retention": - {"value": 30}, "location": {"value": "West US 2"}, "service-tier": {"value": - "PerNode"}, "sas-key": {"value": "se=2019-01-13T20%3A36%3A18Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=7afQvn3KKrwR1DyK/8uoZHc61B2Jv%2BAshW3P2oHPess%3D"}, - "output-params-storage-key": {"value": "WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="}, - "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['2929'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-la-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-la?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-la","name":"org-workload-paas-deployment-la","properties":{"templateHash":"18362642723119638947","parameters":{"deployment-prefix":{"type":"String","value":"org-paas"},"service-tier":{"type":"String","value":"PerNode"},"data-retention":{"type":"Int","value":30},"location":{"type":"String","value":"West - US 2"},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A36%3A18Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=7afQvn3KKrwR1DyK/8uoZHc61B2Jv%2BAshW3P2oHPess%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T20:36:23.575694Z","duration":"PT0.4218459S","correlationId":"3dd508b6-52e9-491a-bf34-aa40a2b381fe","providers":[{"namespace":"Microsoft.OperationalInsights","resourceTypes":[{"resourceType":"workspaces","locations":["westus2"]}]}],"dependencies":[]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-la-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-la/operationStatuses/08586542815023237793?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['1195'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:36:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-la-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-la/operationStatuses/08586542815023237793?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:36:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-la-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-la?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-la","name":"org-workload-paas-deployment-la","properties":{"templateHash":"18362642723119638947","parameters":{"deployment-prefix":{"type":"String","value":"org-paas"},"service-tier":{"type":"String","value":"PerNode"},"data-retention":{"type":"Int","value":30},"location":{"type":"String","value":"West - US 2"},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A36%3A18Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=7afQvn3KKrwR1DyK/8uoZHc61B2Jv%2BAshW3P2oHPess%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T20:36:38.9268333Z","duration":"PT15.7729852S","correlationId":"3dd508b6-52e9-491a-bf34-aa40a2b381fe","providers":[{"namespace":"Microsoft.OperationalInsights","resourceTypes":[{"resourceType":"workspaces","locations":["westus2"]}]}],"dependencies":[],"outputs":{"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-paas-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-paas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-paas-la"},"oms-workspace-id":{"type":"String","value":"6465f325-13b1-40dc-934b-7b5cda0c68a8"},"oms-primary-shared-key":{"type":"String","value":"JbndsXGlvFeoOtMIX5W8vbUHJfyZzldHKkteFHW3IbN8nMKX+5ULhQ3d4nnSDQxbL+WCcrNNlr1NZrJ1n6JnQA=="}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-paas-la"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['1950'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:36:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 20:36:54 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 20:36:54 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-paas-la"}, - "oms-workspace-resourceGroup": { "value": "org-paas-la-rg"}, "oms-workspace-name": - { "value": "org-paas-la"}, "oms-workspace-id": { "value": "6465f325-13b1-40dc-934b-7b5cda0c68a8"}, - "oms-primary-shared-key": { "value": "JbndsXGlvFeoOtMIX5W8vbUHJfyZzldHKkteFHW3IbN8nMKX+5ULhQ3d4nnSDQxbL+WCcrNNlr1NZrJ1n6JnQA=="}}\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['498'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 20:36:55 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-paas/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [A1DQTjTuH2W0c0CPThZfzg==] - date: ['Sat, 12 Jan 2019 20:36:54 GMT'] - etag: ['"0x8D678CDB11590BB"'] - last-modified: ['Sat, 12 Jan 2019 20:36:55 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_b_workload_nsg_creation.yaml b/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_b_workload_nsg_creation.yaml deleted file mode 100644 index 491526fd4..000000000 --- a/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_b_workload_nsg_creation.yaml +++ /dev/null @@ -1,658 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:36:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 20:36:56 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-paas/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-paas-la"}, - "oms-workspace-resourceGroup": { "value": "org-paas-la-rg"}, "oms-workspace-name": - { "value": "org-paas-la"}, "oms-workspace-id": { "value": "6465f325-13b1-40dc-934b-7b5cda0c68a8"}, - "oms-primary-shared-key": { "value": "JbndsXGlvFeoOtMIX5W8vbUHJfyZzldHKkteFHW3IbN8nMKX+5ULhQ3d4nnSDQxbL+WCcrNNlr1NZrJ1n6JnQA=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['498'] - content-range: [bytes 0-497/498] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 20:36:56 GMT'] - etag: ['"0x8D678CDB11590BB"'] - last-modified: ['Sat, 12 Jan 2019 20:36:55 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [A1DQTjTuH2W0c0CPThZfzg==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:10:49 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 20:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '!!! The request body has been omitted from the recording because its size - 21443 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['17185'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-nsg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-nsg","name":"org-workload-paas-deployment-nsg","properties":{"templateHash":"10228897700305415471","parameters":{"deployment-prefix":{"type":"String","value":"org-paas"},"deployment-name":{"type":"String","value":"paas"},"network-security-groups":{"type":"Array","value":[{"name":"default","rules":[{"name":"allow-management","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"454-455","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Used - to manage ASE from public VIP","priority":100,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-internal-inbound","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"ASE-internal-inbound","priority":110,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"10.4.4.0/24","sourceApplicationSecurityGroups":[]}},{"name":"allow-http","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"80","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Allow - HTTP","priority":120,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-https","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"443","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Allow - HTTPS","priority":130,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-ftp","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"21","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Allow - FTP over port 21","priority":140,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-ftps","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"990","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Allow - FTPS","priority":150,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-ftp-data","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"10001-10020","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"allow-ftp-data","priority":160,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-remote-debugging","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"4016-4022","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Visual - Studio remote debugging","priority":170,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-443","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"443","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Azure - Storage blob","priority":100,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-SMB","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"445","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Azure - Storage queue","priority":110,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-DB","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"1433","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Database","priority":120,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-DB2","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"11000-11999","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Database - 2","priority":130,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-DB3","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"14000-14999","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Database - 3","priority":140,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-DNS","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"53","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"DNS","priority":150,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-internal-outbound","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"10.4.4.0/24","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Azure - Storage queue","priority":160,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-port-80","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"80","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Outbound - 80","priority":170,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-ASE-to-VNET","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"10.4.4.0/23","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"ASE - to VNET","priority":180,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}}]}]},"application-security-groups":{"type":"Array","value":[]},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-paas-la"},"data-retention":{"type":"Int","value":30},"oms-workspace-resourceGroup":{"type":"String","value":"org-paas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-paas-la"},"oms-workspace-id":{"type":"String","value":"6465f325-13b1-40dc-934b-7b5cda0c68a8"},"oms-primary-shared-key":{"type":"String","value":"JbndsXGlvFeoOtMIX5W8vbUHJfyZzldHKkteFHW3IbN8nMKX+5ULhQ3d4nnSDQxbL+WCcrNNlr1NZrJ1n6JnQA=="},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A36%3A56Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=WGi5/uFRmkz7IWw5oLbMw8f2i8Jbq/z7eaZlpLpZSy8%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T20:37:00.3474975Z","duration":"PT0.8508882S","correlationId":"84442a3b-21cf-415c-9669-484aa2ebee10","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups/providers/diagnosticSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/applicationSecurityGroups/dummy","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"dummy"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Storage/storageAccounts/paasdiagkd74cw35zfk2mkd","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"paasdiagkd74cw35zfk2mkd"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-paas-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-paas-default-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-paas-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-paas-default-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-paas-default-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"org-paas-default-nsg/Microsoft.Insights/service"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-nsg/operationStatuses/08586542814659810412?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['10515'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-nsg/operationStatuses/08586542814659810412?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:37:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-nsg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-nsg","name":"org-workload-paas-deployment-nsg","properties":{"templateHash":"10228897700305415471","parameters":{"deployment-prefix":{"type":"String","value":"org-paas"},"deployment-name":{"type":"String","value":"paas"},"network-security-groups":{"type":"Array","value":[{"name":"default","rules":[{"name":"allow-management","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"454-455","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Used - to manage ASE from public VIP","priority":100,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-internal-inbound","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"ASE-internal-inbound","priority":110,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"10.4.4.0/24","sourceApplicationSecurityGroups":[]}},{"name":"allow-http","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"80","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Allow - HTTP","priority":120,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-https","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"443","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Allow - HTTPS","priority":130,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-ftp","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"21","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Allow - FTP over port 21","priority":140,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-ftps","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"990","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Allow - FTPS","priority":150,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-ftp-data","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"10001-10020","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"allow-ftp-data","priority":160,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-remote-debugging","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"4016-4022","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Visual - Studio remote debugging","priority":170,"direction":"Inbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-443","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"443","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Azure - Storage blob","priority":100,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-SMB","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"445","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Azure - Storage queue","priority":110,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-DB","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"1433","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Database","priority":120,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-DB2","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"11000-11999","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Database - 2","priority":130,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-DB3","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"14000-14999","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Database - 3","priority":140,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-DNS","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"53","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"DNS","priority":150,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-internal-outbound","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"10.4.4.0/24","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Azure - Storage queue","priority":160,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-port-80","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"80","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"Outbound - 80","priority":170,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}},{"name":"allow-ASE-to-VNET","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"10.4.4.0/23","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"description":"ASE - to VNET","priority":180,"direction":"Outbound","protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"*","sourceApplicationSecurityGroups":[]}}]}]},"application-security-groups":{"type":"Array","value":[]},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-paas-la"},"data-retention":{"type":"Int","value":30},"oms-workspace-resourceGroup":{"type":"String","value":"org-paas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-paas-la"},"oms-workspace-id":{"type":"String","value":"6465f325-13b1-40dc-934b-7b5cda0c68a8"},"oms-primary-shared-key":{"type":"String","value":"JbndsXGlvFeoOtMIX5W8vbUHJfyZzldHKkteFHW3IbN8nMKX+5ULhQ3d4nnSDQxbL+WCcrNNlr1NZrJ1n6JnQA=="},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A36%3A56Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=WGi5/uFRmkz7IWw5oLbMw8f2i8Jbq/z7eaZlpLpZSy8%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T20:37:16.4280608Z","duration":"PT16.9314515S","correlationId":"84442a3b-21cf-415c-9669-484aa2ebee10","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups/providers/diagnosticSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/applicationSecurityGroups/dummy","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"dummy"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Storage/storageAccounts/paasdiagkd74cw35zfk2mkd","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"paasdiagkd74cw35zfk2mkd"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-paas-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-paas-default-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-paas-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-paas-default-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-paas-default-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"org-paas-default-nsg/Microsoft.Insights/service"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/applicationSecurityGroups/dummy"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-paas-default-nsg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-paas-default-nsg/providers/Microsoft.Insights/diagnosticSettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Storage/storageAccounts/paasdiagkd74cw35zfk2mkd"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['11268'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:37:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 20:37:31 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 20:37:32 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 20:37:32 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-paas/parameters/nsg/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Sat, 12 Jan 2019 20:37:32 GMT'] - etag: ['"0x8D678CDC728E77B"'] - last-modified: ['Sat, 12 Jan 2019 20:37:32 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_c_workload_network_creation.yaml b/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_c_workload_network_creation.yaml deleted file mode 100644 index 82ef56e80..000000000 --- a/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_c_workload_network_creation.yaml +++ /dev/null @@ -1,716 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:37:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:37:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 20:37:33 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-paas/parameters/nsg/azureDeploy.parameters.output.json - response: - body: {string: '{}'} - headers: - accept-ranges: [bytes] - content-length: ['2'] - content-range: [bytes 0-1/2] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 20:37:32 GMT'] - etag: ['"0x8D678CDC728E77B"'] - last-modified: ['Sat, 12 Jan 2019 20:37:32 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:11:56 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 20:37:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "workloadNetPermittedResourceTypes", "description": - "Policy to prevent the creation of unauthorized resource types within the resource - group.", "policyRule": {"if": {"not": {"field": "type", "in": ["Microsoft.Network/routeTables", - "Microsoft.Network/networkSecurityGroups", "Microsoft.Network/applicationSecurityGroups", - "Microsoft.Network/virtualNetworks"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['455'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"workloadNetPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.Network/routeTables","Microsoft.Network/networkSecurityGroups","Microsoft.Network/applicationSecurityGroups","Microsoft.Network/virtualNetworks"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"workloadNetPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['696'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:37:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "workloadNetPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes"}, - "name": "workloadNetPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['276'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Authorization/policyAssignments/workloadNetPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"workloadNetPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Authorization/policyAssignments/workloadNetPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"workloadNetPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['632'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:37:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 21114 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['9800'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-workload-net?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-workload-net","name":"org-workload-paas-deployment-workload-net","properties":{"templateHash":"18149622510613740971","parameters":{"deployment-prefix":{"type":"String","value":"org-paas"},"deployment-name":{"type":"String","value":"paas"},"vnet-address-prefix":{"type":"String","value":"10.4.4.0/23"},"subnets":{"type":"Array","value":[{"name":"default","address-prefix":"10.4.4.0/24","network-security-group":"default","user-defined-route":"default","service-endpoints":[{"service":"Microsoft.Sql"}]}]},"user-defined-routes":{"type":"Array","value":[{"name":"default","routes":[{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]}]},"vnet-dns-servers":{"type":"Array","value":["10.4.0.48"]},"enable-ddos-protection":{"type":"Bool","value":true},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-vnet-rg":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"deploy-azure-firewall-networkRules-collection":{"type":"Bool","value":false},"azure-firewall-networkRules-collection":{"type":"Array","value":[{"name":"[concat(''allow-onprem-rdp-'' - , parameters(''deployment-name''))]","properties":{"priority":210,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-rdp","protocols":["TCP"],"sourceAddresses":["192.168.1.4"],"destinationAddresses":["10.4.4.0/23"],"destinationPorts":["3389"]}]}},{"name":"allow-onprem-http-paas","properties":{"priority":220,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-http","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.4.4.0/23"],"destinationPorts":["80","443"]}]}},{"name":"deny-onprem-default-paas","properties":{"priority":230,"action":{"type":"Deny"},"rules":[{"name":"deny-onprem-default","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.4.4.0/23"],"destinationPorts":["*"]}]}}]},"shared-services-gateway-udr":{"type":"Array","value":[{"name":"to-workload-paas","properties":{"addressPrefix":"10.4.4.0/24","nextHopType":"VnetLocal"}}]},"shared-services-gateway-udr-name":{"type":"String","value":"org-ssvcs-gw-udr"},"shared-services-azure-firewall-ip-address":{"type":"String","value":"10.4.1.4"},"shared-services-azure-firewall-name":{"type":"String","value":"org-ssvcs-az-fw"},"on-premises-allow-rdp-address-range":{"type":"String","value":"192.168.1.4"},"on-premises-address-range":{"type":"String","value":"192.168.1.0/28"},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A37%3A32Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=DVetH2pikRYR6rfPlBFjbN4q8ZZZmuKGg24JmJLKASY%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T20:37:37.5784015Z","duration":"PT0.7120531S","correlationId":"d41e9fe9-f9fa-46a2-814e-511d73db65d6","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centralus"]},{"resourceType":"virtualNetworks/virtualNetworkPeerings","locations":["centralus"]},{"resourceType":"routeTables","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/routeTables/org-paas-default-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"org-paas-default-udr"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-paas-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-paas-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet/virtualNetworkPeerings/peering-to-shared-services-vnet","resourceType":"Microsoft.Network/virtualNetworks/virtualNetworkPeerings","resourceName":"org-paas-vnet/peering-to-shared-services-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-paas-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedServicesWorkloadPeering","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedServicesWorkloadPeering"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-workload-net/operationStatuses/08586542814286113258?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['5434'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:37:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-workload-net/operationStatuses/08586542814286113258?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:38:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-workload-net/operationStatuses/08586542814286113258?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:38:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-workload-net?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-workload-net","name":"org-workload-paas-deployment-workload-net","properties":{"templateHash":"18149622510613740971","parameters":{"deployment-prefix":{"type":"String","value":"org-paas"},"deployment-name":{"type":"String","value":"paas"},"vnet-address-prefix":{"type":"String","value":"10.4.4.0/23"},"subnets":{"type":"Array","value":[{"name":"default","address-prefix":"10.4.4.0/24","network-security-group":"default","user-defined-route":"default","service-endpoints":[{"service":"Microsoft.Sql"}]}]},"user-defined-routes":{"type":"Array","value":[{"name":"default","routes":[{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]}]},"vnet-dns-servers":{"type":"Array","value":["10.4.0.48"]},"enable-ddos-protection":{"type":"Bool","value":true},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-vnet-rg":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"deploy-azure-firewall-networkRules-collection":{"type":"Bool","value":false},"azure-firewall-networkRules-collection":{"type":"Array","value":[{"name":"[concat(''allow-onprem-rdp-'' - , parameters(''deployment-name''))]","properties":{"priority":210,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-rdp","protocols":["TCP"],"sourceAddresses":["192.168.1.4"],"destinationAddresses":["10.4.4.0/23"],"destinationPorts":["3389"]}]}},{"name":"allow-onprem-http-paas","properties":{"priority":220,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-http","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.4.4.0/23"],"destinationPorts":["80","443"]}]}},{"name":"deny-onprem-default-paas","properties":{"priority":230,"action":{"type":"Deny"},"rules":[{"name":"deny-onprem-default","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.4.4.0/23"],"destinationPorts":["*"]}]}}]},"shared-services-gateway-udr":{"type":"Array","value":[{"name":"to-workload-paas","properties":{"addressPrefix":"10.4.4.0/24","nextHopType":"VnetLocal"}}]},"shared-services-gateway-udr-name":{"type":"String","value":"org-ssvcs-gw-udr"},"shared-services-azure-firewall-ip-address":{"type":"String","value":"10.4.1.4"},"shared-services-azure-firewall-name":{"type":"String","value":"org-ssvcs-az-fw"},"on-premises-allow-rdp-address-range":{"type":"String","value":"192.168.1.4"},"on-premises-address-range":{"type":"String","value":"192.168.1.0/28"},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A37%3A32Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=DVetH2pikRYR6rfPlBFjbN4q8ZZZmuKGg24JmJLKASY%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T20:38:15.9707119Z","duration":"PT39.1043635S","correlationId":"d41e9fe9-f9fa-46a2-814e-511d73db65d6","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centralus"]},{"resourceType":"virtualNetworks/virtualNetworkPeerings","locations":["centralus"]},{"resourceType":"routeTables","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/routeTables/org-paas-default-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"org-paas-default-udr"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-paas-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-paas-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet/virtualNetworkPeerings/peering-to-shared-services-vnet","resourceType":"Microsoft.Network/virtualNetworks/virtualNetworkPeerings","resourceName":"org-paas-vnet/peering-to-shared-services-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-paas-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedServicesWorkloadPeering","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedServicesWorkloadPeering"}],"outputs":{"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet"},"vnet-name":{"type":"String","value":"org-paas-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-paas-net-rg"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet/virtualNetworkPeerings/peering-to-paas-vnet"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/routeTables/org-paas-default-udr"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet/virtualNetworkPeerings/peering-to-shared-services-vnet"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['6520'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:38:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 20:38:39 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 20:38:39 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet"}, - "vnet-name": { "value": "org-paas-vnet"}, "vnet-resourceGroup": { "value": "org-paas-net-rg"}}\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['278'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 20:38:39 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-paas/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [DGiLmoKDxlKDpWnCIrnfBQ==] - date: ['Sat, 12 Jan 2019 20:38:39 GMT'] - etag: ['"0x8D678CDEF22808E"'] - last-modified: ['Sat, 12 Jan 2019 20:38:39 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_d_workload_kv_creation.yaml b/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_d_workload_kv_creation.yaml deleted file mode 100644 index a52d7dbda..000000000 --- a/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_d_workload_kv_creation.yaml +++ /dev/null @@ -1,752 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:38:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:38:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 20:38:40 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-paas/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-paas-la"}, - "oms-workspace-resourceGroup": { "value": "org-paas-la-rg"}, "oms-workspace-name": - { "value": "org-paas-la"}, "oms-workspace-id": { "value": "6465f325-13b1-40dc-934b-7b5cda0c68a8"}, - "oms-primary-shared-key": { "value": "JbndsXGlvFeoOtMIX5W8vbUHJfyZzldHKkteFHW3IbN8nMKX+5ULhQ3d4nnSDQxbL+WCcrNNlr1NZrJ1n6JnQA=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['498'] - content-range: [bytes 0-497/498] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 20:38:40 GMT'] - etag: ['"0x8D678CDB11590BB"'] - last-modified: ['Sat, 12 Jan 2019 20:36:55 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [A1DQTjTuH2W0c0CPThZfzg==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:10:49 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-kv-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 20:38:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "kvPermittedResourceTypes", "description": - "Policy to prevent the creation of unauthorized resource types within the resource - group.", "policyRule": {"if": {"not": {"field": "type", "in": ["Microsoft.KeyVault/vaults", - "Microsoft.Storage/storageAccounts"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['360'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"kvPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.KeyVault/vaults","Microsoft.Storage/storageAccounts"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"kvPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['601'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:38:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "kvPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes"}, - "name": "kvPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['273'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Authorization/policyAssignments/kvPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"kvPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Authorization/policyAssignments/kvPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"kvPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['626'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:38:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "denyPublicIP", "description": "Policy to - prevent the creation of public ip resources", "policyRule": {"if": {"field": - "type", "in": ["Microsoft.Network/publicIPAddresses"]}, "then": {"effect": "audit"}}, - "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['269'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"denyPublicIP","policyType":"Custom","description":"Policy - to prevent the creation of public ip resources","metadata":{"category":"VDC"},"policyRule":{"if":{"field":"type","in":["Microsoft.Network/publicIPAddresses"]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","type":"Microsoft.Authorization/policyDefinitions","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['472'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:38:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "denyPublicIP", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP"}, - "name": "denyPublicIP"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['213'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"denyPublicIP","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP","type":"Microsoft.Authorization/policyAssignments","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:38:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 15438 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['8034'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-kv-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-kv?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-kv","name":"org-workload-paas-deployment-kv","properties":{"templateHash":"2439536295994262949","parameters":{"deployment-prefix":{"type":"String","value":"org-paas"},"oms-workspace-resourceGroup":{"type":"String","value":"org-paas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-paas-la"},"access-policies":{"type":"Array","value":[{"objectId":"00000000-0000-0000-0000-000000000000","permissions":{"certificates":["All"],"keys":["All"],"secrets":["All"]},"tenantId":"00000000-0000-0000-0000-000000000000"}]},"logs-retention-in-days":{"type":"Int","value":30},"enable-vault-for-deployment":{"type":"Bool","value":true},"enable-vault-for-templateDeployment":{"type":"Bool","value":true},"enable-vault-for-diskEncryption":{"type":"Bool","value":true},"vault-sku":{"type":"String","value":"Premium"},"secrets-object":{"type":"SecureObject"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-paas-la"},"oms-workspace-id":{"type":"String","value":"6465f325-13b1-40dc-934b-7b5cda0c68a8"},"oms-primary-shared-key":{"type":"String","value":"JbndsXGlvFeoOtMIX5W8vbUHJfyZzldHKkteFHW3IbN8nMKX+5ULhQ3d4nnSDQxbL+WCcrNNlr1NZrJ1n6JnQA=="},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A38%3A39Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=K1xmd4o9DiAWKLQUpfW7u5wykxC2VyYjWrVYNR2/7no%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T20:38:45.5219449Z","duration":"PT0.4755367S","correlationId":"b82e18db-452b-4917-a851-2f41f07ff496","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]},{"namespace":"Microsoft.KeyVault","resourceTypes":[{"resourceType":"vaults","locations":["centralus"]},{"resourceType":"vaults/providers/diagnosticsettings","locations":["centralus"]},{"resourceType":"vaults/providers/locks","locations":[null]},{"resourceType":"vaults/secrets","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-paas-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgpaaskvdiagfvo3e3","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgpaaskvdiagfvo3e3"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.KeyVault/vaults/providers/diagnosticsettings","resourceName":"org-paas-kv/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-paas-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete","resourceType":"Microsoft.KeyVault/vaults/providers/locks","resourceName":"org-paas-kv/Microsoft.Authorization/keyVaultDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgpaaskvdiagfvo3e3","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgpaaskvdiagfvo3e3"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgpaaskvdiagfvo3e3/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"orgpaaskvdiagfvo3e3/Microsoft.Authorization/storageDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-paas-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv/secrets/admin-user","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-paas-kv/admin-user"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-kv-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-kv/operationStatuses/08586542813604312731?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['5085'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:38:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-kv-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-kv/operationStatuses/08586542813604312731?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:39:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-kv-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-kv?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-kv","name":"org-workload-paas-deployment-kv","properties":{"templateHash":"2439536295994262949","parameters":{"deployment-prefix":{"type":"String","value":"org-paas"},"oms-workspace-resourceGroup":{"type":"String","value":"org-paas-la-rg"},"oms-workspace-name":{"type":"String","value":"org-paas-la"},"access-policies":{"type":"Array","value":[{"objectId":"00000000-0000-0000-0000-000000000000","permissions":{"certificates":["All"],"keys":["All"],"secrets":["All"]},"tenantId":"00000000-0000-0000-0000-000000000000"}]},"logs-retention-in-days":{"type":"Int","value":30},"enable-vault-for-deployment":{"type":"Bool","value":true},"enable-vault-for-templateDeployment":{"type":"Bool","value":true},"enable-vault-for-diskEncryption":{"type":"Bool","value":true},"vault-sku":{"type":"String","value":"Premium"},"secrets-object":{"type":"SecureObject"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-paas-la"},"oms-workspace-id":{"type":"String","value":"6465f325-13b1-40dc-934b-7b5cda0c68a8"},"oms-primary-shared-key":{"type":"String","value":"JbndsXGlvFeoOtMIX5W8vbUHJfyZzldHKkteFHW3IbN8nMKX+5ULhQ3d4nnSDQxbL+WCcrNNlr1NZrJ1n6JnQA=="},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A38%3A39Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=K1xmd4o9DiAWKLQUpfW7u5wykxC2VyYjWrVYNR2/7no%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T20:39:00.3339041Z","duration":"PT15.2874959S","correlationId":"b82e18db-452b-4917-a851-2f41f07ff496","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]},{"namespace":"Microsoft.KeyVault","resourceTypes":[{"resourceType":"vaults","locations":["centralus"]},{"resourceType":"vaults/providers/diagnosticsettings","locations":["centralus"]},{"resourceType":"vaults/providers/locks","locations":[null]},{"resourceType":"vaults/secrets","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-paas-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgpaaskvdiagfvo3e3","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgpaaskvdiagfvo3e3"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.KeyVault/vaults/providers/diagnosticsettings","resourceName":"org-paas-kv/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-paas-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete","resourceType":"Microsoft.KeyVault/vaults/providers/locks","resourceName":"org-paas-kv/Microsoft.Authorization/keyVaultDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgpaaskvdiagfvo3e3","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgpaaskvdiagfvo3e3"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgpaaskvdiagfvo3e3/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"orgpaaskvdiagfvo3e3/Microsoft.Authorization/storageDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-paas-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv/secrets/admin-user","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-paas-kv/admin-user"}],"outputs":{"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv"},"kv-name":{"type":"String","value":"org-paas-kv"},"kv-resourceGroup":{"type":"String","value":"org-paas-kv-rg"},"kv-uri":{"type":"String","value":"https://org-paas-kv.vault.azure.net/"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv/providers/Microsoft.Insights/diagnosticsettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv/secrets/admin-user"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgpaaskvdiagfvo3e3"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.Storage/storageAccounts/orgpaaskvdiagfvo3e3/providers/Microsoft.Authorization/locks/storageDoNotDelete"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['6599'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:39:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 20:39:16 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 20:39:16 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-kv-rg/providers/Microsoft.KeyVault/vaults/org-paas-kv"}, - "kv-name": { "value": "org-paas-kv"}, "kv-resourceGroup": { "value": "org-paas-kv-rg"}, - "kv-uri": { "value": "https://org-paas-kv.vault.azure.net/"}}\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['324'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 20:39:17 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-paas/parameters/kv/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [FfdF2d7mQ9ttjIyaiAKCpQ==] - date: ['Sat, 12 Jan 2019 20:39:16 GMT'] - etag: ['"0x8D678CE05BD2F16"'] - last-modified: ['Sat, 12 Jan 2019 20:39:17 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_e_workload_sqldb_creation.yaml b/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_e_workload_sqldb_creation.yaml deleted file mode 100644 index 8c1808609..000000000 --- a/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_e_workload_sqldb_creation.yaml +++ /dev/null @@ -1,655 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:39:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:39:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 20:39:18 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-paas/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet"}, - "vnet-name": { "value": "org-paas-vnet"}, "vnet-resourceGroup": { "value": - "org-paas-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['278'] - content-range: [bytes 0-277/278] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 20:39:18 GMT'] - etag: ['"0x8D678CDEF22808E"'] - last-modified: ['Sat, 12 Jan 2019 20:38:39 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [DGiLmoKDxlKDpWnCIrnfBQ==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:13:04 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-sqldb-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 20:39:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: 'b''b\''b\\\''b\\\\\\\''b\\\\\\\\\\\\\\\''{"properties": {"template": {"$schema": - "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {"admin-username": {"type": "string", - "metadata": {"description": "The username used to establish jumpbox VMs."}}, - "admin-password": {"type": "securestring", "metadata": {"description": "The - password given to the admin user."}}, "vnet-id": {"type": "string", "metadata": - {"description": "Workload Virtual Network resource Id"}}, "sql-server-properties": - {"type": "object", "metadata": {"description": "Info about Azure SQL Server"}}, - "vnet-name": {"defaultValue": "org-paas-vnet", "type": "string"}, "vnet-resourceGroup": - {"defaultValue": "org-paas-net-rg", "type": "string"}, "sas-key": {"defaultValue": - "se=2019-01-13T20%3A39%3A17Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=rQxPJSFieT2Gcbtswbe5yubS6stoSV8OgvVny/rXSCE%3D", - "type": "string"}, "output-params-storage-key": {"defaultValue": "WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==", - "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", - "type": "string"}}, "variables": {"server-name": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''sql-server-properties\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'').name]"}, - "resources": [{"apiVersion": "2015-05-01-preview", "location": "[resourceGroup().location]", - "type": "Microsoft.Sql/servers", "name": "[variables(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''server-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", - "properties": {"administratorLogin": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''admin-username\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", - "administratorLoginPassword": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''admin-password\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", - "version": "12.0"}}, {"name": "[concat(variables(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''server-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''sql-server-properties\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''virtualNetwork-rules\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''][copyIndex()].name)]", - "type": "Microsoft.Sql/servers/virtualNetworkRules", "apiVersion": "2015-05-01-preview", - "condition": "[greater(length(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''sql-server-properties\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''virtualNetwork-rules\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'']), - 0)]", "dependsOn": ["[concat(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''Microsoft.Sql/servers/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', - variables(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''server-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]"], - "copy": {"name": "firewallRules", "count": "[length(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''sql-server-properties\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''virtualNetwork-rules\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''])]"}, - "properties": {"virtualNetworkSubnetId": "[concat(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''vnet-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''/subnets/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', - parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''sql-server-properties\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''virtualNetwork-rules\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''][copyIndex()][\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''subnet-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''])]"}}, - {"apiVersion": "2017-10-01-preview", "type": "Microsoft.Sql/servers/databases", - "dependsOn": ["[concat(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''Microsoft.Sql/servers/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', - variables(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''server-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]"], - "copy": {"name": "databases", "count": "[length(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''sql-server-properties\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'').databases)]"}, - "location": "[resourceGroup().location]", "name": "[concat(variables(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''server-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''sql-server-properties\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'').databases[copyIndex()].name)]", - "properties": {"collation": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''sql-server-properties\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'').databases[copyIndex()].collation]", - "maxSizeBytes": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''sql-server-properties\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'').databases[copyIndex()][\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''maxSize-bytes\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'']]"}, - "sku": {"name": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''sql-server-properties\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'').databases[copyIndex()].sku.name]", - "tier": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''sql-server-properties\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'').databases[copyIndex()].sku.tier]"}}]}, - "parameters": {"admin-username": {"value": "admin-user"}, "admin-password": - {"reference": {"keyVault": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"}, - "secretName": "admin-user"}}, "sql-server-properties": {"value": {"name": "org-paas-db-server01", - "virtualNetwork-rules": [{"name": "default-subnet-svc-endpoint", "subnet-name": - "default"}], "databases": [{"name": "sqldb01", "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSize-bytes": 268435456000, "sku": {"name": "S0", "tier": "Standard"}}]}}, - "vnet-id": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet"}, - "vnet-name": {"value": "org-paas-vnet"}, "vnet-resourceGroup": {"value": "org-paas-net-rg"}, - "sas-key": {"value": "se=2019-01-13T20%3A39%3A17Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=rQxPJSFieT2Gcbtswbe5yubS6stoSV8OgvVny/rXSCE%3D"}, - "output-params-storage-key": {"value": "WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="}, - "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\\\\\\\\\\\\\\\''\\\\\\\''\\\''\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['4293'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-sqldb-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-sqldb?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-sqldb","name":"org-workload-paas-deployment-sqldb","properties":{"templateHash":"16646461407163904949","parameters":{"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"admin-user"}},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet"},"sql-server-properties":{"type":"Object","value":{"name":"org-paas-db-server01","virtualNetwork-rules":[{"name":"default-subnet-svc-endpoint","subnet-name":"default"}],"databases":[{"name":"sqldb01","collation":"SQL_Latin1_General_CP1_CI_AS","maxSize-bytes":268435456000,"sku":{"name":"S0","tier":"Standard"}}]}},"vnet-name":{"type":"String","value":"org-paas-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-paas-net-rg"},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A39%3A17Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=rQxPJSFieT2Gcbtswbe5yubS6stoSV8OgvVny/rXSCE%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T20:39:21.758472Z","duration":"PT0.6456021S","correlationId":"91acaf0c-088b-42bc-8d34-15a58f3f1b46","providers":[{"namespace":"Microsoft.Sql","resourceTypes":[{"resourceType":"servers","locations":["centralus"]},{"resourceType":"servers/virtualNetworkRules","locations":[null]},{"resourceType":"servers/databases","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Sql/servers/org-paas-db-server01","resourceType":"Microsoft.Sql/servers","resourceName":"org-paas-db-server01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Sql/servers/org-paas-db-server01/virtualNetworkRules/default-subnet-svc-endpoint","resourceType":"Microsoft.Sql/servers/virtualNetworkRules","resourceName":"org-paas-db-server01/default-subnet-svc-endpoint"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Sql/servers/org-paas-db-server01","resourceType":"Microsoft.Sql/servers","resourceName":"org-paas-db-server01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Sql/servers/org-paas-db-server01/databases/sqldb01","resourceType":"Microsoft.Sql/servers/databases","resourceName":"org-paas-db-server01/sqldb01"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-sqldb-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-sqldb/operationStatuses/08586542813243647745?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['3143'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:39:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-sqldb-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-sqldb/operationStatuses/08586542813243647745?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:39:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-sqldb-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-sqldb/operationStatuses/08586542813243647745?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:40:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-sqldb-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-sqldb?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-sqldb","name":"org-workload-paas-deployment-sqldb","properties":{"templateHash":"16646461407163904949","parameters":{"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"admin-user"}},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet"},"sql-server-properties":{"type":"Object","value":{"name":"org-paas-db-server01","virtualNetwork-rules":[{"name":"default-subnet-svc-endpoint","subnet-name":"default"}],"databases":[{"name":"sqldb01","collation":"SQL_Latin1_General_CP1_CI_AS","maxSize-bytes":268435456000,"sku":{"name":"S0","tier":"Standard"}}]}},"vnet-name":{"type":"String","value":"org-paas-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-paas-net-rg"},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A39%3A17Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=rQxPJSFieT2Gcbtswbe5yubS6stoSV8OgvVny/rXSCE%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T20:39:55.9678295Z","duration":"PT34.8549596S","correlationId":"91acaf0c-088b-42bc-8d34-15a58f3f1b46","providers":[{"namespace":"Microsoft.Sql","resourceTypes":[{"resourceType":"servers","locations":["centralus"]},{"resourceType":"servers/virtualNetworkRules","locations":[null]},{"resourceType":"servers/databases","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Sql/servers/org-paas-db-server01","resourceType":"Microsoft.Sql/servers","resourceName":"org-paas-db-server01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Sql/servers/org-paas-db-server01/virtualNetworkRules/default-subnet-svc-endpoint","resourceType":"Microsoft.Sql/servers/virtualNetworkRules","resourceName":"org-paas-db-server01/default-subnet-svc-endpoint"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Sql/servers/org-paas-db-server01","resourceType":"Microsoft.Sql/servers","resourceName":"org-paas-db-server01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Sql/servers/org-paas-db-server01/databases/sqldb01","resourceType":"Microsoft.Sql/servers/databases","resourceName":"org-paas-db-server01/sqldb01"}],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Sql/servers/org-paas-db-server01"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Sql/servers/org-paas-db-server01/databases/sqldb01"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-sqldb-rg/providers/Microsoft.Sql/servers/org-paas-db-server01/virtualNetworkRules/default-subnet-svc-endpoint"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['3697'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:40:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -version: 1 diff --git a/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_f_workload_ase_creation.yaml b/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_f_workload_ase_creation.yaml deleted file mode 100644 index be9259ede..000000000 --- a/tests/integration_tests/paas_workload/recordings/test_paas_integration_tests.test_f_workload_ase_creation.yaml +++ /dev/null @@ -1,688 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:40:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 20:40:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 20:40:24 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-paas/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet"}, - "vnet-name": { "value": "org-paas-vnet"}, "vnet-resourceGroup": { "value": - "org-paas-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['278'] - content-range: [bytes 0-277/278] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 20:40:24 GMT'] - etag: ['"0x8D678CDEF22808E"'] - last-modified: ['Sat, 12 Jan 2019 20:38:39 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [DGiLmoKDxlKDpWnCIrnfBQ==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:13:04 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-ase-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 20:40:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: 'b''b\''b\\\''b\\\\\\\''{"properties": {"template": {"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {"deployment-prefix": {"type": "string", - "metadata": {"description": ""}}, "vnet-id": {"type": "string", "metadata": - {"description": "Workload Virtual Network resource Id"}}, "vnet-resourceGroup": - {"type": "string", "metadata": {"description": "Shared services Virtual Network - resource group name"}}, "default-subnet-name": {"type": "string", "defaultValue": - "default", "metadata": {"description": "Name of the management subnet inside - the workload virtual network."}}, "location": {"type": "string", "metadata": - {"description": "ASE Location"}}, "website-name": {"type": "string", "metadata": - {"description": "WebApp name"}}, "worker-size": {"type": "string", "metadata": - {"description": "WebApp name"}}, "sku-tier": {"type": "string", "metadata": - {"description": "Hosting plan sku tier associated to ASE"}}, "sku-code": {"type": - "string", "metadata": {"description": "Hosting plan sku name associated to ASE"}}, - "internal-loadBalancing-mode": {"type": "int", "defaultValue": 3, "metadata": - {"description": "Hosting plan sku name associated to ASE"}}, "dns-suffix": {"type": - "string", "metadata": {"description": "Hosting plan sku name associated to ASE"}}, - "default-subnet-route": {"type": "array", "metadata": {"description": "On-premises - route, this route has to be appended after ASE got successfully provisioned. - This route allows on-premises to access ASE applications"}}, "default-udr-name": - {"type": "string", "metadata": {"description": "UDR associated to default subnet"}}, - "default-subnet-address-prefix": {"defaultValue": "${workload.network.subnets[0].address-prefix}", - "type": "string"}, "vnet-address-prefix": {"defaultValue": "${workload.network.address-prefix}", - "type": "string"}, "vnet-name": {"defaultValue": "org-paas-vnet", "type": "string"}, - "sas-key": {"defaultValue": "se=2019-01-13T20%3A40%3A23Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ZIbAONsKAPHEpSxTFlGTPhok%2BFkB8y7Ejfr5w/EhvJQ%3D", - "type": "string"}, "output-params-storage-key": {"defaultValue": "WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==", - "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", - "type": "string"}}, "variables": {"ase-name": "[concat(parameters(\\\\\\\\\\\\\\\''deployment-prefix\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\''-ase\\\\\\\\\\\\\\\'')]", "hostingPlan-name": "[concat(parameters(\\\\\\\\\\\\\\\''deployment-prefix\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\''-app-plan\\\\\\\\\\\\\\\'')]", "default-udr-name": "[concat(parameters(\\\\\\\\\\\\\\\''deployment-prefix\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\''-\\\\\\\\\\\\\\\'', parameters(\\\\\\\\\\\\\\\''default-udr-name\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\''-udr\\\\\\\\\\\\\\\'')]"}, "resources": [{"apiVersion": "2015-02-01", - "type": "Microsoft.Web/hostingEnvironments", "name": "[variables(\\\\\\\\\\\\\\\''ase-name\\\\\\\\\\\\\\\'')]", - "kind": "ASEV2", "location": "[parameters(\\\\\\\\\\\\\\\''location\\\\\\\\\\\\\\\'')]", - "properties": {"name": "[variables(\\\\\\\\\\\\\\\''ase-name\\\\\\\\\\\\\\\'')]", - "location": "[parameters(\\\\\\\\\\\\\\\''location\\\\\\\\\\\\\\\'')]", "VirtualNetwork": - {"Id": "[parameters(\\\\\\\\\\\\\\\''vnet-id\\\\\\\\\\\\\\\'')]", "Subnet": - "[parameters(\\\\\\\\\\\\\\\''default-subnet-name\\\\\\\\\\\\\\\'')]"}, "dnsSuffix": - "[concat(\\\\\\\\\\\\\\\''ase.\\\\\\\\\\\\\\\'', parameters(\\\\\\\\\\\\\\\''dns-suffix\\\\\\\\\\\\\\\''))]", - "internalLoadBalancingMode": "[parameters(\\\\\\\\\\\\\\\''internal-loadBalancing-mode\\\\\\\\\\\\\\\'')]"}}, - {"apiVersion": "2016-03-01", "type": "Microsoft.Web/sites", "name": "[parameters(\\\\\\\\\\\\\\\''website-name\\\\\\\\\\\\\\\'')]", - "properties": {"name": "[parameters(\\\\\\\\\\\\\\\''website-name\\\\\\\\\\\\\\\'')]", - "serverFarmId": "[resourceId(\\\\\\\\\\\\\\\''Microsoft.Web/serverfarms/\\\\\\\\\\\\\\\'', - variables(\\\\\\\\\\\\\\\''hostingPlan-name\\\\\\\\\\\\\\\''))]", "hostingEnvironment": - "[variables(\\\\\\\\\\\\\\\''ase-name\\\\\\\\\\\\\\\'')]"}, "location": "[parameters(\\\\\\\\\\\\\\\''location\\\\\\\\\\\\\\\'')]", - "dependsOn": ["[concat(\\\\\\\\\\\\\\\''Microsoft.Web/serverfarms/\\\\\\\\\\\\\\\'', - variables(\\\\\\\\\\\\\\\''hostingPlan-name\\\\\\\\\\\\\\\''))]"]}, {"apiVersion": - "2016-09-01", "name": "[variables(\\\\\\\\\\\\\\\''hostingPlan-name\\\\\\\\\\\\\\\'')]", - "type": "Microsoft.Web/serverfarms", "location": "[parameters(\\\\\\\\\\\\\\\''location\\\\\\\\\\\\\\\'')]", - "dependsOn": ["[variables(\\\\\\\\\\\\\\\''ase-name\\\\\\\\\\\\\\\'')]"], "properties": - {"name": "[variables(\\\\\\\\\\\\\\\''hostingPlan-name\\\\\\\\\\\\\\\'')]", - "workerSizeId": "[parameters(\\\\\\\\\\\\\\\''worker-size\\\\\\\\\\\\\\\'')]", - "reserved": false, "numberOfWorkers": "1", "hostingEnvironment": "[variables(\\\\\\\\\\\\\\\''ase-name\\\\\\\\\\\\\\\'')]"}, - "sku": {"Tier": "[parameters(\\\\\\\\\\\\\\\''sku-tier\\\\\\\\\\\\\\\'')]", - "Name": "[parameters(\\\\\\\\\\\\\\\''sku-code\\\\\\\\\\\\\\\'')]"}}, {"apiVersion": - "2017-05-10", "name": "nestedDeployDefaultUDR", "type": "Microsoft.Resources/deployments", - "resourceGroup": "[parameters(\\\\\\\\\\\\\\\''vnet-resourceGroup\\\\\\\\\\\\\\\'')]", - "dependsOn": ["[variables(\\\\\\\\\\\\\\\''ase-name\\\\\\\\\\\\\\\'')]", "[parameters(\\\\\\\\\\\\\\\''website-name\\\\\\\\\\\\\\\'')]", - "[variables(\\\\\\\\\\\\\\\''hostingPlan-name\\\\\\\\\\\\\\\'')]"], "properties": - {"mode": "Incremental", "template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": - [{"type": "Microsoft.Network/routeTables", "apiVersion": "2017-10-01", "location": - "[resourceGroup().location]", "name": "[variables(\\\\\\\\\\\\\\\''default-udr-name\\\\\\\\\\\\\\\'')]", - "properties": {"routes": "[concat(parameters(\\\\\\\\\\\\\\\''default-subnet-route\\\\\\\\\\\\\\\''), - reference(resourceId(parameters(\\\\\\\\\\\\\\\''vnet-resourceGroup\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\''Microsoft.Network/routeTables\\\\\\\\\\\\\\\'', variables(\\\\\\\\\\\\\\\''default-udr-name\\\\\\\\\\\\\\\'')), - \\\\\\\\\\\\\\\''2017-10-01\\\\\\\\\\\\\\\'').routes)]", "disableBgpRoutePropagation": - true}, "tags": {"displayName": "[variables(\\\\\\\\\\\\\\\''default-udr-name\\\\\\\\\\\\\\\'')]"}}]}}}]}, - "parameters": {"deployment-prefix": {"value": "org-paas"}, "default-subnet-name": - {"value": "default"}, "default-subnet-address-prefix": {"value": "10.4.4.0/24"}, - "vnet-address-prefix": {"value": "10.4.4.0/23"}, "location": {"value": "Central - US"}, "website-name": {"value": "samplemvc"}, "worker-size": {"value": "0"}, - "sku-tier": {"value": "Isolated"}, "sku-code": {"value": "I1"}, "internal-loadBalancing-mode": - {"value": 3}, "dns-suffix": {"value": "org.com"}, "default-subnet-route": {"value": - [{"name": "default", "properties": {"addressPrefix": "0.0.0.0/0", "nextHopIpAddress": - "10.4.1.4", "nextHopType": "VirtualAppliance"}}]}, "default-udr-name": {"value": - "default"}, "vnet-id": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet"}, - "vnet-name": {"value": "org-paas-vnet"}, "vnet-resourceGroup": {"value": "org-paas-net-rg"}, - "sas-key": {"value": "se=2019-01-13T20%3A40%3A23Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ZIbAONsKAPHEpSxTFlGTPhok%2BFkB8y7Ejfr5w/EhvJQ%3D"}, - "output-params-storage-key": {"value": "WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="}, - "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\\\\\\\''\\\''\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['6330'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-ase-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-ase?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-ase","name":"org-workload-paas-deployment-ase","properties":{"templateHash":"15477990155827834295","parameters":{"deployment-prefix":{"type":"String","value":"org-paas"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-paas-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"location":{"type":"String","value":"Central - US"},"website-name":{"type":"String","value":"samplemvc"},"worker-size":{"type":"String","value":"0"},"sku-tier":{"type":"String","value":"Isolated"},"sku-code":{"type":"String","value":"I1"},"internal-loadBalancing-mode":{"type":"Int","value":3},"dns-suffix":{"type":"String","value":"org.com"},"default-subnet-route":{"type":"Array","value":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}}]},"default-udr-name":{"type":"String","value":"default"},"default-subnet-address-prefix":{"type":"String","value":"10.4.4.0/24"},"vnet-address-prefix":{"type":"String","value":"10.4.4.0/23"},"vnet-name":{"type":"String","value":"org-paas-vnet"},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A40%3A23Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ZIbAONsKAPHEpSxTFlGTPhok%2BFkB8y7Ejfr5w/EhvJQ%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T20:40:27.2950952Z","duration":"PT0.7464979S","correlationId":"c4ad9841-4272-49d5-a209-f3939d4f60a7","providers":[{"namespace":"Microsoft.Web","resourceTypes":[{"resourceType":"hostingEnvironments","locations":["centralus"]},{"resourceType":"sites","locations":["centralus"]},{"resourceType":"serverfarms","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/serverfarms/org-paas-app-plan","resourceType":"Microsoft.Web/serverfarms","resourceName":"org-paas-app-plan"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/sites/samplemvc","resourceType":"Microsoft.Web/sites","resourceName":"samplemvc"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/hostingEnvironments/org-paas-ase","resourceType":"Microsoft.Web/hostingEnvironments","resourceName":"org-paas-ase"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/serverfarms/org-paas-app-plan","resourceType":"Microsoft.Web/serverfarms","resourceName":"org-paas-app-plan"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/hostingEnvironments/org-paas-ase","resourceType":"Microsoft.Web/hostingEnvironments","resourceName":"org-paas-ase"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/sites/samplemvc","resourceType":"Microsoft.Web/sites","resourceName":"samplemvc"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/serverfarms/org-paas-app-plan","resourceType":"Microsoft.Web/serverfarms","resourceName":"org-paas-app-plan"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/routeTables/org-paas-default-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"org-paas-default-udr","apiVersion":"2017-10-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/nestedDeployDefaultUDR","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeployDefaultUDR"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-ase-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-ase/operationStatuses/08586542812589290604?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['4503'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:40:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-ase-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-ase/operationStatuses/08586542812589290604?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:40:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-ase-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-ase/operationStatuses/08586542812589290604?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:41:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-paas-ase-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-ase?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Resources/deployments/org-workload-paas-deployment-ase","name":"org-workload-paas-deployment-ase","properties":{"templateHash":"15477990155827834295","parameters":{"deployment-prefix":{"type":"String","value":"org-paas"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/virtualNetworks/org-paas-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-paas-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"location":{"type":"String","value":"Central - US"},"website-name":{"type":"String","value":"samplemvc"},"worker-size":{"type":"String","value":"0"},"sku-tier":{"type":"String","value":"Isolated"},"sku-code":{"type":"String","value":"I1"},"internal-loadBalancing-mode":{"type":"Int","value":3},"dns-suffix":{"type":"String","value":"org.com"},"default-subnet-route":{"type":"Array","value":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}}]},"default-udr-name":{"type":"String","value":"default"},"default-subnet-address-prefix":{"type":"String","value":"10.4.4.0/24"},"vnet-address-prefix":{"type":"String","value":"10.4.4.0/23"},"vnet-name":{"type":"String","value":"org-paas-vnet"},"sas-key":{"type":"String","value":"se=2019-01-13T20%3A40%3A23Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ZIbAONsKAPHEpSxTFlGTPhok%2BFkB8y7Ejfr5w/EhvJQ%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T20:41:25.4796605Z","duration":"PT58.9310632S","correlationId":"c4ad9841-4272-49d5-a209-f3939d4f60a7","providers":[{"namespace":"Microsoft.Web","resourceTypes":[{"resourceType":"hostingEnvironments","locations":["centralus"]},{"resourceType":"sites","locations":["centralus"]},{"resourceType":"serverfarms","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/serverfarms/org-paas-app-plan","resourceType":"Microsoft.Web/serverfarms","resourceName":"org-paas-app-plan"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/sites/samplemvc","resourceType":"Microsoft.Web/sites","resourceName":"samplemvc"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/hostingEnvironments/org-paas-ase","resourceType":"Microsoft.Web/hostingEnvironments","resourceName":"org-paas-ase"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/serverfarms/org-paas-app-plan","resourceType":"Microsoft.Web/serverfarms","resourceName":"org-paas-app-plan"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/hostingEnvironments/org-paas-ase","resourceType":"Microsoft.Web/hostingEnvironments","resourceName":"org-paas-ase"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/sites/samplemvc","resourceType":"Microsoft.Web/sites","resourceName":"samplemvc"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/serverfarms/org-paas-app-plan","resourceType":"Microsoft.Web/serverfarms","resourceName":"org-paas-app-plan"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/routeTables/org-paas-default-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"org-paas-default-udr","apiVersion":"2017-10-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Resources/deployments/nestedDeployDefaultUDR","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeployDefaultUDR"}],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/hostingEnvironments/org-paas-ase"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/serverfarms/org-paas-app-plan"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-ase-rg/providers/Microsoft.Web/sites/samplemvc"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-paas-net-rg/providers/Microsoft.Network/routeTables/org-paas-default-udr"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['5133'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 20:41:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -version: 1 diff --git a/tests/integration_tests/paas_workload/test_paas_integration_tests.py b/tests/integration_tests/paas_workload/test_paas_integration_tests.py deleted file mode 100644 index 26895f812..000000000 --- a/tests/integration_tests/paas_workload/test_paas_integration_tests.py +++ /dev/null @@ -1,111 +0,0 @@ -from tools.devtools_testutils.base_replayable_test_case import VDCBaseTestCase -from tools.devtools_testutils.base_integration_test_case import BaseIntegrationTestCase -from pathlib import Path -from os.path import join -import unittest - -args = dict() -args['resource-group'] = None -args['validate-deployment'] = None -args['deploy-module-dependencies'] = None -args['service-principals'] = None -args['create-vdc-storage'] = None -args['environment-type'] = 'workload' -args['upload-scripts'] = None -args['create-vdc-storage'] = None -args['delete-validation-modules'] = None - -class PaaSIntegrationTests(BaseIntegrationTestCase): - - def setUp(self): - super(PaaSIntegrationTests, self).setUp() - - parameters_file = '' - - if self.is_live: - parameters_file = 'archetype.json' - else: - parameters_file = 'archetype.test.json' - - self._workload_path = join( - Path(__file__).parents[3], - 'archetypes', - 'paas', - parameters_file) - self._environment_type = 'workload' - - def test_a_workload_log_analytics_creation(self): - - self.set_resource_to_deploy('la', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, True) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_b_workload_nsg_creation(self): - - self.set_resource_to_deploy('nsg', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_c_workload_network_creation(self): - - self.set_resource_to_deploy('workload-net', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_d_workload_kv_creation(self): - - self.set_resource_to_deploy('kv', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_e_workload_sqldb_creation(self): - - self.set_resource_to_deploy('sqldb', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_f_workload_ase_creation(self): - - self.set_resource_to_deploy('ase', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - -#------------------------------------------------------------------------------ -if __name__ == '__main__': - unittest.main() \ No newline at end of file diff --git a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_a_workload_log_analytics_creation.yaml b/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_a_workload_log_analytics_creation.yaml deleted file mode 100644 index b75b1e141..000000000 --- a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_a_workload_log_analytics_creation.yaml +++ /dev/null @@ -1,808 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vdc-storage-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 18:49:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"sku": {"name": "Standard_LRS"}, "kind": "BlobStorage", "location": "Central - US", "properties": {"encryption": {"services": {"blob": {"enabled": true}}, - "keySource": "Microsoft.Storage"}, "accessTier": "Cool", "supportsHttpsTrafficOnly": - true, "isHnsEnabled": false}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['268'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage?api-version=2018-02-01 - response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"BlobStorage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage","name":"storage","type":"Microsoft.Storage/storageAccounts","location":"centralus","tags":{},"properties":{"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2019-01-12T06:05:37.8777624Z"},"blob":{"enabled":true,"lastEnabledTime":"2019-01-12T06:05:37.8777624Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Cool","provisioningState":"Succeeded","creationTime":"2019-01-12T06:05:37.7684284Z","primaryEndpoints":{"dfs":"https://storage.dfs.core.windows.net/","blob":"https://storage.blob.core.windows.net/","table":"https://storage.table.core.windows.net/"},"primaryLocation":"centralus","statusOfPrimary":"available"}}'} - headers: - cache-control: [no-cache] - content-length: ['1024'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 18:49:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 18:49:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 18:51:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-la-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 18:51:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "SharedServicesOpsPermittedResourceTypes", - "description": "Policy to prevent the creation of unauthorized resource types - within the resource group.", "policyRule": {"if": {"not": {"field": "type", - "in": ["Microsoft.OperationalInsights/workspaces", "Microsoft.Network/networkWatchers"]}}, - "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['382'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"SharedServicesOpsPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.OperationalInsights/workspaces","Microsoft.Network/networkWatchers"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"SharedServicesOpsPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:51:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "SharedServicesOpsPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes"}, - "name": "SharedServicesOpsPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['294'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesOpsPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"SharedServicesOpsPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesOpsPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"SharedServicesOpsPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['652'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:51:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "denyPublicIP", "description": "Policy to - prevent the creation of public ip resources", "policyRule": {"if": {"field": - "type", "in": ["Microsoft.Network/publicIPAddresses"]}, "then": {"effect": "audit"}}, - "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['269'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"denyPublicIP","policyType":"Custom","description":"Policy - to prevent the creation of public ip resources","metadata":{"category":"VDC"},"policyRule":{"if":{"field":"type","in":["Microsoft.Network/publicIPAddresses"]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","type":"Microsoft.Authorization/policyDefinitions","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['472'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:51:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "denyPublicIP", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP"}, - "name": "denyPublicIP"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['213'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"denyPublicIP","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP","type":"Microsoft.Authorization/policyAssignments","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['544'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:51:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {"deployment-prefix": {"type": "string", - "metadata": {"description": "Deployment prefix. E.g. Organization-DeploymentType"}}, - "service-tier": {"type": "string", "allowedValues": ["Free", "Standalone", "PerNode"], - "metadata": {"description": "Service Tier: Free, Standalone, or PerNode"}}, - "data-retention": {"type": "int", "defaultValue": 30, "minValue": 7, "maxValue": - 730, "metadata": {"description": "Number of days data will be retained for."}}, - "location": {"type": "string", "allowedValues": ["Australia Southeast", "Canada - Central", "Central India", "East US", "Japan East", "Southeast Asia", "UK South", - "West Europe", "West US 2"], "metadata": {"description": "Region used when establishing - the workspace."}}, "sas-key": {"defaultValue": "se=2019-01-13T18%3A51%3A27Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=tNaGlh%2BjmWSc%2B840wfZTpubGh5EUiLT20XGQLWHxq10%3D", - "type": "string"}, "output-params-storage-key": {"defaultValue": "WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==", - "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", - "type": "string"}}, "variables": {"oms-workspace-name": "[concat(parameters(\\\''deployment-prefix\\\''), - \\\''-la\\\'')]"}, "resources": [{"apiVersion": "2017-03-15-preview", "name": - "[variables(\\\''oms-workspace-name\\\'')]", "location": "[parameters(\\\''location\\\'')]", - "tags": {}, "type": "Microsoft.OperationalInsights/workspaces", "properties": - {"sku": {"Name": "[parameters(\\\''service-tier\\\'')]"}, "retention": "[parameters(\\\''data-retention\\\'')]"}}], - "outputs": {"oms-id": {"type": "string", "value": "[resourceId(\\\''Microsoft.OperationalInsights/workspaces\\\'', - variables(\\\''oms-workspace-name\\\''))]"}, "oms-workspace-resourceGroup": - {"type": "string", "value": "[resourceGroup().name]"}, "oms-workspace-name": - {"type": "string", "value": "[variables(\\\''oms-workspace-name\\\'')]"}, "oms-workspace-id": - {"type": "string", "value": "[reference(resourceId(\\\''Microsoft.OperationalInsights/workspaces\\\'', - variables(\\\''oms-workspace-name\\\'')), \\\''2015-03-20\\\'').customerId]"}, - "oms-primary-shared-key": {"type": "string", "value": "[listKeys(resourceId(\\\''Microsoft.OperationalInsights/workspaces\\\'', - variables(\\\''oms-workspace-name\\\'')), \\\''2015-03-20\\\'').primarySharedKey]"}}}, - "parameters": {"deployment-prefix": {"value": "org-sap"}, "data-retention": - {"value": 30}, "location": {"value": "West US 2"}, "service-tier": {"value": - "PerNode"}, "sas-key": {"value": "se=2019-01-13T18%3A51%3A27Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=tNaGlh%2BjmWSc%2B840wfZTpubGh5EUiLT20XGQLWHxq10%3D"}, - "output-params-storage-key": {"value": "WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="}, - "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['2932'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-la-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-la?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-la","name":"org-workload-sap-deployment-la","properties":{"templateHash":"14879612599206222399","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"service-tier":{"type":"String","value":"PerNode"},"data-retention":{"type":"Int","value":30},"location":{"type":"String","value":"West - US 2"},"sas-key":{"type":"String","value":"se=2019-01-13T18%3A51%3A27Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=tNaGlh%2BjmWSc%2B840wfZTpubGh5EUiLT20XGQLWHxq10%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T18:51:31.9725627Z","duration":"PT0.4198209S","correlationId":"70b6c354-ad22-43d7-84d6-efb9c975e278","providers":[{"namespace":"Microsoft.OperationalInsights","resourceTypes":[{"resourceType":"workspaces","locations":["westus2"]}]}],"dependencies":[]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-la-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-la/operationStatuses/08586542877939248827?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['1194'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:51:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-la-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-la/operationStatuses/08586542877939248827?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:52:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-la-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-la?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-la","name":"org-workload-sap-deployment-la","properties":{"templateHash":"14879612599206222399","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"service-tier":{"type":"String","value":"PerNode"},"data-retention":{"type":"Int","value":30},"location":{"type":"String","value":"West - US 2"},"sas-key":{"type":"String","value":"se=2019-01-13T18%3A51%3A27Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=tNaGlh%2BjmWSc%2B840wfZTpubGh5EUiLT20XGQLWHxq10%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T18:51:51.1253658Z","duration":"PT19.572624S","correlationId":"70b6c354-ad22-43d7-84d6-efb9c975e278","providers":[{"namespace":"Microsoft.OperationalInsights","resourceTypes":[{"resourceType":"workspaces","locations":["westus2"]}]}],"dependencies":[],"outputs":{"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-sap-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-sap-la-rg"},"oms-workspace-name":{"type":"String","value":"org-sap-la"},"oms-workspace-id":{"type":"String","value":"cb8c80b6-5fcb-45af-b2c3-cb5cec19e3dc"},"oms-primary-shared-key":{"type":"String","value":"znP8vYPbEzjfvvW6xVh6y0FTI87U5lFaUaktVs/qrd0JTgn3HjFS0JPmiMhaZUirl7kaJ8+c2gcjdWvxG9VpLw=="}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-sap-la"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['1941'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:52:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 18:52:03 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 18:52:03 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-sap-la"}, - "oms-workspace-resourceGroup": { "value": "org-sap-la-rg"}, "oms-workspace-name": - { "value": "org-sap-la"}, "oms-workspace-id": { "value": "cb8c80b6-5fcb-45af-b2c3-cb5cec19e3dc"}, - "oms-primary-shared-key": { "value": "znP8vYPbEzjfvvW6xVh6y0FTI87U5lFaUaktVs/qrd0JTgn3HjFS0JPmiMhaZUirl7kaJ8+c2gcjdWvxG9VpLw=="}}\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['494'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 18:52:03 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [gt0eR7F5xxoDxCmgviPIBg==] - date: ['Sat, 12 Jan 2019 18:52:03 GMT'] - etag: ['"0x8D678BF0AF5CC06"'] - last-modified: ['Sat, 12 Jan 2019 18:52:03 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_b_workload_nsg_creation.yaml b/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_b_workload_nsg_creation.yaml deleted file mode 100644 index ba9209097..000000000 --- a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_b_workload_nsg_creation.yaml +++ /dev/null @@ -1,632 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 18:52:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 18:52:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 18:52:05 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-sap-la"}, - "oms-workspace-resourceGroup": { "value": "org-sap-la-rg"}, "oms-workspace-name": - { "value": "org-sap-la"}, "oms-workspace-id": { "value": "cb8c80b6-5fcb-45af-b2c3-cb5cec19e3dc"}, - "oms-primary-shared-key": { "value": "znP8vYPbEzjfvvW6xVh6y0FTI87U5lFaUaktVs/qrd0JTgn3HjFS0JPmiMhaZUirl7kaJ8+c2gcjdWvxG9VpLw=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['494'] - content-range: [bytes 0-493/494] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 18:52:05 GMT'] - etag: ['"0x8D678BF0AF5CC06"'] - last-modified: ['Sat, 12 Jan 2019 18:52:03 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [gt0eR7F5xxoDxCmgviPIBg==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:45:22 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 18:52:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '!!! The request body has been omitted from the recording because its size - 15228 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['10970'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nsg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nsg","name":"org-workload-sap-deployment-nsg","properties":{"templateHash":"1535356943358928987","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"deployment-name":{"type":"String","value":"sap"},"network-security-groups":{"type":"Array","value":[{"name":"default","rules":[{"name":"allow-azure-loadbalancer","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"VirtualNetwork","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":100,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"AzureLoadBalancer","sourceApplicationSecurityGroups":[]}},{"name":"deny-internet","properties":{"access":"Deny","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":4095,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"Internet","sourceApplicationSecurityGroups":[]}},{"name":"deny-vnet","properties":{"access":"Deny","destinationAddressPrefixes":[],"destinationAddressPrefix":"VirtualNetwork","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":4096,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}}]}]},"application-security-groups":{"type":"Array","value":[{"name":"mgmt"},{"name":"business"},{"name":"data"}]},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-sap-la"},"data-retention":{"type":"Int","value":30},"oms-workspace-resourceGroup":{"type":"String","value":"org-sap-la-rg"},"oms-workspace-name":{"type":"String","value":"org-sap-la"},"oms-workspace-id":{"type":"String","value":"cb8c80b6-5fcb-45af-b2c3-cb5cec19e3dc"},"oms-primary-shared-key":{"type":"String","value":"znP8vYPbEzjfvvW6xVh6y0FTI87U5lFaUaktVs/qrd0JTgn3HjFS0JPmiMhaZUirl7kaJ8+c2gcjdWvxG9VpLw=="},"sas-key":{"type":"String","value":"se=2019-01-13T18%3A52%3A04Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=L0oFncsIZsiLJbTPFywArY4sjoylyigHnqwe2V/r2gU%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T18:52:08.5971395Z","duration":"PT0.9258947S","correlationId":"7547562e-14cb-4622-9700-d576dc5a7783","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"applicationSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups/providers/diagnosticSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-sap-mgmt-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-sap-mgmt-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-sap-business-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-sap-business-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-sap-data-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-sap-data-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Storage/storageAccounts/sapdiagbhcpm2gkoft44bhc","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sapdiagbhcpm2gkoft44bhc"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-sap-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-sap-default-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-sap-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-sap-default-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-sap-default-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"org-sap-default-nsg/Microsoft.Insights/service"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nsg/operationStatuses/08586542877578064210?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['5369'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:52:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nsg/operationStatuses/08586542877578064210?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:52:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nsg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nsg","name":"org-workload-sap-deployment-nsg","properties":{"templateHash":"1535356943358928987","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"deployment-name":{"type":"String","value":"sap"},"network-security-groups":{"type":"Array","value":[{"name":"default","rules":[{"name":"allow-azure-loadbalancer","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"VirtualNetwork","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":100,"protocol":"*","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"AzureLoadBalancer","sourceApplicationSecurityGroups":[]}},{"name":"deny-internet","properties":{"access":"Deny","destinationAddressPrefixes":[],"destinationAddressPrefix":"*","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":4095,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"Internet","sourceApplicationSecurityGroups":[]}},{"name":"deny-vnet","properties":{"access":"Deny","destinationAddressPrefixes":[],"destinationAddressPrefix":"VirtualNetwork","destinationPortRange":"*","destinationPortRanges":[],"destinationApplicationSecurityGroups":[],"direction":"Inbound","priority":4096,"protocol":"Tcp","sourcePortRange":"*","sourcePortRanges":[],"sourceAddressPrefix":"VirtualNetwork","sourceApplicationSecurityGroups":[]}}]}]},"application-security-groups":{"type":"Array","value":[{"name":"mgmt"},{"name":"business"},{"name":"data"}]},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-sap-la"},"data-retention":{"type":"Int","value":30},"oms-workspace-resourceGroup":{"type":"String","value":"org-sap-la-rg"},"oms-workspace-name":{"type":"String","value":"org-sap-la"},"oms-workspace-id":{"type":"String","value":"cb8c80b6-5fcb-45af-b2c3-cb5cec19e3dc"},"oms-primary-shared-key":{"type":"String","value":"znP8vYPbEzjfvvW6xVh6y0FTI87U5lFaUaktVs/qrd0JTgn3HjFS0JPmiMhaZUirl7kaJ8+c2gcjdWvxG9VpLw=="},"sas-key":{"type":"String","value":"se=2019-01-13T18%3A52%3A04Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=L0oFncsIZsiLJbTPFywArY4sjoylyigHnqwe2V/r2gU%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T18:52:29.8847116Z","duration":"PT22.2134668S","correlationId":"7547562e-14cb-4622-9700-d576dc5a7783","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"applicationSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups/providers/diagnosticSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-sap-mgmt-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-sap-mgmt-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-sap-business-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-sap-business-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-sap-data-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-sap-data-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Storage/storageAccounts/sapdiagbhcpm2gkoft44bhc","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sapdiagbhcpm2gkoft44bhc"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-sap-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-sap-default-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-sap-default-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-sap-default-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-sap-default-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"org-sap-default-nsg/Microsoft.Insights/service"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-sap-business-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-sap-data-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-sap-mgmt-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-sap-default-nsg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-sap-default-nsg/providers/Microsoft.Insights/diagnosticSettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Storage/storageAccounts/sapdiagbhcpm2gkoft44bhc"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['6475'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:52:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 18:52:39 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 18:52:39 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 18:52:40 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/nsg/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Sat, 12 Jan 2019 18:52:40 GMT'] - etag: ['"0x8D678BF20B48B6C"'] - last-modified: ['Sat, 12 Jan 2019 18:52:40 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_c_workload_network_creation.yaml b/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_c_workload_network_creation.yaml deleted file mode 100644 index 377630e70..000000000 --- a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_c_workload_network_creation.yaml +++ /dev/null @@ -1,737 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 18:52:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 18:52:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 18:52:40 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/nsg/azureDeploy.parameters.output.json - response: - body: {string: '{}'} - headers: - accept-ranges: [bytes] - content-length: ['2'] - content-range: [bytes 0-1/2] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 18:52:40 GMT'] - etag: ['"0x8D678BF20B48B6C"'] - last-modified: ['Sat, 12 Jan 2019 18:52:40 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:46:30 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 18:52:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "workloadNetPermittedResourceTypes", "description": - "Policy to prevent the creation of unauthorized resource types within the resource - group.", "policyRule": {"if": {"not": {"field": "type", "in": ["Microsoft.Network/routeTables", - "Microsoft.Network/networkSecurityGroups", "Microsoft.Network/applicationSecurityGroups", - "Microsoft.Network/virtualNetworks"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['455'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"workloadNetPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.Network/routeTables","Microsoft.Network/networkSecurityGroups","Microsoft.Network/applicationSecurityGroups","Microsoft.Network/virtualNetworks"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"workloadNetPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['696'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:52:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "workloadNetPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes"}, - "name": "workloadNetPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['276'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Authorization/policyAssignments/workloadNetPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"workloadNetPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/workloadNetPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Authorization/policyAssignments/workloadNetPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"workloadNetPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['630'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:52:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 21215 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['9901'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-workload-net?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-workload-net","name":"org-workload-sap-deployment-workload-net","properties":{"templateHash":"10347824151560986931","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"deployment-name":{"type":"String","value":"sap"},"vnet-address-prefix":{"type":"String","value":"10.6.0.0/23"},"subnets":{"type":"Array","value":[{"name":"default","address-prefix":"10.6.0.0/24","network-security-group":"default","user-defined-route":"default","service-endpoints":[]}]},"user-defined-routes":{"type":"Array","value":[{"name":"default","routes":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]}]},"vnet-dns-servers":{"type":"Array","value":["10.4.0.48"]},"enable-ddos-protection":{"type":"Bool","value":true},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-vnet-rg":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"deploy-azure-firewall-networkRules-collection":{"type":"Bool","value":false},"azure-firewall-networkRules-collection":{"type":"Array","value":[{"name":"[concat(''allow-onprem-rdp-'' - , parameters(''deployment-name''))]","properties":{"priority":210,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-rdp","protocols":["TCP"],"sourceAddresses":["192.168.1.4"],"destinationAddresses":["10.6.0.0/23"],"destinationPorts":["3389"]}]}},{"name":"allow-onprem-http-sap","properties":{"priority":220,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-http","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.6.0.0/23"],"destinationPorts":["80","443"]}]}},{"name":"deny-onprem-default-sap","properties":{"priority":230,"action":{"type":"Deny"},"rules":[{"name":"deny-onprem-default","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.6.0.0/23"],"destinationPorts":["*"]}]}}]},"shared-services-gateway-udr":{"type":"Array","value":[{"name":"to-workload-sap","properties":{"addressPrefix":"10.6.0.0/24","nextHopType":"VnetLocal"}}]},"shared-services-gateway-udr-name":{"type":"String","value":"org-ssvcs-gw-udr"},"shared-services-azure-firewall-ip-address":{"type":"String","value":"10.4.1.4"},"shared-services-azure-firewall-name":{"type":"String","value":"org-ssvcs-az-fw"},"on-premises-allow-rdp-address-range":{"type":"String","value":"192.168.1.4"},"on-premises-address-range":{"type":"String","value":"192.168.1.0/28"},"sas-key":{"type":"String","value":"se=2019-01-13T18%3A52%3A40Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=emi3vidxBmmiasPgDUczFDpDYRz84pyNlD2qD9PMDY4%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T18:52:45.0622094Z","duration":"PT0.7572474S","correlationId":"7101f96e-0f01-4d12-b20e-ef3653353b01","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centralus"]},{"resourceType":"virtualNetworks/virtualNetworkPeerings","locations":["centralus"]},{"resourceType":"routeTables","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/routeTables/org-sap-default-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"org-sap-default-udr"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-sap-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-sap-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet/virtualNetworkPeerings/peering-to-shared-services-vnet","resourceType":"Microsoft.Network/virtualNetworks/virtualNetworkPeerings","resourceName":"org-sap-vnet/peering-to-shared-services-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-sap-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedServicesWorkloadPeering","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedServicesWorkloadPeering"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-workload-net/operationStatuses/08586542877211727200?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['5509'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:52:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-workload-net/operationStatuses/08586542877211727200?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:53:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-workload-net/operationStatuses/08586542877211727200?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:53:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-workload-net/operationStatuses/08586542877211727200?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:54:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-workload-net?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-workload-net","name":"org-workload-sap-deployment-workload-net","properties":{"templateHash":"10347824151560986931","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"deployment-name":{"type":"String","value":"sap"},"vnet-address-prefix":{"type":"String","value":"10.6.0.0/23"},"subnets":{"type":"Array","value":[{"name":"default","address-prefix":"10.6.0.0/24","network-security-group":"default","user-defined-route":"default","service-endpoints":[]}]},"user-defined-routes":{"type":"Array","value":[{"name":"default","routes":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]}]},"vnet-dns-servers":{"type":"Array","value":["10.4.0.48"]},"enable-ddos-protection":{"type":"Bool","value":true},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"shared-services-vnet-rg":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"deploy-azure-firewall-networkRules-collection":{"type":"Bool","value":false},"azure-firewall-networkRules-collection":{"type":"Array","value":[{"name":"[concat(''allow-onprem-rdp-'' - , parameters(''deployment-name''))]","properties":{"priority":210,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-rdp","protocols":["TCP"],"sourceAddresses":["192.168.1.4"],"destinationAddresses":["10.6.0.0/23"],"destinationPorts":["3389"]}]}},{"name":"allow-onprem-http-sap","properties":{"priority":220,"action":{"type":"Allow"},"rules":[{"name":"allow-onprem-http","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.6.0.0/23"],"destinationPorts":["80","443"]}]}},{"name":"deny-onprem-default-sap","properties":{"priority":230,"action":{"type":"Deny"},"rules":[{"name":"deny-onprem-default","protocols":["TCP"],"sourceAddresses":["192.168.1.0/28"],"destinationAddresses":["10.6.0.0/23"],"destinationPorts":["*"]}]}}]},"shared-services-gateway-udr":{"type":"Array","value":[{"name":"to-workload-sap","properties":{"addressPrefix":"10.6.0.0/24","nextHopType":"VnetLocal"}}]},"shared-services-gateway-udr-name":{"type":"String","value":"org-ssvcs-gw-udr"},"shared-services-azure-firewall-ip-address":{"type":"String","value":"10.4.1.4"},"shared-services-azure-firewall-name":{"type":"String","value":"org-ssvcs-az-fw"},"on-premises-allow-rdp-address-range":{"type":"String","value":"192.168.1.4"},"on-premises-address-range":{"type":"String","value":"192.168.1.0/28"},"sas-key":{"type":"String","value":"se=2019-01-13T18%3A52%3A40Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=emi3vidxBmmiasPgDUczFDpDYRz84pyNlD2qD9PMDY4%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T18:54:01.8644062Z","duration":"PT1M17.5594442S","correlationId":"7101f96e-0f01-4d12-b20e-ef3653353b01","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centralus"]},{"resourceType":"virtualNetworks/virtualNetworkPeerings","locations":["centralus"]},{"resourceType":"routeTables","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/routeTables/org-sap-default-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"org-sap-default-udr"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-sap-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-sap-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet/virtualNetworkPeerings/peering-to-shared-services-vnet","resourceType":"Microsoft.Network/virtualNetworks/virtualNetworkPeerings","resourceName":"org-sap-vnet/peering-to-shared-services-vnet"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-sap-vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedServicesWorkloadPeering","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedServicesWorkloadPeering"}],"outputs":{"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"},"vnet-name":{"type":"String","value":"org-sap-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-sap-net-rg"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet/virtualNetworkPeerings/peering-to-sap-vnet"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/routeTables/org-sap-default-udr"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet/virtualNetworkPeerings/peering-to-shared-services-vnet"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['6586'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:54:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 18:54:18 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 18:54:18 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"}, - "vnet-name": { "value": "org-sap-vnet"}, "vnet-resourceGroup": { "value": "org-sap-net-rg"}}\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['274'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 18:54:19 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [z8DJAOhNDP7DW1L8NU2hdw==] - date: ['Sat, 12 Jan 2019 18:54:18 GMT'] - etag: ['"0x8D678BF5BCD56C9"'] - last-modified: ['Sat, 12 Jan 2019 18:54:19 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_d_workload_kv_creation.yaml b/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_d_workload_kv_creation.yaml deleted file mode 100644 index c39d89ec5..000000000 --- a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_d_workload_kv_creation.yaml +++ /dev/null @@ -1,801 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 18:54:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 18:54:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 18:54:21 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-sap-la"}, - "oms-workspace-resourceGroup": { "value": "org-sap-la-rg"}, "oms-workspace-name": - { "value": "org-sap-la"}, "oms-workspace-id": { "value": "cb8c80b6-5fcb-45af-b2c3-cb5cec19e3dc"}, - "oms-primary-shared-key": { "value": "znP8vYPbEzjfvvW6xVh6y0FTI87U5lFaUaktVs/qrd0JTgn3HjFS0JPmiMhaZUirl7kaJ8+c2gcjdWvxG9VpLw=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['494'] - content-range: [bytes 0-493/494] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 18:54:22 GMT'] - etag: ['"0x8D678BF0AF5CC06"'] - last-modified: ['Sat, 12 Jan 2019 18:52:03 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [gt0eR7F5xxoDxCmgviPIBg==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:45:22 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-kv-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['109'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:54:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-failure-cause: [gateway] - status: {code: 404, message: Not Found} -- request: - body: '{"location": "Central US"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['26'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-kv-rg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg","name":"org-sap-kv-rg","location":"centralus","properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['190'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:54:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "kvPermittedResourceTypes", "description": - "Policy to prevent the creation of unauthorized resource types within the resource - group.", "policyRule": {"if": {"not": {"field": "type", "in": ["Microsoft.KeyVault/vaults", - "Microsoft.Storage/storageAccounts"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['360'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"kvPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.KeyVault/vaults","Microsoft.Storage/storageAccounts"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"kvPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['601'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:54:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "kvPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes"}, - "name": "kvPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['273'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Authorization/policyAssignments/kvPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"kvPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Authorization/policyAssignments/kvPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"kvPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['624'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:54:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "denyPublicIP", "description": "Policy to - prevent the creation of public ip resources", "policyRule": {"if": {"field": - "type", "in": ["Microsoft.Network/publicIPAddresses"]}, "then": {"effect": "audit"}}, - "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['269'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"denyPublicIP","policyType":"Custom","description":"Policy - to prevent the creation of public ip resources","metadata":{"category":"VDC"},"policyRule":{"if":{"field":"type","in":["Microsoft.Network/publicIPAddresses"]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","type":"Microsoft.Authorization/policyDefinitions","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['472'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:54:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "denyPublicIP", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP"}, - "name": "denyPublicIP"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['213'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"denyPublicIP","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP","type":"Microsoft.Authorization/policyAssignments","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['544'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:54:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 15431 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['8027'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-kv-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-kv?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-kv","name":"org-workload-sap-deployment-kv","properties":{"templateHash":"11150714833342699266","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"oms-workspace-resourceGroup":{"type":"String","value":"org-sap-la-rg"},"oms-workspace-name":{"type":"String","value":"org-sap-la"},"access-policies":{"type":"Array","value":[{"objectId":"00000000-0000-0000-0000-000000000000","permissions":{"certificates":["All"],"keys":["All"],"secrets":["All"]},"tenantId":"00000000-0000-0000-0000-000000000000"}]},"logs-retention-in-days":{"type":"Int","value":30},"enable-vault-for-deployment":{"type":"Bool","value":true},"enable-vault-for-templateDeployment":{"type":"Bool","value":true},"enable-vault-for-diskEncryption":{"type":"Bool","value":true},"vault-sku":{"type":"String","value":"Premium"},"secrets-object":{"type":"SecureObject"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-sap-la"},"oms-workspace-id":{"type":"String","value":"cb8c80b6-5fcb-45af-b2c3-cb5cec19e3dc"},"oms-primary-shared-key":{"type":"String","value":"znP8vYPbEzjfvvW6xVh6y0FTI87U5lFaUaktVs/qrd0JTgn3HjFS0JPmiMhaZUirl7kaJ8+c2gcjdWvxG9VpLw=="},"sas-key":{"type":"String","value":"se=2019-01-13T18%3A54%3A19Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=/qKDRriDwFKAJ8Qr5D3qwRk9qZnhfTuLYdb/6zGCZOI%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T18:54:30.3273146Z","duration":"PT0.4708401S","correlationId":"ed489994-63ca-476c-9ed8-7a660a6354e3","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]},{"namespace":"Microsoft.KeyVault","resourceTypes":[{"resourceType":"vaults","locations":["centralus"]},{"resourceType":"vaults/providers/diagnosticsettings","locations":["centralus"]},{"resourceType":"vaults/providers/locks","locations":[null]},{"resourceType":"vaults/secrets","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-sap-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Storage/storageAccounts/orgsapkvdiagnfr6lzt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgsapkvdiagnfr6lzt"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.KeyVault/vaults/providers/diagnosticsettings","resourceName":"org-sap-kv/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-sap-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete","resourceType":"Microsoft.KeyVault/vaults/providers/locks","resourceName":"org-sap-kv/Microsoft.Authorization/keyVaultDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Storage/storageAccounts/orgsapkvdiagnfr6lzt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgsapkvdiagnfr6lzt"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Storage/storageAccounts/orgsapkvdiagnfr6lzt/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"orgsapkvdiagnfr6lzt/Microsoft.Authorization/storageDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-sap-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv/secrets/admin-user","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-sap-kv/admin-user"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-kv-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-kv/operationStatuses/08586542876156211977?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['5057'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:54:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-kv-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-kv/operationStatuses/08586542876156211977?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:55:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-kv-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-kv/operationStatuses/08586542876156211977?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:55:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-kv-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-kv?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-kv","name":"org-workload-sap-deployment-kv","properties":{"templateHash":"11150714833342699266","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"oms-workspace-resourceGroup":{"type":"String","value":"org-sap-la-rg"},"oms-workspace-name":{"type":"String","value":"org-sap-la"},"access-policies":{"type":"Array","value":[{"objectId":"00000000-0000-0000-0000-000000000000","permissions":{"certificates":["All"],"keys":["All"],"secrets":["All"]},"tenantId":"00000000-0000-0000-0000-000000000000"}]},"logs-retention-in-days":{"type":"Int","value":30},"enable-vault-for-deployment":{"type":"Bool","value":true},"enable-vault-for-templateDeployment":{"type":"Bool","value":true},"enable-vault-for-diskEncryption":{"type":"Bool","value":true},"vault-sku":{"type":"String","value":"Premium"},"secrets-object":{"type":"SecureObject"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-sap-la"},"oms-workspace-id":{"type":"String","value":"cb8c80b6-5fcb-45af-b2c3-cb5cec19e3dc"},"oms-primary-shared-key":{"type":"String","value":"znP8vYPbEzjfvvW6xVh6y0FTI87U5lFaUaktVs/qrd0JTgn3HjFS0JPmiMhaZUirl7kaJ8+c2gcjdWvxG9VpLw=="},"sas-key":{"type":"String","value":"se=2019-01-13T18%3A54%3A19Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=/qKDRriDwFKAJ8Qr5D3qwRk9qZnhfTuLYdb/6zGCZOI%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T18:55:09.7892391Z","duration":"PT39.9327646S","correlationId":"ed489994-63ca-476c-9ed8-7a660a6354e3","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]},{"namespace":"Microsoft.KeyVault","resourceTypes":[{"resourceType":"vaults","locations":["centralus"]},{"resourceType":"vaults/providers/diagnosticsettings","locations":["centralus"]},{"resourceType":"vaults/providers/locks","locations":[null]},{"resourceType":"vaults/secrets","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-sap-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Storage/storageAccounts/orgsapkvdiagnfr6lzt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgsapkvdiagnfr6lzt"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.KeyVault/vaults/providers/diagnosticsettings","resourceName":"org-sap-kv/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-sap-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete","resourceType":"Microsoft.KeyVault/vaults/providers/locks","resourceName":"org-sap-kv/Microsoft.Authorization/keyVaultDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Storage/storageAccounts/orgsapkvdiagnfr6lzt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgsapkvdiagnfr6lzt"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Storage/storageAccounts/orgsapkvdiagnfr6lzt/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"orgsapkvdiagnfr6lzt/Microsoft.Authorization/storageDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-sap-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv/secrets/admin-user","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-sap-kv/admin-user"}],"outputs":{"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"},"kv-name":{"type":"String","value":"org-sap-kv"},"kv-resourceGroup":{"type":"String","value":"org-sap-kv-rg"},"kv-uri":{"type":"String","value":"https://org-sap-kv.vault.azure.net/"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv/providers/Microsoft.Insights/diagnosticsettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv/secrets/admin-user"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Storage/storageAccounts/orgsapkvdiagnfr6lzt"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.Storage/storageAccounts/orgsapkvdiagnfr6lzt/providers/Microsoft.Authorization/locks/storageDoNotDelete"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['6556'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:55:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 18:55:32 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 18:55:32 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"}, - "kv-name": { "value": "org-sap-kv"}, "kv-resourceGroup": { "value": "org-sap-kv-rg"}, - "kv-uri": { "value": "https://org-sap-kv.vault.azure.net/"}}\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['319'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 18:55:32 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/kv/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [0yna/OZi2Cio8Doxu+BlBg==] - date: ['Sat, 12 Jan 2019 18:55:32 GMT'] - etag: ['"0x8D678BF879E8571"'] - last-modified: ['Sat, 12 Jan 2019 18:55:32 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_e_workload_iscsi_creation.yaml b/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_e_workload_iscsi_creation.yaml deleted file mode 100644 index eeccd66b6..000000000 --- a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_e_workload_iscsi_creation.yaml +++ /dev/null @@ -1,1510 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 18:55:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 18:55:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 18:55:33 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"}, - "vnet-name": { "value": "org-sap-vnet"}, "vnet-resourceGroup": { "value": - "org-sap-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['274'] - content-range: [bytes 0-273/274] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 18:55:33 GMT'] - etag: ['"0x8D678BF5BCD56C9"'] - last-modified: ['Sat, 12 Jan 2019 18:54:19 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [z8DJAOhNDP7DW1L8NU2hdw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:54:19 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['112'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:55:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-failure-cause: [gateway] - status: {code: 404, message: Not Found} -- request: - body: '{"location": "Central US"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['26'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg","name":"org-sap-iscsi-rg","location":"centralus","properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['196'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:55:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 12695 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['9821'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi","name":"org-workload-sap-deployment-iscsi","properties":{"templateHash":"5422046890840793699","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"},"default-subnet-name":{"type":"String","value":"default"},"iscsi-ip":{"type":"String","value":"10.6.0.4"},"extension-name":{"type":"String","value":"iscsi"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"},"secretName":"admin-user"}},"virtualMachine-size":{"type":"String","value":"Standard_DS2_v2"},"os-type":{"type":"String","value":"SLES - 12 SP3"},"iqn1":{"type":"String","value":"iqn.1991-05.com.microsoft:nfsserver-target"},"iqn1-client1":{"type":"String","value":"iqn.1991-05.com.microsoft:nfsserver-target:nfsvm1"},"iqn1-client2":{"type":"String","value":"iqn.1991-05.com.microsoft:nfsserver-target:nfsvm2"},"iqn2":{"type":"String","value":"iqn.1991-05.com.microsoft:hana-target"},"iqn2-client1":{"type":"String","value":"iqn.1991-05.com.microsoft:hana-target:hanavm1"},"iqn2-client2":{"type":"String","value":"iqn.1991-05.com.microsoft:hana-target:hanavm2"},"iqn3":{"type":"String","value":"iqn.1991-05.com.microsoft:ascs-target"},"iqn3-client1":{"type":"String","value":"iqn.1991-05.com.microsoft:ascs-target:ascsvm1"},"iqn3-client2":{"type":"String","value":"iqn.1991-05.com.microsoft:ascs-target:ascsvm2"},"vnet-name":{"type":"String","value":"org-sap-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-sap-net-rg"},"sas-key":{"type":"String","value":"se=2019-01-13T18%3A55%3A33Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=W5Gub9ZWh/CumLwLX413Ho4rbN1bStOoW/4J724FFs8%3D"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T18:55:38.1898119Z","duration":"PT1.0419566S","correlationId":"2a596201-4525-48d1-baad-eb594f5ef099","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["centralus"]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Network/networkInterfaces/org-sap-iscsi-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-iscsi-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Storage/storageAccounts/iscsidiagpa56xlw33bjk6p","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"iscsidiagpa56xlw33bjk6p"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Storage/storageAccounts/iscsidiagpa56xlw33bjk6p","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"iscsidiagpa56xlw33bjk6p","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-iscsi-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-iscsi-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-iscsi-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-iscsi-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1/extensions/ISCSISetup","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-iscsi-vm1/ISCSISetup"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['5199'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:55:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:56:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:56:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:57:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:57:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:58:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:58:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:59:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 18:59:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:00:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:00:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:01:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:01:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:02:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:02:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:03:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:03:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:04:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:04:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:05:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:05:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:06:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:06:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:07:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:07:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:08:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:08:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:09:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:09:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:10:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:10:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:11:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:11:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:12:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:12:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:13:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:13:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:14:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi/operationStatuses/08586542875483298347?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:14:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-iscsi","name":"org-workload-sap-deployment-iscsi","properties":{"templateHash":"5422046890840793699","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"},"default-subnet-name":{"type":"String","value":"default"},"iscsi-ip":{"type":"String","value":"10.6.0.4"},"extension-name":{"type":"String","value":"iscsi"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"},"secretName":"admin-user"}},"virtualMachine-size":{"type":"String","value":"Standard_DS2_v2"},"os-type":{"type":"String","value":"SLES - 12 SP3"},"iqn1":{"type":"String","value":"iqn.1991-05.com.microsoft:nfsserver-target"},"iqn1-client1":{"type":"String","value":"iqn.1991-05.com.microsoft:nfsserver-target:nfsvm1"},"iqn1-client2":{"type":"String","value":"iqn.1991-05.com.microsoft:nfsserver-target:nfsvm2"},"iqn2":{"type":"String","value":"iqn.1991-05.com.microsoft:hana-target"},"iqn2-client1":{"type":"String","value":"iqn.1991-05.com.microsoft:hana-target:hanavm1"},"iqn2-client2":{"type":"String","value":"iqn.1991-05.com.microsoft:hana-target:hanavm2"},"iqn3":{"type":"String","value":"iqn.1991-05.com.microsoft:ascs-target"},"iqn3-client1":{"type":"String","value":"iqn.1991-05.com.microsoft:ascs-target:ascsvm1"},"iqn3-client2":{"type":"String","value":"iqn.1991-05.com.microsoft:ascs-target:ascsvm2"},"vnet-name":{"type":"String","value":"org-sap-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-sap-net-rg"},"sas-key":{"type":"String","value":"se=2019-01-13T18%3A55%3A33Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=W5Gub9ZWh/CumLwLX413Ho4rbN1bStOoW/4J724FFs8%3D"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T19:14:25.0606146Z","duration":"PT18M47.9127593S","correlationId":"2a596201-4525-48d1-baad-eb594f5ef099","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["centralus"]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Network/networkInterfaces/org-sap-iscsi-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-iscsi-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Storage/storageAccounts/iscsidiagpa56xlw33bjk6p","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"iscsidiagpa56xlw33bjk6p"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Storage/storageAccounts/iscsidiagpa56xlw33bjk6p","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"iscsidiagpa56xlw33bjk6p","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-iscsi-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-iscsi-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-iscsi-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-iscsi-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1/extensions/ISCSISetup","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-iscsi-vm1/ISCSISetup"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1/extensions/ISCSISetup"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Compute/virtualMachines/org-sap-iscsi-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Network/networkInterfaces/org-sap-iscsi-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-iscsi-rg/providers/Microsoft.Storage/storageAccounts/iscsidiagpa56xlw33bjk6p"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['6108'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:14:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:14:56 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 19:14:56 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 19:14:56 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/iscsi/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Sat, 12 Jan 2019 19:14:56 GMT'] - etag: ['"0x8D678C23D69ED0B"'] - last-modified: ['Sat, 12 Jan 2019 19:14:56 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_f_workload_nfs_creation.yaml b/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_f_workload_nfs_creation.yaml deleted file mode 100644 index d41b594e8..000000000 --- a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_f_workload_nfs_creation.yaml +++ /dev/null @@ -1,1326 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:14:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:14:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:14:58 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"}, - "vnet-name": { "value": "org-sap-vnet"}, "vnet-resourceGroup": { "value": - "org-sap-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['274'] - content-range: [bytes 0-273/274] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:14:57 GMT'] - etag: ['"0x8D678BF5BCD56C9"'] - last-modified: ['Sat, 12 Jan 2019 18:54:19 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [z8DJAOhNDP7DW1L8NU2hdw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:54:19 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['110'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:14:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-failure-cause: [gateway] - status: {code: 404, message: Not Found} -- request: - body: '{"location": "Central US"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['26'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg","name":"org-sap-nfs-rg","location":"centralus","properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['192'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:14:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 28499 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['19295'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs","name":"org-workload-sap-deployment-nfs","properties":{"templateHash":"12201354420923955902","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A14%3A57Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=Do7K1kAi2bRCX6yH0MMKhTAuxzg9CQs84ih8Qxq5f0Q%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-sap-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"business-asg-name":{"type":"String","value":"business"},"nfs-address-start":{"type":"String","value":"10.6.0.9"},"nfs-lb-ip":{"type":"String","value":"10.6.0.8"},"iscsi-ip":{"type":"String","value":"10.6.0.4"},"extension-name":{"type":"String","value":"sap-iscsi"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"},"secretName":"admin-user"}},"virtualMachine-size":{"type":"String","value":"Standard_D3_v2"},"virtualMachine-count":{"type":"Int","value":2},"os-type":{"type":"String","value":"SLES - for SAP 12 SP3"},"data-disk-size":{"type":"Int","value":1023},"hana-sid":{"type":"String","value":"H10"},"subscription-email":{"type":"String","value":"admin@org.com"},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"smt-uri":{"type":"String","value":""},"iqn2":{"type":"String","value":"iqn.1991-05.com.microsoft:hana-target"},"iqn2-client1":{"type":"String","value":"iqn.1991-05.com.microsoft:hana-target:hanavm1"},"iqn2-client2":{"type":"String","value":"iqn.1991-05.com.microsoft:hana-target:hanavm2"},"vnet-name":{"type":"String","value":"org-sap-vnet"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T19:15:03.2567166Z","duration":"PT1.0214009S","correlationId":"e5a347ee-7cb9-48f9-9fd7-2618337184b4","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["centralus"]},{"resourceType":"networkInterfaces","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/loadBalancers/org-sap-sap-iscsi-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-sap-iscsi-lb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-sap-iscsi-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-sap-iscsi-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm2-nic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/vm1NFSNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1NFSNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-sap-iscsi-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-sap-iscsi-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm1-nic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/vm2NFSNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2NFSNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/loadBalancers/org-sap-sap-iscsi-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-sap-iscsi-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/loadBalancers/org-sap-sap-iscsi-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-sap-iscsi-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm2-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Storage/storageAccounts/sapiscsidiagppdab652jt2","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sapiscsidiagppdab652jt2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Storage/storageAccounts/sapiscsidiagppdab652jt2","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sapiscsidiagppdab652jt2","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-sap-iscsi-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Storage/storageAccounts/sapiscsidiagppdab652jt2","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sapiscsidiagppdab652jt2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Storage/storageAccounts/sapiscsidiagppdab652jt2","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sapiscsidiagppdab652jt2","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-sap-iscsi-vm2/NetworkWatcher"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['12473'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:15:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:15:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:16:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:16:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:17:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:17:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:18:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:18:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:19:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:19:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:20:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:20:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:21:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:21:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:22:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:22:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:23:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:23:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:24:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:24:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:25:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:25:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:26:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:26:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:27:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:27:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:28:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:28:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:29:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:29:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs/operationStatuses/08586542863832423848?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:30:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-nfs","name":"org-workload-sap-deployment-nfs","properties":{"templateHash":"12201354420923955902","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A14%3A57Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=Do7K1kAi2bRCX6yH0MMKhTAuxzg9CQs84ih8Qxq5f0Q%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-sap-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"business-asg-name":{"type":"String","value":"business"},"nfs-address-start":{"type":"String","value":"10.6.0.9"},"nfs-lb-ip":{"type":"String","value":"10.6.0.8"},"iscsi-ip":{"type":"String","value":"10.6.0.4"},"extension-name":{"type":"String","value":"sap-iscsi"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"},"secretName":"admin-user"}},"virtualMachine-size":{"type":"String","value":"Standard_D3_v2"},"virtualMachine-count":{"type":"Int","value":2},"os-type":{"type":"String","value":"SLES - for SAP 12 SP3"},"data-disk-size":{"type":"Int","value":1023},"hana-sid":{"type":"String","value":"H10"},"subscription-email":{"type":"String","value":"admin@org.com"},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"smt-uri":{"type":"String","value":""},"iqn2":{"type":"String","value":"iqn.1991-05.com.microsoft:hana-target"},"iqn2-client1":{"type":"String","value":"iqn.1991-05.com.microsoft:hana-target:hanavm1"},"iqn2-client2":{"type":"String","value":"iqn.1991-05.com.microsoft:hana-target:hanavm2"},"vnet-name":{"type":"String","value":"org-sap-vnet"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T19:29:51.8319408Z","duration":"PT14M49.5966251S","correlationId":"e5a347ee-7cb9-48f9-9fd7-2618337184b4","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["centralus"]},{"resourceType":"networkInterfaces","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/loadBalancers/org-sap-sap-iscsi-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-sap-iscsi-lb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-sap-iscsi-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-sap-iscsi-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm2-nic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/vm1NFSNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1NFSNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-sap-iscsi-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-sap-iscsi-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm1-nic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Resources/deployments/vm2NFSNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2NFSNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/loadBalancers/org-sap-sap-iscsi-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-sap-iscsi-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/loadBalancers/org-sap-sap-iscsi-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-sap-iscsi-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm2-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Storage/storageAccounts/sapiscsidiagppdab652jt2","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sapiscsidiagppdab652jt2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Storage/storageAccounts/sapiscsidiagppdab652jt2","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sapiscsidiagppdab652jt2","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-sap-iscsi-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-sap-iscsi-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Storage/storageAccounts/sapiscsidiagppdab652jt2","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sapiscsidiagppdab652jt2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Storage/storageAccounts/sapiscsidiagppdab652jt2","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"sapiscsidiagppdab652jt2","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-sap-iscsi-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-sap-iscsi-vm2/NetworkWatcher"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm1/extensions/nfsSetup"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-sap-iscsi-vm2/extensions/nfsSetup"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/loadBalancers/org-sap-sap-iscsi-lb"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-sap-iscsi-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-nfs-rg/providers/Microsoft.Storage/storageAccounts/sapiscsidiagppdab652jt2"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['14415'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:30:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:30:20 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 19:30:20 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 19:30:21 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/nfs/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Sat, 12 Jan 2019 19:30:20 GMT'] - etag: ['"0x8D678C464641837"'] - last-modified: ['Sat, 12 Jan 2019 19:30:21 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_g_workload_hana_creation.yaml b/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_g_workload_hana_creation.yaml deleted file mode 100644 index 4d1aa06ef..000000000 --- a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_g_workload_hana_creation.yaml +++ /dev/null @@ -1,1119 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:30:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:30:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:30:22 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"}, - "vnet-name": { "value": "org-sap-vnet"}, "vnet-resourceGroup": { "value": - "org-sap-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['274'] - content-range: [bytes 0-273/274] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:30:22 GMT'] - etag: ['"0x8D678BF5BCD56C9"'] - last-modified: ['Sat, 12 Jan 2019 18:54:19 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [z8DJAOhNDP7DW1L8NU2hdw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:54:19 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['111'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:30:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-failure-cause: [gateway] - status: {code: 404, message: Not Found} -- request: - body: '{"location": "Central US"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['26'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg","name":"org-sap-hana-rg","location":"centralus","properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['194'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:30:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 24695 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['17231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana","name":"org-workload-sap-deployment-hana","properties":{"templateHash":"2713152116668230716","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A30%3A21Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=oyLXKbuvcbq1wzDcHHtEapxkS6pNXUipzK7WpIIfcGw%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"extension-name":{"type":"String","value":"hana"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-sap-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"data-asg-name":{"type":"String","value":"data"},"hana-address-start":{"type":"String","value":"10.6.0.13"},"hana-lb-ip":{"type":"String","value":"10.6.0.12"},"virtualMachine-size":{"type":"String","value":"Standard_E16s_v3"},"virtualMachine-count":{"type":"Int","value":2},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"},"secretName":"admin-user"}},"os-type":{"type":"String","value":"SLES - for SAP 12 SP3"},"hana-sid":{"type":"String","value":"H10"},"iscsi-ip":{"type":"String","value":"10.6.0.4"},"subscription-email":{"type":"String","value":"admin@org.com"},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"smt-uri":{"type":"String","value":""},"enable-hsr":{"type":"String","value":"yes"},"vnet-name":{"type":"String","value":"org-sap-vnet"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T19:30:27.1980297Z","duration":"PT0.9627413S","correlationId":"8ba7c573-02c7-4e68-8caf-8011a3f0612c","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["centralus"]},{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/loadBalancers/org-sap-hana-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-hana-lb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/loadBalancers/org-sap-hana-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-hana-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/networkInterfaces/org-sap-hana-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-hana-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/loadBalancers/org-sap-hana-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-hana-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/networkInterfaces/org-sap-hana-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-hana-vm2-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/networkInterfaces/org-sap-hana-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-hana-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Storage/storageAccounts/hanadiagvti4uhdgnq3y4vt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"hanadiagvti4uhdgnq3y4vt"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Storage/storageAccounts/hanadiagvti4uhdgnq3y4vt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"hanadiagvti4uhdgnq3y4vt","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-hana-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-hana-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-hana-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/networkInterfaces/org-sap-hana-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-hana-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Storage/storageAccounts/hanadiagvti4uhdgnq3y4vt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"hanadiagvti4uhdgnq3y4vt"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Storage/storageAccounts/hanadiagvti4uhdgnq3y4vt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"hanadiagvti4uhdgnq3y4vt","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-hana-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-hana-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-hana-vm2/NetworkWatcher"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['8113'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:30:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:30:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:31:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:31:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:32:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:32:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:33:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:34:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:34:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:35:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:35:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:36:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:36:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:37:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:38:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:38:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:39:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:39:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:40:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:40:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana/operationStatuses/08586542854592424123?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:41:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-hana","name":"org-workload-sap-deployment-hana","properties":{"templateHash":"2713152116668230716","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A30%3A21Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=oyLXKbuvcbq1wzDcHHtEapxkS6pNXUipzK7WpIIfcGw%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"extension-name":{"type":"String","value":"hana"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-sap-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"data-asg-name":{"type":"String","value":"data"},"hana-address-start":{"type":"String","value":"10.6.0.13"},"hana-lb-ip":{"type":"String","value":"10.6.0.12"},"virtualMachine-size":{"type":"String","value":"Standard_E16s_v3"},"virtualMachine-count":{"type":"Int","value":2},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"},"secretName":"admin-user"}},"os-type":{"type":"String","value":"SLES - for SAP 12 SP3"},"hana-sid":{"type":"String","value":"H10"},"iscsi-ip":{"type":"String","value":"10.6.0.4"},"subscription-email":{"type":"String","value":"admin@org.com"},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"smt-uri":{"type":"String","value":""},"enable-hsr":{"type":"String","value":"yes"},"vnet-name":{"type":"String","value":"org-sap-vnet"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T19:40:45.1955308Z","duration":"PT10M18.9602424S","correlationId":"8ba7c573-02c7-4e68-8caf-8011a3f0612c","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["centralus"]},{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/loadBalancers/org-sap-hana-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-hana-lb"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/loadBalancers/org-sap-hana-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-hana-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/networkInterfaces/org-sap-hana-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-hana-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/loadBalancers/org-sap-hana-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-hana-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/networkInterfaces/org-sap-hana-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-hana-vm2-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/networkInterfaces/org-sap-hana-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-hana-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Storage/storageAccounts/hanadiagvti4uhdgnq3y4vt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"hanadiagvti4uhdgnq3y4vt"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Storage/storageAccounts/hanadiagvti4uhdgnq3y4vt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"hanadiagvti4uhdgnq3y4vt","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-hana-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-hana-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-hana-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/networkInterfaces/org-sap-hana-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-hana-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Storage/storageAccounts/hanadiagvti4uhdgnq3y4vt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"hanadiagvti4uhdgnq3y4vt"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Storage/storageAccounts/hanadiagvti4uhdgnq3y4vt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"hanadiagvti4uhdgnq3y4vt","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-hana-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-hana-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-hana-vm2/NetworkWatcher"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Compute/virtualMachines/org-sap-hana-vm2/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/loadBalancers/org-sap-hana-lb"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/networkInterfaces/org-sap-hana-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Network/networkInterfaces/org-sap-hana-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-hana-rg/providers/Microsoft.Storage/storageAccounts/hanadiagvti4uhdgnq3y4vt"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['9659'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:41:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:41:10 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 19:41:09 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 19:41:10 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/hana/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Sat, 12 Jan 2019 19:41:09 GMT'] - etag: ['"0x8D678C5E76FB97B"'] - last-modified: ['Sat, 12 Jan 2019 19:41:10 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_h_workload_ascs_creation.yaml b/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_h_workload_ascs_creation.yaml deleted file mode 100644 index 031fb9acd..000000000 --- a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_h_workload_ascs_creation.yaml +++ /dev/null @@ -1,774 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:41:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:41:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:41:11 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"}, - "vnet-name": { "value": "org-sap-vnet"}, "vnet-resourceGroup": { "value": - "org-sap-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['274'] - content-range: [bytes 0-273/274] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:41:11 GMT'] - etag: ['"0x8D678BF5BCD56C9"'] - last-modified: ['Sat, 12 Jan 2019 18:54:19 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [z8DJAOhNDP7DW1L8NU2hdw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:54:19 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['111'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:41:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-failure-cause: [gateway] - status: {code: 404, message: Not Found} -- request: - body: '{"location": "Central US"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['26'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg","name":"org-sap-ascs-rg","location":"centralus","properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['194'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:41:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 26965 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['20337'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs","name":"org-workload-sap-deployment-ascs","properties":{"templateHash":"12622265328627339305","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A41%3A10Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=YKh8GJgSlCTKQQy2AudguWon1KvoL1uS1U5XkJI2qcU%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"extension-name":{"type":"String","value":"ascs"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-sap-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"business-asg-name":{"type":"String","value":"business"},"stack-type":{"type":"String","value":"ABAP"},"os-type":{"type":"String","value":"Windows - Server 2016 Datacenter"},"sap-system-count":{"type":"Int","value":2},"system-availability":{"type":"String","value":"HA"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"},"secretName":"admin-user"}},"authentication-type":{"type":"String","value":"password"},"sshKey":{"type":"SecureString"},"ascs-instanceNumber":{"type":"Int","value":10},"vnet-name":{"type":"String","value":"org-sap-vnet"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T19:41:16.8495492Z","duration":"PT1.0893209S","correlationId":"57a05812-d64b-4763-b501-58238bbb347a","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["centralus"]},{"resourceType":"publicIPAddresses","locations":["centralus"]},{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/publicIPAddresses/org-sap-ascs-vm1-nic-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"org-sap-ascs-vm1-nic-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/publicIPAddresses/org-sap-ascs-vm2-nic-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"org-sap-ascs-vm2-nic-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/loadBalancers/org-sap-ascs-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-ascs-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-ascs-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/publicIPAddresses/org-sap-ascs-vm1-nic-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"org-sap-ascs-vm1-nic-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/publicIPAddresses/org-sap-ascs-vm2-nic-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"org-sap-ascs-vm2-nic-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/loadBalancers/org-sap-ascs-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-ascs-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-ascs-vm2-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-ascs-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-ascs-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Storage/storageAccounts/ascsdiaglcmukhc72osp4lc","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"ascsdiaglcmukhc72osp4lc"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Storage/storageAccounts/ascsdiaglcmukhc72osp4lc","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"ascsdiaglcmukhc72osp4lc","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-ascs-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-ascs-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-ascs-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-ascs-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-ascs-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Storage/storageAccounts/ascsdiaglcmukhc72osp4lc","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"ascsdiaglcmukhc72osp4lc"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Storage/storageAccounts/ascsdiaglcmukhc72osp4lc","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"ascsdiaglcmukhc72osp4lc","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-ascs-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-ascs-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-ascs-vm2/NetworkWatcher"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs/operationStatuses/08586542848097174978?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['8963'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:41:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs/operationStatuses/08586542848097174978?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:41:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs/operationStatuses/08586542848097174978?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:42:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs/operationStatuses/08586542848097174978?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:42:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs/operationStatuses/08586542848097174978?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:43:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs/operationStatuses/08586542848097174978?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:43:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs/operationStatuses/08586542848097174978?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:44:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs/operationStatuses/08586542848097174978?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:44:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs/operationStatuses/08586542848097174978?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:45:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-ascs","name":"org-workload-sap-deployment-ascs","properties":{"templateHash":"12622265328627339305","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A41%3A10Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=YKh8GJgSlCTKQQy2AudguWon1KvoL1uS1U5XkJI2qcU%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"extension-name":{"type":"String","value":"ascs"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-sap-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"business-asg-name":{"type":"String","value":"business"},"stack-type":{"type":"String","value":"ABAP"},"os-type":{"type":"String","value":"Windows - Server 2016 Datacenter"},"sap-system-count":{"type":"Int","value":2},"system-availability":{"type":"String","value":"HA"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"},"secretName":"admin-user"}},"authentication-type":{"type":"String","value":"password"},"sshKey":{"type":"SecureString"},"ascs-instanceNumber":{"type":"Int","value":10},"vnet-name":{"type":"String","value":"org-sap-vnet"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T19:45:11.4465102Z","duration":"PT3M55.6862819S","correlationId":"57a05812-d64b-4763-b501-58238bbb347a","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["centralus"]},{"resourceType":"publicIPAddresses","locations":["centralus"]},{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/publicIPAddresses/org-sap-ascs-vm1-nic-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"org-sap-ascs-vm1-nic-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/publicIPAddresses/org-sap-ascs-vm2-nic-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"org-sap-ascs-vm2-nic-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/loadBalancers/org-sap-ascs-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-ascs-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-ascs-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/publicIPAddresses/org-sap-ascs-vm1-nic-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"org-sap-ascs-vm1-nic-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/publicIPAddresses/org-sap-ascs-vm2-nic-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"org-sap-ascs-vm2-nic-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/loadBalancers/org-sap-ascs-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"org-sap-ascs-lb"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-ascs-vm2-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-ascs-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-ascs-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Storage/storageAccounts/ascsdiaglcmukhc72osp4lc","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"ascsdiaglcmukhc72osp4lc"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Storage/storageAccounts/ascsdiaglcmukhc72osp4lc","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"ascsdiaglcmukhc72osp4lc","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-ascs-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-ascs-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-ascs-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-ascs-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-ascs-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Storage/storageAccounts/ascsdiaglcmukhc72osp4lc","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"ascsdiaglcmukhc72osp4lc"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Storage/storageAccounts/ascsdiaglcmukhc72osp4lc","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"ascsdiaglcmukhc72osp4lc","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-ascs-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-ascs-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-ascs-vm2/NetworkWatcher"}],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Compute/virtualMachines/org-sap-ascs-vm2/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/loadBalancers/org-sap-ascs-lb"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/networkInterfaces/org-sap-ascs-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/publicIPAddresses/org-sap-ascs-vm1-nic-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Network/publicIPAddresses/org-sap-ascs-vm2-nic-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-ascs-rg/providers/Microsoft.Storage/storageAccounts/ascsdiaglcmukhc72osp4lc"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['10837'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:45:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -version: 1 diff --git a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_i_workload_netweaver_creation.yaml b/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_i_workload_netweaver_creation.yaml deleted file mode 100644 index ed8e535bc..000000000 --- a/tests/integration_tests/sap_workload/recordings/test_sap_integration_tests.test_i_workload_netweaver_creation.yaml +++ /dev/null @@ -1,935 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:45:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 19:45:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:45:22 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/workload-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"}, - "vnet-name": { "value": "org-sap-vnet"}, "vnet-resourceGroup": { "value": - "org-sap-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['274'] - content-range: [bytes 0-273/274] - content-type: [application/octet-stream] - date: ['Sat, 12 Jan 2019 19:45:22 GMT'] - etag: ['"0x8D678BF5BCD56C9"'] - last-modified: ['Sat, 12 Jan 2019 18:54:19 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [z8DJAOhNDP7DW1L8NU2hdw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 18:54:19 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['116'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:45:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-failure-cause: [gateway] - status: {code: 404, message: Not Found} -- request: - body: '{"location": "Central US"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['26'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg","name":"org-sap-netweaver-rg","location":"centralus","properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['204'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:45:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 18289 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['13191'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver","name":"org-workload-sap-deployment-netweaver","properties":{"templateHash":"1838769198033070113","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A45%3A21Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=JHA5mSZGIN/eKQE8nHsBbsBW%2BJWA7B2VglckGmscM%2Bk%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"extension-name":{"type":"String","value":"nw"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-sap-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"business-asg-name":{"type":"String","value":"business"},"nw-address-start":{"type":"String","value":"10.6.0.16"},"virtualMachine-size":{"type":"String","value":"Standard_DS2_v2"},"virtualMachine-count":{"type":"Int","value":1},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"},"secretName":"admin-user"}},"os-type":{"type":"String","value":"SLES - 12 SP3"},"faultDomain-max":{"type":"Int","value":2},"is-primary":{"type":"String","value":"yes"},"nfsilbip":{"type":"String","value":"10.0.1.10"},"ascsvM1":{"type":"String","value":"ascs1"},"ascsiP1":{"type":"String","value":"10.0.1.17"},"ascsvM2":{"type":"String","value":"ascs2"},"ascsiP2":{"type":"String","value":"10.0.1.18"},"masterpassword":{"type":"SecureString"},"sapadmuid":{"type":"String","value":"1050"},"sapsysgid":{"type":"String","value":"1001"},"sidadmuid":{"type":"String","value":"1040"},"dbhost":{"type":"String","value":"00"},"dbsid":{"type":"String","value":"00"},"dbinstance":{"type":"String","value":"03"},"ascssid":{"type":"String","value":"04"},"ascshost":{"type":"String","value":"ascs1"},"nwinstance":{"type":"String","value":"05"},"vnet-name":{"type":"String","value":"org-sap-vnet"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T19:45:27.5760599Z","duration":"PT0.9385854S","correlationId":"0b1611d5-4c2a-48a9-b906-d862518f4665","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Network/networkInterfaces/org-sap-nw-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-nw-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Network/networkInterfaces/org-sap-nw-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-nw-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Storage/storageAccounts/nwdiagusynjdh4gggvmusyn","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"nwdiagusynjdh4gggvmusyn","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-nw-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-nw-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-nw-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-nw-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1/extensions/NWCustomScript","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-nw-vm1/NWCustomScript"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['5637'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:45:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:45:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:46:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:46:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:47:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:47:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:48:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:49:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:49:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:50:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:50:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:51:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:51:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver/operationStatuses/08586542845588402129?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:52:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.4 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.2 - msrest_azure/0.6.0 resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Resources/deployments/org-workload-sap-deployment-netweaver","name":"org-workload-sap-deployment-netweaver","properties":{"templateHash":"1838769198033070113","parameters":{"deployment-prefix":{"type":"String","value":"org-sap"},"sas-key":{"type":"String","value":"se=2019-01-13T19%3A45%3A21Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=JHA5mSZGIN/eKQE8nHsBbsBW%2BJWA7B2VglckGmscM%2Bk%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"},"extension-name":{"type":"String","value":"nw"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-net-rg/providers/Microsoft.Network/virtualNetworks/org-sap-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-sap-net-rg"},"default-subnet-name":{"type":"String","value":"default"},"business-asg-name":{"type":"String","value":"business"},"nw-address-start":{"type":"String","value":"10.6.0.16"},"virtualMachine-size":{"type":"String","value":"Standard_DS2_v2"},"virtualMachine-count":{"type":"Int","value":1},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-kv-rg/providers/Microsoft.KeyVault/vaults/org-sap-kv"},"secretName":"admin-user"}},"os-type":{"type":"String","value":"SLES - 12 SP3"},"faultDomain-max":{"type":"Int","value":2},"is-primary":{"type":"String","value":"yes"},"nfsilbip":{"type":"String","value":"10.0.1.10"},"ascsvM1":{"type":"String","value":"ascs1"},"ascsiP1":{"type":"String","value":"10.0.1.17"},"ascsvM2":{"type":"String","value":"ascs2"},"ascsiP2":{"type":"String","value":"10.0.1.18"},"masterpassword":{"type":"SecureString"},"sapadmuid":{"type":"String","value":"1050"},"sapsysgid":{"type":"String","value":"1001"},"sidadmuid":{"type":"String","value":"1040"},"dbhost":{"type":"String","value":"00"},"dbsid":{"type":"String","value":"00"},"dbinstance":{"type":"String","value":"03"},"ascssid":{"type":"String","value":"04"},"ascshost":{"type":"String","value":"ascs1"},"nwinstance":{"type":"String","value":"05"},"vnet-name":{"type":"String","value":"org-sap-vnet"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T19:51:45.752505Z","duration":"PT6M19.1150305S","correlationId":"0b1611d5-4c2a-48a9-b906-d862518f4665","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-sap-as"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Network/networkInterfaces/org-sap-nw-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-nw-vm1-nic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Network/networkInterfaces/org-sap-nw-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-sap-nw-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Storage/storageAccounts/nwdiagusynjdh4gggvmusyn","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"nwdiagusynjdh4gggvmusyn","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-nw-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-nw-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-nw-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-sap-nw-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1/extensions/NWCustomScript","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-sap-nw-vm1/NWCustomScript"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/availabilitySets/org-sap-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Compute/virtualMachines/org-sap-nw-vm1/extensions/NWCustomScript"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Network/networkInterfaces/org-sap-nw-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-sap-netweaver-rg/providers/Microsoft.Storage/storageAccounts/nwdiagusynjdh4gggvmusyn"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['6717'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 19:52:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-date: ['Sat, 12 Jan 2019 19:52:04 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 19:52:04 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.3.1 (Python CPython 3.6.4; Linux 4.9.125-linuxkit)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 19:52:05 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-workload-sap/parameters/netweaver/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Sat, 12 Jan 2019 19:52:04 GMT'] - etag: ['"0x8D678C76D961C95"'] - last-modified: ['Sat, 12 Jan 2019 19:52:05 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/sap_workload/test_sap_integration_tests.py b/tests/integration_tests/sap_workload/test_sap_integration_tests.py deleted file mode 100644 index 0a4f377b2..000000000 --- a/tests/integration_tests/sap_workload/test_sap_integration_tests.py +++ /dev/null @@ -1,147 +0,0 @@ -from tools.devtools_testutils.base_replayable_test_case import VDCBaseTestCase -from tools.devtools_testutils.base_integration_test_case import BaseIntegrationTestCase -from pathlib import Path -from os.path import join -import unittest - -args = dict() -args['resource-group'] = None -args['validate-deployment'] = None -args['deploy-module-dependencies'] = None -args['service-principals'] = None -args['create-vdc-storage'] = None -args['environment-type'] = 'workload' -args['upload-scripts'] = None -args['create-vdc-storage'] = None -args['delete-validation-modules'] = None - -class SAPIntegrationTests(BaseIntegrationTestCase): - - def setUp(self): - super(SAPIntegrationTests, self).setUp() - - parameters_file = '' - - if self.is_live: - parameters_file = 'archetype.json' - else: - parameters_file = 'archetype.test.json' - - self._workload_path = join( - Path(__file__).parents[3], - 'archetypes', - 'sap-hana', - parameters_file) - self._environment_type = 'workload' - - def test_a_workload_log_analytics_creation(self): - - self.set_resource_to_deploy('la', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, True) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_b_workload_nsg_creation(self): - - self.set_resource_to_deploy('nsg', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_c_workload_network_creation(self): - - self.set_resource_to_deploy('workload-net', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_d_workload_kv_creation(self): - - self.set_resource_to_deploy('kv', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_e_workload_iscsi_creation(self): - - self.set_resource_to_deploy('iscsi', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_f_workload_nfs_creation(self): - - self.set_resource_to_deploy('nfs', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_g_workload_hana_creation(self): - - self.set_resource_to_deploy('hana', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_h_workload_ascs_creation(self): - - self.set_resource_to_deploy('ascs', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - - def test_i_workload_netweaver_creation(self): - - self.set_resource_to_deploy('netweaver', args) - self.upload_scripts(args, False) - self.create_vdc_storage(args, False) - successful: bool = self.execute_deployment_test( - args, - self._workload_path, - self._environment_type) - - self.assertEqual(successful, True) - -#------------------------------------------------------------------------------ -if __name__ == '__main__': - unittest.main() \ No newline at end of file diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_a_shared_services_diagnostic_storage_account_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_a_shared_services_diagnostic_storage_account_creation.yaml new file mode 100644 index 000000000..f3db5348d --- /dev/null +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_a_shared_services_diagnostic_storage_account_creation.yaml @@ -0,0 +1,420 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:51:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:51:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg?api-version=2018-05-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 03:51:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: 'b''b\''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"deployment-prefix": {"type": "string", + "metadata": {"description": "Deployment prefix. E.g. Organization-DeploymentType"}}, + "lock-for-deletion": {"type": "bool", "defaultValue": true}, "vnet-id": {"type": + "string", "defaultValue": "", "metadata": {"description": "Shared services Virtual + Network resource identifier"}}, "enable-network-acls": {"type": "bool", "defaultValue": + false, "metadata": {"description": "Flag to enable network acls to whitelist + IPs and subnets"}}, "network-acls": {"type": "object", "defaultValue": {}}, + "utcYear": {"type": "string", "defaultValue": "[utcNow(\\\''yyyy\\\'')]"}, "storage-account-name": + {"type": "string", "defaultValue": "", "metadata": {"description": "Name of + the storage account"}}, "storage-account-kind": {"type": "string", "defaultValue": + "StorageV2"}, "storage-account-sku": {"type": "string", "defaultValue": "Standard_LRS"}, + "storage-account-access-tier": {"type": "string", "defaultValue": "Hot"}, "sas-key": + {"defaultValue": "se=2019-05-03T20%3A51%3A25Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ZfIyp%2Bj4SkWMbJbDY0aVj3hvCa9jDS5YoqCTw0Z9%2Bmg%3D", + "type": "string"}, "output-params-storage-key": {"defaultValue": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==", + "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", + "type": "string"}}, "variables": {"uniqueString": "[uniqueString(subscription().id, + concat(parameters(\\\''deployment-prefix\\\''), \\\''-la\\\''))]", "diagnostic-storageAccount-prefix": + "[concat(replace(parameters(\\\''deployment-prefix\\\''), \\\''-\\\'', \\\''\\\''), + \\\''diag\\\'')]", "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables(\\\''diagnostic-storageAccount-prefix\\\''), + variables(\\\''uniqueString\\\''), variables(\\\''uniqueString\\\'')), \\\''-\\\'', + \\\''\\\''), 0, 23) )]", "storage-account-name": "[if(empty(parameters(\\\''storage-account-name\\\'')), + variables(\\\''diagnostic-storageAccount-name\\\''), parameters(\\\''storage-account-name\\\''))]", + "accountSasProperties": {"signedServices": "bt", "signedPermission": "acuw", + "signedExpiry": "[concat(string(add(int(parameters(\\\''utcYear\\\'')), 100)), + \\\''-12-31T23:59:59Z\\\'')]", "signedResourceTypes": "co", "signedProtocol": + "https"}, "virtualNetwork-rules": {"copy": [{"name": "virtualNetworkRules", + "count": "[if(not(parameters(\\\''enable-network-acls\\\'')), 1, if(equals(length(parameters(\\\''network-acls\\\'').virtualNetworkRules), + 0), 1, length(parameters(\\\''network-acls\\\'').virtualNetworkRules)))]", "input": + {"id": "[if(not(parameters(\\\''enable-network-acls\\\'')), json(\\\''null\\\''), + if(equals(length(parameters(\\\''network-acls\\\'').virtualNetworkRules), 0), + json(\\\''null\\\''), concat(parameters(\\\''vnet-id\\\''), \\\''/subnets/\\\'', + parameters(\\\''network-acls\\\'').virtualNetworkRules[copyIndex(\\\''virtualNetworkRules\\\'')].subnet)))]"}}]}, + "networkAcls": {"bypass": "[if(not(parameters(\\\''enable-network-acls\\\'')), + \\\''AzureServices\\\'', parameters(\\\''network-acls\\\'').bypass)]", "defaultAction": + "[if(not(parameters(\\\''enable-network-acls\\\'')), \\\''Deny\\\'', parameters(\\\''network-acls\\\'').defaultAction)]", + "virtualNetworkRules": "[if(not(parameters(\\\''enable-network-acls\\\'')), + json(\\\''null\\\''), variables(\\\''virtualNetwork-rules\\\'').virtualNetworkRules)]", + "ipRules": "[if(not(parameters(\\\''enable-network-acls\\\'')), json(\\\''null\\\''), + if(equals(length(parameters(\\\''network-acls\\\'').ipRules), 0), json(\\\''null\\\''), + parameters(\\\''network-acls\\\'').ipRules))]"}}, "resources": [{"comments": + "----DIAGNOSTICS STORAGE ACCOUNT-----", "type": "Microsoft.Storage/storageAccounts", + "name": "[variables(\\\''storage-account-name\\\'')]", "apiVersion": "2018-11-01", + "location": "[resourceGroup().location]", "kind": "[parameters(\\\''storage-account-kind\\\'')]", + "sku": {"name": "[parameters(\\\''storage-account-sku\\\'')]"}, "tags": {"layer": + "management"}, "properties": {"encryption": {"keySource": "Microsoft.Storage", + "services": {"blob": {"enabled": true}, "file": "[if(or(equals(parameters(\\\''storage-account-kind\\\''), + \\\''StorageV2\\\''), equals(parameters(\\\''storage-account-kind\\\''), \\\''Storage\\\'')), + json(\\\''{\\\\"enabled\\\\": true}\\\''), json(\\\''null\\\''))]"}}, "accessTier": + "[parameters(\\\''storage-account-access-tier\\\'')]", "supportsHttpsTrafficOnly": + true, "networkAcls": "[if(empty(parameters(\\\''network-acls\\\'')), json(\\\''null\\\''), + variables(\\\''networkAcls\\\''))]"}}, {"type": "Microsoft.Storage/storageAccounts/providers/locks", + "apiVersion": "2016-09-01", "condition": "[parameters(\\\''lock-for-deletion\\\'')]", + "name": "[concat(variables(\\\''storage-account-name\\\''), \\\''/Microsoft.Authorization/storageDoNotDelete\\\'')]", + "dependsOn": ["[concat(\\\''Microsoft.Storage/storageAccounts/\\\'', variables(\\\''storage-account-name\\\''))]"], + "comments": "Resource lock on diagnostic storage account", "properties": {"level": + "CannotDelete"}}], "outputs": {"storageAccount-resourceId": {"type": "string", + "value": "[resourceId(\\\''Microsoft.Storage/storageAccounts\\\'', variables(\\\''storage-account-name\\\''))]"}, + "storageAccount-name": {"type": "string", "value": "[variables(\\\''storage-account-name\\\'')]"}, + "storageAccount-sasToken": {"type": "string", "value": "[listAccountSas(variables(\\\''storage-account-name\\\''), + \\\''2018-07-01\\\'', variables(\\\''accountSasProperties\\\'')).accountSasToken]"}, + "storageAccount-accessKey": {"type": "string", "value": "[listKeys(variables(\\\''storage-account-name\\\''),\\\''2015-06-15\\\'').key1]"}}}, + "parameters": {"deployment-prefix": {"value": "cntso-ssvcs"}, "network-acls": + {"value": {"bypass": "AzureServices", "defaultAction": "Deny", "virtualNetworkRules": + [{"subnet": "sharedsvcs"}, {"subnet": "trust"}, {"subnet": "dmz"}], "ipRules": + []}}, "enable-network-acls": {"value": false}, "sas-key": {"value": "se=2019-05-03T20%3A51%3A25Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ZfIyp%2Bj4SkWMbJbDY0aVj3hvCa9jDS5YoqCTw0Z9%2Bmg%3D"}, + "output-params-storage-key": {"value": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="}, + "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '5961' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-diagnostic-?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-diagnostic-","name":"cntso-shared-services-ssvcs-deployment-diagnostic-","properties":{"templateHash":"12047325727704814707","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"lock-for-deletion":{"type":"Bool","value":true},"vnet-id":{"type":"String","value":""},"enable-network-acls":{"type":"Bool","value":false},"network-acls":{"type":"Object","value":{"bypass":"AzureServices","defaultAction":"Deny","virtualNetworkRules":[{"subnet":"sharedsvcs"},{"subnet":"trust"},{"subnet":"dmz"}],"ipRules":[]}},"utcYear":{"type":"String","value":"2019"},"storage-account-name":{"type":"String","value":""},"storage-account-kind":{"type":"String","value":"StorageV2"},"storage-account-sku":{"type":"String","value":"Standard_LRS"},"storage-account-access-tier":{"type":"String","value":"Hot"},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A51%3A25Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ZfIyp%2Bj4SkWMbJbDY0aVj3hvCa9jDS5YoqCTw0Z9%2Bmg%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T03:51:28.0969271Z","duration":"PT0.0725589S","correlationId":"9c2089cd-db06-466f-a495-52d7c17154dc","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus2"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"cntsowus2shrdsvcs01diag"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"cntsowus2shrdsvcs01diag/Microsoft.Authorization/storageDoNotDelete"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-diagnostic-/operationStatuses/08586447513974532688?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '2484' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:51:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1195' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-diagnostic-/operationStatuses/08586447513974532688?api-version=2018-05-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:51:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-diagnostic-?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-diagnostic-","name":"cntso-shared-services-ssvcs-deployment-diagnostic-","properties":{"templateHash":"12047325727704814707","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"lock-for-deletion":{"type":"Bool","value":true},"vnet-id":{"type":"String","value":""},"enable-network-acls":{"type":"Bool","value":false},"network-acls":{"type":"Object","value":{"bypass":"AzureServices","defaultAction":"Deny","virtualNetworkRules":[{"subnet":"sharedsvcs"},{"subnet":"trust"},{"subnet":"dmz"}],"ipRules":[]}},"utcYear":{"type":"String","value":"2019"},"storage-account-name":{"type":"String","value":""},"storage-account-kind":{"type":"String","value":"StorageV2"},"storage-account-sku":{"type":"String","value":"Standard_LRS"},"storage-account-access-tier":{"type":"String","value":"Hot"},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A51%3A25Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ZfIyp%2Bj4SkWMbJbDY0aVj3hvCa9jDS5YoqCTw0Z9%2Bmg%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T03:51:48.7755894Z","duration":"PT20.7512212S","correlationId":"9c2089cd-db06-466f-a495-52d7c17154dc","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus2"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"cntsowus2shrdsvcs01diag"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"cntsowus2shrdsvcs01diag/Microsoft.Authorization/storageDoNotDelete"}],"outputs":{"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag/providers/Microsoft.Authorization/locks/storageDoNotDelete"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '3577' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:51:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:51:58 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 03:51:58 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK +- request: + body: 'b''b\''b\\\''{"storageAccount-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"}, + "storageAccount-name": { "value": "cntsowus2shrdsvcs01diag"}, "storageAccount-sasToken": + { "value": "sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"}, + "storageAccount-accessKey": { "value": "tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="}}\\\''\''''' + headers: + Connection: + - keep-alive + Content-Length: + - '590' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 03:51:58 GMT + x-ms-version: + - '2018-03-28' + method: PUT + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/diagnostic-storage-account/azureDeploy.parameters.output.json + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - UzcGkQ4IgSSQOnpmSwhZwg== + date: + - Fri, 03 May 2019 03:51:58 GMT + etag: + - '"0x8D6CF7AB158698E"' + last-modified: + - Fri, 03 May 2019 03:51:58 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created +version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_a_shared_services_log_analytics_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_a_shared_services_log_analytics_creation.yaml deleted file mode 100644 index af2656ede..000000000 --- a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_a_shared_services_log_analytics_creation.yaml +++ /dev/null @@ -1,809 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/vdc-storage-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 06:57:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"sku": {"name": "Standard_LRS"}, "kind": "BlobStorage", "location": "Central - US", "properties": {"encryption": {"services": {"blob": {"enabled": true}}, - "keySource": "Microsoft.Storage"}, "accessTier": "Cool", "supportsHttpsTrafficOnly": - true, "isHnsEnabled": false}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['268'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage?api-version=2018-02-01 - response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"BlobStorage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage","name":"storage","type":"Microsoft.Storage/storageAccounts","location":"centralus","tags":{},"properties":{"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2019-01-12T06:05:37.8777624Z"},"blob":{"enabled":true,"lastEnabledTime":"2019-01-12T06:05:37.8777624Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Cool","provisioningState":"Succeeded","creationTime":"2019-01-12T06:05:37.7684284Z","primaryEndpoints":{"dfs":"https://storage.dfs.core.windows.net/","blob":"https://storage.blob.core.windows.net/","table":"https://storage.table.core.windows.net/"},"primaryLocation":"centralus","statusOfPrimary":"available"}}'} - headers: - cache-control: [no-cache] - content-length: ['1024'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 06:57:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 06:57:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:36:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - policyclient/2.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 08 Feb 2019 06:37:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==","permissions":"FULL"},{"keyName":"key2","value":"Qt4jlr+vbLCxJo6xXTAlgWEXGo27Lz8jmQRQ4yIPsJD5CUM48N75AxWrH71MIJIu12thzJH4T3VUZ4BvKrqhrQ==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Sat, 12 Jan 2019 06:59:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-la-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 12 Jan 2019 06:59:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "SharedServicesOpsPermittedResourceTypes", - "description": "Policy to prevent the creation of unauthorized resource types - within the resource group.", "policyRule": {"if": {"not": {"field": "type", - "in": ["Microsoft.OperationalInsights/workspaces", "Microsoft.Network/networkWatchers"]}}, - "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['382'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"SharedServicesOpsPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.OperationalInsights/workspaces","Microsoft.Network/networkWatchers"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"SharedServicesOpsPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 06:59:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "SharedServicesOpsPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes"}, - "name": "SharedServicesOpsPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['294'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesOpsPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"SharedServicesOpsPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesOpsPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesOpsPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"SharedServicesOpsPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['658'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 06:59:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "denyPublicIP", "description": "Policy to - prevent the creation of public ip resources", "policyRule": {"if": {"field": - "type", "in": ["Microsoft.Network/publicIPAddresses"]}, "then": {"effect": "audit"}}, - "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['269'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"denyPublicIP","policyType":"Custom","description":"Policy - to prevent the creation of public ip resources","metadata":{"category":"VDC"},"policyRule":{"if":{"field":"type","in":["Microsoft.Network/publicIPAddresses"]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","type":"Microsoft.Authorization/policyDefinitions","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['472'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 06:59:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "denyPublicIP", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP"}, - "name": "denyPublicIP"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['213'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"denyPublicIP","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP","type":"Microsoft.Authorization/policyAssignments","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['550'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 06:59:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''b\\\''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {"deployment-prefix": {"type": "string", - "metadata": {"description": "Deployment prefix. E.g. Organization-DeploymentType"}}, - "service-tier": {"type": "string", "allowedValues": ["Free", "Standalone", "PerNode"], - "metadata": {"description": "Service Tier: Free, Standalone, or PerNode"}}, - "data-retention": {"type": "int", "defaultValue": 30, "minValue": 7, "maxValue": - 730, "metadata": {"description": "Number of days data will be retained for."}}, - "location": {"type": "string", "allowedValues": ["East US", "West Europe", "Southeast - Asia", "Australia Southeast", "West Central US"], "metadata": {"description": - "Region used when establishing the workspace."}}, "sas-key": {"defaultValue": - "se=2019-01-12T22%3A59%3A36Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=45OZhPKQiW1L9wql6f3KGxYIARTxXm87qNCuhn6p2NI%3D", - "type": "string"}, "output-params-storage-key": {"defaultValue": "WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g==", - "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", - "type": "string"}}, "variables": {"oms-workspace-name": "[concat(parameters(\\\\\\\''deployment-prefix\\\\\\\''), - \\\\\\\''-la\\\\\\\'')]"}, "resources": [{"apiVersion": "2015-11-01-preview", - "name": "[variables(\\\\\\\''oms-workspace-name\\\\\\\'')]", "location": "[parameters(\\\\\\\''location\\\\\\\'')]", - "tags": {}, "type": "Microsoft.OperationalInsights/workspaces", "properties": - {"sku": {"Name": "[parameters(\\\\\\\''service-tier\\\\\\\'')]"}, "retention": - "[parameters(\\\\\\\''data-retention\\\\\\\'')]"}}], "outputs": {"oms-id": {"type": - "string", "value": "[resourceId(\\\\\\\''Microsoft.OperationalInsights/workspaces\\\\\\\'', - variables(\\\\\\\''oms-workspace-name\\\\\\\''))]"}, "oms-workspace-resourceGroup": - {"type": "string", "value": "[resourceGroup().name]"}, "oms-workspace-name": - {"type": "string", "value": "[variables(\\\\\\\''oms-workspace-name\\\\\\\'')]"}, - "oms-workspace-id": {"type": "string", "value": "[reference(resourceId(\\\\\\\''Microsoft.OperationalInsights/workspaces\\\\\\\'', - variables(\\\\\\\''oms-workspace-name\\\\\\\'')), \\\\\\\''2015-03-20\\\\\\\'').customerId]"}, - "oms-primary-shared-key": {"type": "string", "value": "[listKeys(resourceId(\\\\\\\''Microsoft.OperationalInsights/workspaces\\\\\\\'', - variables(\\\\\\\''oms-workspace-name\\\\\\\'')), \\\\\\\''2015-03-20\\\\\\\'').primarySharedKey]"}}}, - "parameters": {"deployment-prefix": {"value": "org-shared-services"}, "data-retention": - {"value": 30}, "location": {"value": "West Europe"}, "service-tier": {"value": - "PerNode"}, "sas-key": {"value": "se=2019-01-12T22%3A59%3A36Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=45OZhPKQiW1L9wql6f3KGxYIARTxXm87qNCuhn6p2NI%3D"}, - "output-params-storage-key": {"value": "WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="}, - "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\\\''\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['2874'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-la-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-la?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-la","name":"org-shared-services-ssvcs-deployment-la","properties":{"templateHash":"16893627583938325975","parameters":{"deployment-prefix":{"type":"String","value":"org-shared-services"},"service-tier":{"type":"String","value":"PerNode"},"data-retention":{"type":"Int","value":30},"location":{"type":"String","value":"West - Europe"},"sas-key":{"type":"String","value":"se=2019-01-12T22%3A59%3A36Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=45OZhPKQiW1L9wql6f3KGxYIARTxXm87qNCuhn6p2NI%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-01-12T06:59:42.0986388Z","duration":"PT0.383099S","correlationId":"db1f062a-7083-4863-b9ec-a244954ebf78","providers":[{"namespace":"Microsoft.OperationalInsights","resourceTypes":[{"resourceType":"workspaces","locations":["westeurope"]}]}],"dependencies":[]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-la-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-la/operationStatuses/08586543305037620886?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['1220'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 06:59:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-la-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-la/operationStatuses/08586543305037620886?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 07:00:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-la-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-la?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-la","name":"org-shared-services-ssvcs-deployment-la","properties":{"templateHash":"16893627583938325975","parameters":{"deployment-prefix":{"type":"String","value":"org-shared-services"},"service-tier":{"type":"String","value":"PerNode"},"data-retention":{"type":"Int","value":30},"location":{"type":"String","value":"West - Europe"},"sas-key":{"type":"String","value":"se=2019-01-12T22%3A59%3A36Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=45OZhPKQiW1L9wql6f3KGxYIARTxXm87qNCuhn6p2NI%3D"},"output-params-storage-key":{"type":"String","value":"WHCxnTcooJCGfNwLRhz2zgLsDvXXE2uVqOuTfZcRHFJsJOhMZ96mUI41HxmVBXgAOoZMvdba+Fjc/5DS+5dS7g=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-01-12T06:59:56.969685Z","duration":"PT15.2541452S","correlationId":"db1f062a-7083-4863-b9ec-a244954ebf78","providers":[{"namespace":"Microsoft.OperationalInsights","resourceTypes":[{"resourceType":"workspaces","locations":["westeurope"]}]}],"dependencies":[],"outputs":{"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-shared-services-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-shared-services-la-rg"},"oms-workspace-name":{"type":"String","value":"org-shared-services-la"},"oms-workspace-id":{"type":"String","value":"4ab3cd77-daf6-46c6-acc7-735a9bc3931e"},"oms-primary-shared-key":{"type":"String","value":"t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-shared-services-la"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['1986'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 12 Jan 2019 07:00:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Sat, 12 Jan 2019 07:00:13 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Sat, 12 Jan 2019 07:00:13 GMT'] - etag: ['"0x8D6785457412265"'] - last-modified: ['Sat, 12 Jan 2019 06:08:15 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''b\\\\\\\''{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-shared-services-la"}, - "oms-workspace-resourceGroup": { "value": "org-shared-services-la-rg"}, "oms-workspace-name": - { "value": "org-shared-services-la"}, "oms-workspace-id": { "value": "4ab3cd77-daf6-46c6-acc7-735a9bc3931e"}, - "oms-primary-shared-key": { "value": "t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="}}\\\\\\\''\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['506'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Sat, 12 Jan 2019 07:00:13 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [PQ3ozLvGlXoR9KX7xfa96A==] - date: ['Sat, 12 Jan 2019 07:00:13 GMT'] - etag: ['"0x8D6785B99EC1018"'] - last-modified: ['Sat, 12 Jan 2019 07:00:13 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_b_shared_services_log_analytics_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_b_shared_services_log_analytics_creation.yaml new file mode 100644 index 000000000..d1ccba96a --- /dev/null +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_b_shared_services_log_analytics_creation.yaml @@ -0,0 +1,413 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:51:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:51:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:51:59 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/diagnostic-storage-account/azureDeploy.parameters.output.json + response: + body: + string: '{"storageAccount-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"}, + "storageAccount-name": { "value": "cntsowus2shrdsvcs01diag"}, "storageAccount-sasToken": + { "value": "sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"}, + "storageAccount-accessKey": { "value": "tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '590' + content-range: + - bytes 0-589/590 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:51:58 GMT + etag: + - '"0x8D6CF7AB158698E"' + last-modified: + - Fri, 03 May 2019 03:51:58 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - UzcGkQ4IgSSQOnpmSwhZwg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:38:01 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg?api-version=2018-05-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 03:51:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: '!!! The request body has been omitted from the recording because its size + 40656 is larger than 10KB. !!!' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32346' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-la?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-la","name":"cntso-shared-services-ssvcs-deployment-la","properties":{"templateHash":"13421118462834602500","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"service-tier":{"type":"String","value":"PerNode"},"data-retention":{"type":"Int","value":365},"location":{"type":"String","value":"West + US 2"},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"automation-account-location":{"type":"String","value":"West + US 2"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A51%3A59Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=2PzHr52ker/zH1Jfretce/LpdzceXsup%2BPl%2BDel4JJw%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T03:52:01.6078273Z","duration":"PT0.2174828S","correlationId":"b17f21f8-5fc2-4496-b11a-e7adaaee5047","providers":[{"namespace":"Microsoft.OperationalInsights","resourceTypes":[{"resourceType":"workspaces","locations":["westus2"]},{"resourceType":"workspaces/savedSearches","locations":[null]},{"resourceType":"workspaces/datasources","locations":[null]},{"resourceType":"workspaces/storageinsightconfigs","locations":[null]},{"resourceType":"workspaces/providers/locks","locations":[null]}]},{"namespace":"Microsoft.OperationsManagement","resourceTypes":[{"resourceType":"solutions","locations":["westus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/savedSearches/VMSSQueries","resourceType":"Microsoft.OperationalInsights/workspaces/savedSearches","resourceName":"cntso-ssvcs-la/VMSSQueries"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/applicationEvent","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/applicationEvent"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/systemEvent","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/systemEvent"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter1","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter2","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter3","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter3"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter4","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter4"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter5","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter5"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter6","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter6"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter7","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter7"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter8","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter8"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter9","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter9"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter10","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter10"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter11","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter11"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter12","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter12"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter13","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter13"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter14","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter14"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter15","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter15"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter16","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter16"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter17","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter17"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter18","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter18"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter19","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter19"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter20","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter20"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter21","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter21"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter22","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter22"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter23","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter23"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter24","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter24"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter25","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter25"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter26","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter26"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter27","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter27"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter28","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter28"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter29","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter29"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter30","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter30"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter31","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter31"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter32","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter32"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter33","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter33"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter34","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter34"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter35","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter35"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter36","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter36"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter37","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter37"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter38","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter38"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter39","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter39"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter40","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter40"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter41","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter41"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter42","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter42"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter43","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter43"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter44","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter44"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter45","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter45"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter46","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter46"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleIISLog1","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/sampleIISLog1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleSyslog1","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/sampleSyslog1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleSyslogCollection1","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/sampleSyslogCollection1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleLinuxPerf1","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/sampleLinuxPerf1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleLinuxPerfCollection1","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/sampleLinuxPerfCollection1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/storageinsightconfigs/cntsowus2shrdsvcs01diagcntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces/storageinsightconfigs","resourceName":"cntso-ssvcs-la/cntsowus2shrdsvcs01diagcntso-ssvcs-la"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/Updates(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"Updates(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/Updates(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"Updates(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/AzureAutomation(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"AzureAutomation(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/AzureAutomation(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"AzureAutomation(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/AntiMalware(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"AntiMalware(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/AntiMalware(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"AntiMalware(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/SQLAssessment(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"SQLAssessment(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/SQLAssessment(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"SQLAssessment(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/Security(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"Security(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/Security(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"Security(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/SecurityCenterFree(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"SecurityCenterFree(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/SecurityCenterFree(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"SecurityCenterFree(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/ChangeTracking(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"ChangeTracking(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/ChangeTracking(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"ChangeTracking(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/KeyVaultAnalytics(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"KeyVaultAnalytics(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/providers/Microsoft.Authorization/locks/logAnalyticsDoNotDelete","resourceType":"Microsoft.OperationalInsights/workspaces/providers/locks","resourceName":"cntso-ssvcs-la/Microsoft.Authorization/logAnalyticsDoNotDelete"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-la/operationStatuses/08586447513640875059?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '46449' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:52:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-la/operationStatuses/08586447513640875059?api-version=2018-05-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:52:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-la?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-la","name":"cntso-shared-services-ssvcs-deployment-la","properties":{"templateHash":"13421118462834602500","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"service-tier":{"type":"String","value":"PerNode"},"data-retention":{"type":"Int","value":365},"location":{"type":"String","value":"West + US 2"},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"automation-account-location":{"type":"String","value":"West + US 2"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A51%3A59Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=2PzHr52ker/zH1Jfretce/LpdzceXsup%2BPl%2BDel4JJw%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T03:52:13.9693639Z","duration":"PT12.5790194S","correlationId":"b17f21f8-5fc2-4496-b11a-e7adaaee5047","providers":[{"namespace":"Microsoft.OperationalInsights","resourceTypes":[{"resourceType":"workspaces","locations":["westus2"]},{"resourceType":"workspaces/savedSearches","locations":[null]},{"resourceType":"workspaces/datasources","locations":[null]},{"resourceType":"workspaces/storageinsightconfigs","locations":[null]},{"resourceType":"workspaces/providers/locks","locations":[null]}]},{"namespace":"Microsoft.OperationsManagement","resourceTypes":[{"resourceType":"solutions","locations":["westus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/savedSearches/VMSSQueries","resourceType":"Microsoft.OperationalInsights/workspaces/savedSearches","resourceName":"cntso-ssvcs-la/VMSSQueries"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/applicationEvent","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/applicationEvent"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/systemEvent","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/systemEvent"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter1","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter2","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter3","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter3"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter4","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter4"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter5","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter5"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter6","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter6"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter7","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter7"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter8","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter8"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter9","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter9"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter10","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter10"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter11","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter11"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter12","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter12"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter13","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter13"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter14","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter14"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter15","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter15"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter16","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter16"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter17","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter17"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter18","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter18"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter19","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter19"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter20","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter20"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter21","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter21"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter22","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter22"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter23","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter23"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter24","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter24"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter25","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter25"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter26","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter26"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter27","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter27"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter28","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter28"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter29","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter29"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter30","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter30"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter31","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter31"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter32","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter32"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter33","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter33"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter34","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter34"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter35","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter35"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter36","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter36"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter37","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter37"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter38","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter38"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter39","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter39"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter40","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter40"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter41","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter41"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter42","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter42"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter43","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter43"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter44","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter44"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter45","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter45"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter46","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/windowsPerfCounter46"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleIISLog1","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/sampleIISLog1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleSyslog1","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/sampleSyslog1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleSyslogCollection1","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/sampleSyslogCollection1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleLinuxPerf1","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/sampleLinuxPerf1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleLinuxPerfCollection1","resourceType":"Microsoft.OperationalInsights/workspaces/datasources","resourceName":"cntso-ssvcs-la/sampleLinuxPerfCollection1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/storageinsightconfigs/cntsowus2shrdsvcs01diagcntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces/storageinsightconfigs","resourceName":"cntso-ssvcs-la/cntsowus2shrdsvcs01diagcntso-ssvcs-la"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/Updates(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"Updates(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/Updates(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"Updates(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/AzureAutomation(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"AzureAutomation(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/AzureAutomation(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"AzureAutomation(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/AntiMalware(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"AntiMalware(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/AntiMalware(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"AntiMalware(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/SQLAssessment(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"SQLAssessment(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/SQLAssessment(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"SQLAssessment(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/Security(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"Security(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/Security(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"Security(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/SecurityCenterFree(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"SecurityCenterFree(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/SecurityCenterFree(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"SecurityCenterFree(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/ChangeTracking(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"ChangeTracking(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/ChangeTracking(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"ChangeTracking(cntso-ssvcs-la)"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/KeyVaultAnalytics(cntso-ssvcs-la)","resourceType":"Microsoft.OperationsManagement/solutions","resourceName":"KeyVaultAnalytics(cntso-ssvcs-la)"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"cntso-ssvcs-la"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/providers/Microsoft.Authorization/locks/logAnalyticsDoNotDelete","resourceType":"Microsoft.OperationalInsights/workspaces/providers/locks","resourceName":"cntso-ssvcs-la/Microsoft.Authorization/logAnalyticsDoNotDelete"}],"outputs":{"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"la-workspace-id":{"type":"String","value":"d4856489-3d3d-4a90-939d-3d00f85d2cca"},"la-primary-shared-key":{"type":"String","value":"GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/applicationEvent"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleIISLog1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleLinuxPerf1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleLinuxPerfCollection1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleSyslog1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/sampleSyslogCollection1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/systemEvent"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter10"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter11"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter12"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter13"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter14"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter15"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter16"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter17"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter18"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter19"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter20"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter21"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter22"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter23"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter24"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter25"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter26"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter27"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter28"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter29"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter3"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter30"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter31"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter32"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter33"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter34"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter35"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter36"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter37"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter38"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter39"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter4"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter40"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter41"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter42"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter43"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter44"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter45"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter46"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter5"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter6"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter7"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter8"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/datasources/windowsPerfCounter9"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/providers/Microsoft.Authorization/locks/logAnalyticsDoNotDelete"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/savedSearches/VMSSQueries"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/storageinsightconfigs/cntsowus2shrdsvcs01diagcntso-ssvcs-la"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/AntiMalware(cntso-ssvcs-la)"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/AzureAutomation(cntso-ssvcs-la)"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/ChangeTracking(cntso-ssvcs-la)"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/KeyVaultAnalytics(cntso-ssvcs-la)"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/Security(cntso-ssvcs-la)"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/SecurityCenterFree(cntso-ssvcs-la)"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/SQLAssessment(cntso-ssvcs-la)"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationsManagement/solutions/Updates(cntso-ssvcs-la)"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '61380' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:52:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:52:32 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 03:52:31 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK +- request: + body: 'b''b\''b\\\''{"la-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"}, + "la-workspace-resourceGroup": { "value": "cntso-ssvcs-diagnostics-rg"}, "la-workspace-name": + { "value": "cntso-ssvcs-la"}, "la-workspace-id": { "value": "d4856489-3d3d-4a90-939d-3d00f85d2cca"}, + "la-primary-shared-key": { "value": "GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="}}\\\''\''''' + headers: + Connection: + - keep-alive + Content-Length: + - '555' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 03:52:32 GMT + x-ms-version: + - '2018-03-28' + method: PUT + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - VSRHCa/+VUVqQZ3n66L9fQ== + date: + - Fri, 03 May 2019 03:52:31 GMT + etag: + - '"0x8D6CF7AC54B0169"' + last-modified: + - Fri, 03 May 2019 03:52:32 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created +version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_b_shared_services_nsg_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_b_shared_services_nsg_creation.yaml deleted file mode 100644 index 4f44620a8..000000000 --- a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_b_shared_services_nsg_creation.yaml +++ /dev/null @@ -1,632 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:38:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:38:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:38:23 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"}, - "oms-workspace-resourceGroup": { "value": "org-ssvcs-la-rg"}, "oms-workspace-name": - { "value": "org-ssvcs-la"}, "oms-workspace-id": { "value": "4ab3cd77-daf6-46c6-acc7-735a9bc3931e"}, - "oms-primary-shared-key": { "value": "t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['506'] - content-range: [bytes 0-505/506] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 07:38:24 GMT'] - etag: ['"0x8D68CCF36E2D68D"'] - last-modified: ['Thu, 07 Feb 2019 07:38:12 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [PQ3ozLvGlXoR9KX7xfa96A==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 03:51:33 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 07 Feb 2019 07:38:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '!!! The request body has been omitted from the recording because its size - 19261 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['15011'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-nsg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-nsg","name":"org-shared-services-ssvcs-deployment-nsg","properties":{"templateHash":"1223921610838711869","parameters":{"deployment-prefix":{"type":"String","value":"org-ssvcs"},"deployment-name":{"type":"String","value":"ssvcs"},"network-security-groups":{"type":"Array","value":[{"name":"sharedsvcs","rules":[{"name":"allow-tcp-between-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","42","88","636","3268","3269","445","25","135","5722","464","9389","139","53","49152-65535"],"direction":"Inbound","priority":100,"protocol":"Tcp","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[{"name":"dc"}]}},{"name":"allow-udp-between-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","88","445","123","464","138","137","53","49152-65535"],"destinationApplicationSecurityGroups":[{"name":"dc"}],"direction":"Inbound","priority":110,"protocol":"Udp","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"sourceApplicationSecurityGroups":[{"name":"dc"}]}},{"name":"allow-tcp-ad","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","42","88","636","3268","3269","445","25","135","5722","464","9389","139","53","49152-65535"],"direction":"Inbound","priority":120,"protocol":"Tcp","sourceAddressPrefix":"192.168.1.4","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-udp-ad","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","88","445","123","464","138","137","53","49152-65535"],"direction":"Inbound","priority":130,"protocol":"Udp","sourceAddressPrefix":"192.168.1.4","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-rdp-into-dc","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"3389","destinationPortRanges":[],"direction":"Inbound","priority":140,"protocol":"TCP","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[{"name":"jb"}]}},{"name":"allow-rdp-ssh-into-jb","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["3389","22"],"destinationPortRange":"","direction":"Inbound","priority":150,"protocol":"TCP","sourceAddressPrefix":"192.168.1.0/28","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"jb"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-tcp-vnet-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["389","42","88","636","3268","3269","445","25","135","5722","464","9389","139","53","49152-65535"],"destinationPortRange":"","direction":"Inbound","priority":160,"protocol":"TCP","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-udp-vnet-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["389","88","445","123","464","138","137","53","49152-65535"],"destinationPortRange":"","direction":"Inbound","priority":170,"protocol":"UDP","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"deny-vnet","properties":{"access":"Deny","destinationAddressPrefix":"VirtualNetwork","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":4096,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}},{"name":"allow-vnet","properties":{"access":"Allow","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Outbound","priority":100,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}}]},{"name":"dmz","rules":[{"name":"allow-vnet","properties":{"access":"Allow","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":100,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}}]}]},"application-security-groups":{"type":"Array","value":[{"name":"dc"},{"name":"jb"}]},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"},"data-retention":{"type":"Int","value":30},"oms-workspace-resourceGroup":{"type":"String","value":"org-ssvcs-la-rg"},"oms-workspace-name":{"type":"String","value":"org-ssvcs-la"},"oms-workspace-id":{"type":"String","value":"4ab3cd77-daf6-46c6-acc7-735a9bc3931e"},"oms-primary-shared-key":{"type":"String","value":"t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A38%3A12Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=0vEHQ%2B5wknzHAapdrqIYIJ5s/W/D1lZ2Suomcvk2yYA%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-07T07:38:28.3797301Z","duration":"PT0.8913131S","correlationId":"71aa805f-17e1-441e-b9ff-47a8a8584620","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"applicationSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups/providers/diagnosticSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-ssvcs-dc-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-ssvcs-dc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-ssvcs-jb-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-ssvcs-jb-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Storage/storageAccounts/cusssdiagfyyy2fiacshqif","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"cusssdiagfyyy2fiacshqif"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-sharedsvcs-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-ssvcs-sharedsvcs-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-sharedsvcs-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-ssvcs-sharedsvcs-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-sharedsvcs-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"org-ssvcs-sharedsvcs-nsg/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-ssvcs-dc-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-ssvcs-dc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-ssvcs-jb-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-ssvcs-jb-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Storage/storageAccounts/cusssdiagfyyy2fiacshqif","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"cusssdiagfyyy2fiacshqif"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-dmz-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-ssvcs-dmz-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-dmz-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-ssvcs-dmz-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-dmz-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"org-ssvcs-dmz-nsg/Microsoft.Insights/service"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-nsg/operationStatuses/08586520817779892464?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['10642'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-nsg/operationStatuses/08586520817779892464?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:38:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-nsg?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-nsg","name":"org-shared-services-ssvcs-deployment-nsg","properties":{"templateHash":"1223921610838711869","parameters":{"deployment-prefix":{"type":"String","value":"org-ssvcs"},"deployment-name":{"type":"String","value":"ssvcs"},"network-security-groups":{"type":"Array","value":[{"name":"sharedsvcs","rules":[{"name":"allow-tcp-between-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","42","88","636","3268","3269","445","25","135","5722","464","9389","139","53","49152-65535"],"direction":"Inbound","priority":100,"protocol":"Tcp","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[{"name":"dc"}]}},{"name":"allow-udp-between-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","88","445","123","464","138","137","53","49152-65535"],"destinationApplicationSecurityGroups":[{"name":"dc"}],"direction":"Inbound","priority":110,"protocol":"Udp","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"sourceApplicationSecurityGroups":[{"name":"dc"}]}},{"name":"allow-tcp-ad","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","42","88","636","3268","3269","445","25","135","5722","464","9389","139","53","49152-65535"],"direction":"Inbound","priority":120,"protocol":"Tcp","sourceAddressPrefix":"192.168.1.4","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-udp-ad","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","88","445","123","464","138","137","53","49152-65535"],"direction":"Inbound","priority":130,"protocol":"Udp","sourceAddressPrefix":"192.168.1.4","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-rdp-into-dc","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"3389","destinationPortRanges":[],"direction":"Inbound","priority":140,"protocol":"TCP","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[{"name":"jb"}]}},{"name":"allow-rdp-ssh-into-jb","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["3389","22"],"destinationPortRange":"","direction":"Inbound","priority":150,"protocol":"TCP","sourceAddressPrefix":"192.168.1.0/28","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"jb"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-tcp-vnet-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["389","42","88","636","3268","3269","445","25","135","5722","464","9389","139","53","49152-65535"],"destinationPortRange":"","direction":"Inbound","priority":160,"protocol":"TCP","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-udp-vnet-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["389","88","445","123","464","138","137","53","49152-65535"],"destinationPortRange":"","direction":"Inbound","priority":170,"protocol":"UDP","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"deny-vnet","properties":{"access":"Deny","destinationAddressPrefix":"VirtualNetwork","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":4096,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}},{"name":"allow-vnet","properties":{"access":"Allow","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Outbound","priority":100,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}}]},{"name":"dmz","rules":[{"name":"allow-vnet","properties":{"access":"Allow","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":100,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}}]}]},"application-security-groups":{"type":"Array","value":[{"name":"dc"},{"name":"jb"}]},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"},"data-retention":{"type":"Int","value":30},"oms-workspace-resourceGroup":{"type":"String","value":"org-ssvcs-la-rg"},"oms-workspace-name":{"type":"String","value":"org-ssvcs-la"},"oms-workspace-id":{"type":"String","value":"4ab3cd77-daf6-46c6-acc7-735a9bc3931e"},"oms-primary-shared-key":{"type":"String","value":"t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A38%3A12Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=0vEHQ%2B5wknzHAapdrqIYIJ5s/W/D1lZ2Suomcvk2yYA%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-07T07:38:49.8772063Z","duration":"PT22.3887893S","correlationId":"71aa805f-17e1-441e-b9ff-47a8a8584620","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"applicationSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups","locations":["centralus"]},{"resourceType":"networkSecurityGroups/providers/diagnosticSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-ssvcs-dc-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-ssvcs-dc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-ssvcs-jb-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-ssvcs-jb-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Storage/storageAccounts/cusssdiagfyyy2fiacshqif","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"cusssdiagfyyy2fiacshqif"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-sharedsvcs-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-ssvcs-sharedsvcs-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-sharedsvcs-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-ssvcs-sharedsvcs-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-sharedsvcs-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"org-ssvcs-sharedsvcs-nsg/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-ssvcs-dc-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-ssvcs-dc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-ssvcs-jb-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"org-ssvcs-jb-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Storage/storageAccounts/cusssdiagfyyy2fiacshqif","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"cusssdiagfyyy2fiacshqif"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-dmz-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-ssvcs-dmz-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-dmz-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"org-ssvcs-dmz-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-dmz-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"org-ssvcs-dmz-nsg/Microsoft.Insights/service"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-ssvcs-dc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/org-ssvcs-jb-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-dmz-nsg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-dmz-nsg/providers/Microsoft.Insights/diagnosticSettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-sharedsvcs-nsg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/org-ssvcs-sharedsvcs-nsg/providers/Microsoft.Insights/diagnosticSettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Storage/storageAccounts/cusssdiagfyyy2fiacshqif"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['12001'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:38:59 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Thu, 07 Feb 2019 07:38:59 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Thu, 07 Feb 2019 07:38:59 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/nsg/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Thu, 07 Feb 2019 07:38:59 GMT'] - etag: ['"0x8D68CCF5387ED4C"'] - last-modified: ['Thu, 07 Feb 2019 07:39:00 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_c_shared_services_automation_account_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_c_shared_services_automation_account_creation.yaml new file mode 100644 index 000000000..e5be31cca --- /dev/null +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_c_shared_services_automation_account_creation.yaml @@ -0,0 +1,543 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:52:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:52:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:52:33 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json + response: + body: + string: '{"la-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"}, + "la-workspace-resourceGroup": { "value": "cntso-ssvcs-diagnostics-rg"}, "la-workspace-name": + { "value": "cntso-ssvcs-la"}, "la-workspace-id": { "value": "d4856489-3d3d-4a90-939d-3d00f85d2cca"}, + "la-primary-shared-key": { "value": "GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '555' + content-range: + - bytes 0-554/555 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:52:32 GMT + etag: + - '"0x8D6CF7AC54B0169"' + last-modified: + - Fri, 03 May 2019 03:52:32 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - VSRHCa/+VUVqQZ3n66L9fQ== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:39:06 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:52:33 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/diagnostic-storage-account/azureDeploy.parameters.output.json + response: + body: + string: '{"storageAccount-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"}, + "storageAccount-name": { "value": "cntsowus2shrdsvcs01diag"}, "storageAccount-sasToken": + { "value": "sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"}, + "storageAccount-accessKey": { "value": "tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '590' + content-range: + - bytes 0-589/590 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:52:33 GMT + etag: + - '"0x8D6CF7AB158698E"' + last-modified: + - Fri, 03 May 2019 03:51:58 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - UzcGkQ4IgSSQOnpmSwhZwg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:38:01 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg?api-version=2018-05-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 03:52:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: '!!! The request body has been omitted from the recording because its size + 14276 is larger than 10KB. !!!' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '12216' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-automation-?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-automation-","name":"cntso-shared-services-ssvcs-deployment-automation-","properties":{"templateHash":"14894781221095805588","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"location":{"type":"String","value":"West + US 2"},"month":{"type":"String","value":"05"},"year":{"type":"String","value":"2019"},"um-timezone":{"type":"String","value":"America/Chicago"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"logs-retention-in-days":{"type":"Int","value":365},"um-startdate":{"type":"String","value":"2019/03/29 + 7:00 PM"},"la-workspace-id":{"type":"String","value":"d4856489-3d3d-4a90-939d-3d00f85d2cca"},"la-primary-shared-key":{"type":"String","value":"GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A52%3A32Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=%2BY6hZ5E7bAxYbrIGjQ/y3I1GEaB9lZ75ja/AZGo32zU%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T03:52:35.2486933Z","duration":"PT0.1109644S","correlationId":"64721d2c-e41f-45a9-bdce-8e448c24eed3","providers":[{"namespace":"Microsoft.Automation","resourceTypes":[{"resourceType":"automationAccounts","locations":["westus2"]},{"resourceType":"automationAccounts/providers/diagnosticsettings","locations":["westus2"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.Automation/automationAccounts/providers/diagnosticsettings","resourceName":"cntso-ssvcs-automation-account/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentLinkService","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentLinkService"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux2ndSat7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux3rdSat7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux4thSat7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux2ndSun7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux3rdSun7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux4thSun7pm"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-automation-/operationStatuses/08586447513303399492?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '23687' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:52:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1194' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-automation-/operationStatuses/08586447513303399492?api-version=2018-05-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:53:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-automation-/operationStatuses/08586447513303399492?api-version=2018-05-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:53:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-automation-/operationStatuses/08586447513303399492?api-version=2018-05-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:54:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-automation-?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-automation-","name":"cntso-shared-services-ssvcs-deployment-automation-","properties":{"templateHash":"14894781221095805588","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"location":{"type":"String","value":"West + US 2"},"month":{"type":"String","value":"05"},"year":{"type":"String","value":"2019"},"um-timezone":{"type":"String","value":"America/Chicago"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"logs-retention-in-days":{"type":"Int","value":365},"um-startdate":{"type":"String","value":"2019/03/29 + 7:00 PM"},"la-workspace-id":{"type":"String","value":"d4856489-3d3d-4a90-939d-3d00f85d2cca"},"la-primary-shared-key":{"type":"String","value":"GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A52%3A32Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=%2BY6hZ5E7bAxYbrIGjQ/y3I1GEaB9lZ75ja/AZGo32zU%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T03:53:36.3786306Z","duration":"PT1M1.2409017S","correlationId":"64721d2c-e41f-45a9-bdce-8e448c24eed3","providers":[{"namespace":"Microsoft.Automation","resourceTypes":[{"resourceType":"automationAccounts","locations":["westus2"]},{"resourceType":"automationAccounts/providers/diagnosticsettings","locations":["westus2"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.Automation/automationAccounts/providers/diagnosticsettings","resourceName":"cntso-ssvcs-automation-account/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentLinkService","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentLinkService"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux2ndSat7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux3rdSat7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux4thSat7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux2ndSun7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux3rdSun7pm"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account","resourceType":"Microsoft.Automation/automationAccounts","resourceName":"cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSat7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win2ndSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win3rdSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Win4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Win4thSun7pm"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/nestedDeploymentUM-Linux4thSun7pm","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploymentUM-Linux4thSun7pm"}],"outputs":{"automation-account-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/providers/Microsoft.Insights/diagnosticsettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/softwareUpdateConfigurations/linux-um-vdc2-hub-2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/softwareUpdateConfigurations/linux-um-vdc2-hub-2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/softwareUpdateConfigurations/linux-um-vdc2-hub-3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/softwareUpdateConfigurations/linux-um-vdc2-hub-3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/softwareUpdateConfigurations/linux-um-vdc2-hub-4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/softwareUpdateConfigurations/linux-um-vdc2-hub-4thSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/softwareUpdateConfigurations/windows-um-vdc2-hub-2ndSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/softwareUpdateConfigurations/windows-um-vdc2-hub-2ndSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/softwareUpdateConfigurations/windows-um-vdc2-hub-3rdSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/softwareUpdateConfigurations/windows-um-vdc2-hub-3rdSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/softwareUpdateConfigurations/windows-um-vdc2-hub-4thSat7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account/softwareUpdateConfigurations/windows-um-vdc2-hub-4thSun7pm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la/linkedServices/Automation"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '27800' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:54:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:54:06 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 03:54:05 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK +- request: + body: 'b''b\''b\\\''{"automation-account-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Automation/automationAccounts/cntso-ssvcs-automation-account"}}\\\''\''''' + headers: + Connection: + - keep-alive + Content-Length: + - '243' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 03:54:06 GMT + x-ms-version: + - '2018-03-28' + method: PUT + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/automation-account/azureDeploy.parameters.output.json + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - py2c42xYEYaKApe2gjzgMw== + date: + - Fri, 03 May 2019 03:54:05 GMT + etag: + - '"0x8D6CF7AFD5E3546"' + last-modified: + - Fri, 03 May 2019 03:54:06 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created +version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_c_shared_services_network_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_c_shared_services_network_creation.yaml deleted file mode 100644 index 2d8075170..000000000 --- a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_c_shared_services_network_creation.yaml +++ /dev/null @@ -1,759 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:39:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:39:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:39:09 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/nsg/azureDeploy.parameters.output.json - response: - body: {string: '{}'} - headers: - accept-ranges: [bytes] - content-length: ['2'] - content-range: [bytes 0-1/2] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 07:39:10 GMT'] - etag: ['"0x8D68CCF5387ED4C"'] - last-modified: ['Thu, 07 Feb 2019 07:39:00 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 04:08:25 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 07 Feb 2019 07:39:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "SharedServicesNetPermittedResourceTypes", - "description": "Policy to prevent the creation of unauthorized resource types - within the resource group.", "policyRule": {"if": {"not": {"field": "type", - "in": ["Microsoft.Network/ddosProtectionPlans", "Microsoft.Network/applicationSecurityGroups", - "Microsoft.Network/expressRouteCircuits", "Microsoft.Network/localNetworkGateways", - "Microsoft.Network/connections", "Microsoft.Network/virtualNetworkGateways", - "Microsoft.Network/routeTables", "Microsoft.Network/networkSecurityGroups", - "Microsoft.Network/virtualNetworks", "Microsoft.Network/publicIPAddresses", - "Microsoft.Resources/deployments"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['737'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesNetPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"SharedServicesNetPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.Network/ddosProtectionPlans","Microsoft.Network/applicationSecurityGroups","Microsoft.Network/expressRouteCircuits","Microsoft.Network/localNetworkGateways","Microsoft.Network/connections","Microsoft.Network/virtualNetworkGateways","Microsoft.Network/routeTables","Microsoft.Network/networkSecurityGroups","Microsoft.Network/virtualNetworks","Microsoft.Network/publicIPAddresses","Microsoft.Resources/deployments"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesNetPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"SharedServicesNetPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['983'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "SharedServicesNetPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesNetPermittedResourceTypes"}, - "name": "SharedServicesNetPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['294'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesNetPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"SharedServicesNetPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesNetPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesNetPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"SharedServicesNetPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['660'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {"deployment-prefix": {"type": "string", - "metadata": {"description": "Deployment prefix. E.g. Organization-DeploymentType"}}, - "vnet-address-prefix": {"type": "string", "metadata": {"description": ""}}, - "subnets": {"type": "array", "metadata": {"description": ""}}, "user-defined-routes": - {"type": "array", "metadata": {"description": ""}}, "enable-ddos-protection": - {"type": "bool", "defaultValue": true, "metadata": {"description": "Determines - whether or not DDoS Protection is enabled in the VNET"}}, "on-premises-primaryDC-IP": - {"type": "string", "metadata": {"description": "On-premises domain IP"}}, "sas-key": - {"defaultValue": "se=2019-02-07T23%3A38%3A59Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=npb0TynFmkanip%2BCm9ILgzLz5Bio%2BykzRQCoFxy2qWM%3D", - "type": "string"}, "output-params-storage-key": {"defaultValue": "abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==", - "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", - "type": "string"}}, "variables": {"vnet-name": "[concat(parameters(\\\''deployment-prefix\\\''), - \\\''-vnet\\\'')]", "ddos-protection-plan-name": "[concat(parameters(\\\''deployment-prefix\\\''), - \\\''-ddos-plan\\\'')]", "ddos-protection-plan-id": {"id": "[resourceId(\\\''Microsoft.Network/ddosProtectionPlans\\\'', - variables(\\\''ddos-protection-plan-name\\\''))]"}}, "resources": [{"type": - "Microsoft.Network/routeTables", "apiVersion": "2017-10-01", "location": "[resourceGroup().location]", - "copy": {"count": "[length(parameters(\\\''user-defined-routes\\\''))]", "name": - "udrLoop"}, "name": "[concat(parameters(\\\''deployment-prefix\\\''), \\\''-\\\'', - parameters(\\\''user-defined-routes\\\'')[copyIndex()].name, \\\''-udr\\\'')]", - "tags": {"displayName": "[concat(parameters(\\\''deployment-prefix\\\''), \\\''-\\\'', - parameters(\\\''user-defined-routes\\\'')[copyIndex()].name, \\\''-udr\\\'')]"}}, - {"type": "Microsoft.Network/ddosProtectionPlans", "apiVersion": "2018-02-01", - "name": "[variables(\\\''ddos-protection-plan-name\\\'')]", "condition": "[equals(parameters(\\\''enable-ddos-protection\\\''), - bool(\\\''true\\\''))]", "location": "[resourceGroup().location]", "tags": {"displayName": - "[variables(\\\''ddos-protection-plan-name\\\'')]"}, "properties": {}}, {"apiVersion": - "2018-02-01", "type": "Microsoft.Network/virtualNetworks", "name": "[variables(\\\''vnet-name\\\'')]", - "location": "[resourceGroup().location]", "tags": {"displayName": "[variables(\\\''vnet-name\\\'')]"}, - "dependsOn": ["udrLoop"], "properties": {"addressSpace": {"addressPrefixes": - ["[parameters(\\\''vnet-address-prefix\\\'')]"]}, "ddosProtectionPlan": "[if(equals(parameters(\\\''enable-ddos-protection\\\''), - bool(\\\''false\\\'')), json(\\\''null\\\''), variables(\\\''ddos-protection-plan-id\\\''))]", - "dhcpOptions": {"dnsServers": ["[parameters(\\\''on-premises-primaryDC-IP\\\'')]"]}, - "copy": [{"name": "subnets", "count": "[length(parameters(\\\''subnets\\\''))]", - "input": {"name": "[parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')].name]", - "properties": {"addressPrefix": "[parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')][\\\''address-prefix\\\'']]", - "networkSecurityGroup": "[if(equals(parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')][\\\''network-security-group\\\''], - \\\''\\\''), json(\\\''null\\\''), json(concat(\\\''{\\\\"id\\\\": \\\\"\\\'', - resourceId(\\\''Microsoft.Network/networkSecurityGroups\\\'', concat(parameters(\\\''deployment-prefix\\\''), - \\\''-\\\'', parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')][\\\''network-security-group\\\''], - \\\''-nsg\\\'')), \\\''\\\\"}\\\'')))]", "routeTable": "[if(equals(parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')][\\\''user-defined-route\\\''], - \\\''\\\''), json(\\\''null\\\''), json(concat(\\\''{\\\\"id\\\\": \\\\"\\\'', - resourceId(\\\''Microsoft.Network/routeTables\\\'', concat(parameters(\\\''deployment-prefix\\\''), - \\\''-\\\'', parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')][\\\''user-defined-route\\\''], - \\\''-udr\\\'')), \\\''\\\\"}\\\'')))]"}}}]}}], "outputs": {"vnet-id": {"type": - "string", "value": "[resourceId(\\\''Microsoft.Network/virtualNetworks\\\'', - variables(\\\''vnet-name\\\''))]"}, "vnet-name": {"type": "string", "value": - "[variables(\\\''vnet-name\\\'')]"}, "vnet-resourceGroup": {"type": "string", - "value": "[resourceGroup().name]"}}}, "parameters": {"deployment-prefix": {"value": - "org-ssvcs"}, "vnet-address-prefix": {"value": "10.4.0.0/23"}, "subnets": {"value": - [{"name": "sharedsvcs", "address-prefix": "10.4.0.32/27", "network-security-group": - "sharedsvcs", "user-defined-route": "sharedsvcs", "service-endpoints": []}, - {"name": "dmz", "address-prefix": "10.4.0.0/27", "network-security-group": "dmz", - "user-defined-route": "", "service-endpoints": []}, {"name": "AppGateway", "address-prefix": - "10.4.0.64/27", "network-security-group": "", "user-defined-route": "", "service-endpoints": - []}, {"name": "AzureFirewallSubnet", "address-prefix": "10.4.1.0/25", "network-security-group": - "", "user-defined-route": "", "service-endpoints": []}, {"name": "GatewaySubnet", - "address-prefix": "10.4.0.128/27", "network-security-group": "", "user-defined-route": - "", "service-endpoints": []}]}, "user-defined-routes": {"value": [{"name": "sharedsvcs", - "routes": [{"name": "default", "properties": {"addressPrefix": "0.0.0.0/0", - "nextHopIpAddress": "10.4.1.4", "nextHopType": "VirtualAppliance"}}, {"name": - "to-on-premises", "properties": {"addressPrefix": "192.168.1.0/28", "nextHopType": - "VirtualNetworkGateway"}}]}]}, "enable-ddos-protection": {"value": false}, "on-premises-primaryDC-IP": - {"value": "192.168.1.4"}, "sas-key": {"value": "se=2019-02-07T23%3A38%3A59Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=npb0TynFmkanip%2BCm9ILgzLz5Bio%2BykzRQCoFxy2qWM%3D"}, - "output-params-storage-key": {"value": "abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="}, - "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['5689'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-shared-services-net?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-shared-services-net","name":"org-shared-services-ssvcs-deployment-shared-services-net","properties":{"templateHash":"12030725361860639293","parameters":{"deployment-prefix":{"type":"String","value":"org-ssvcs"},"vnet-address-prefix":{"type":"String","value":"10.4.0.0/23"},"subnets":{"type":"Array","value":[{"name":"sharedsvcs","address-prefix":"10.4.0.32/27","network-security-group":"sharedsvcs","user-defined-route":"sharedsvcs","service-endpoints":[]},{"name":"dmz","address-prefix":"10.4.0.0/27","network-security-group":"dmz","user-defined-route":"","service-endpoints":[]},{"name":"AppGateway","address-prefix":"10.4.0.64/27","network-security-group":"","user-defined-route":"","service-endpoints":[]},{"name":"AzureFirewallSubnet","address-prefix":"10.4.1.0/25","network-security-group":"","user-defined-route":"","service-endpoints":[]},{"name":"GatewaySubnet","address-prefix":"10.4.0.128/27","network-security-group":"","user-defined-route":"","service-endpoints":[]}]},"user-defined-routes":{"type":"Array","value":[{"name":"sharedsvcs","routes":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]}]},"enable-ddos-protection":{"type":"Bool","value":false},"on-premises-primaryDC-IP":{"type":"String","value":"192.168.1.4"},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A38%3A59Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=npb0TynFmkanip%2BCm9ILgzLz5Bio%2BykzRQCoFxy2qWM%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-07T07:39:17.5470094Z","duration":"PT0.8452767S","correlationId":"1a81251d-72af-40db-9b19-b6a579d839e9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centralus"]},{"resourceType":"routeTables","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/routeTables/org-ssvcs-sharedsvcs-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"org-ssvcs-sharedsvcs-udr"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-ssvcs-vnet"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-shared-services-net/operationStatuses/08586520817287759128?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['2904'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-shared-services-net/operationStatuses/08586520817287759128?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-shared-services-net?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-shared-services-net","name":"org-shared-services-ssvcs-deployment-shared-services-net","properties":{"templateHash":"12030725361860639293","parameters":{"deployment-prefix":{"type":"String","value":"org-ssvcs"},"vnet-address-prefix":{"type":"String","value":"10.4.0.0/23"},"subnets":{"type":"Array","value":[{"name":"sharedsvcs","address-prefix":"10.4.0.32/27","network-security-group":"sharedsvcs","user-defined-route":"sharedsvcs","service-endpoints":[]},{"name":"dmz","address-prefix":"10.4.0.0/27","network-security-group":"dmz","user-defined-route":"","service-endpoints":[]},{"name":"AppGateway","address-prefix":"10.4.0.64/27","network-security-group":"","user-defined-route":"","service-endpoints":[]},{"name":"AzureFirewallSubnet","address-prefix":"10.4.1.0/25","network-security-group":"","user-defined-route":"","service-endpoints":[]},{"name":"GatewaySubnet","address-prefix":"10.4.0.128/27","network-security-group":"","user-defined-route":"","service-endpoints":[]}]},"user-defined-routes":{"type":"Array","value":[{"name":"sharedsvcs","routes":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]}]},"enable-ddos-protection":{"type":"Bool","value":false},"on-premises-primaryDC-IP":{"type":"String","value":"192.168.1.4"},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A38%3A59Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=npb0TynFmkanip%2BCm9ILgzLz5Bio%2BykzRQCoFxy2qWM%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-07T07:39:44.0791046Z","duration":"PT27.3773719S","correlationId":"1a81251d-72af-40db-9b19-b6a579d839e9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centralus"]},{"resourceType":"routeTables","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/routeTables/org-ssvcs-sharedsvcs-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"org-ssvcs-sharedsvcs-udr"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-ssvcs-vnet"}],"outputs":{"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/ddosProtectionPlans/org-ssvcs-ddos-plan"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/routeTables/org-ssvcs-sharedsvcs-udr"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['3761'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:39:48 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Thu, 07 Feb 2019 07:39:49 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''b\\\\\\\''{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"}, - "vnet-name": { "value": "org-ssvcs-vnet"}, "vnet-resourceGroup": { "value": - "org-ssvcs-net-rg"}}\\\\\\\''\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['286'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Thu, 07 Feb 2019 07:39:48 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [KMzWOl7QhCIrSbZKqeeLJw==] - date: ['Thu, 07 Feb 2019 07:39:49 GMT'] - etag: ['"0x8D68CCF70DDD6BC"'] - last-modified: ['Thu, 07 Feb 2019 07:39:49 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_d_shared_services_network_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_d_shared_services_network_creation.yaml deleted file mode 100644 index f49e4dd61..000000000 --- a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_d_shared_services_network_creation.yaml +++ /dev/null @@ -1,778 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:39:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:39:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:39:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:39:57 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"}, - "vnet-name": { "value": "org-ssvcs-vnet"}, "vnet-resourceGroup": { "value": - "org-ssvcs-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['286'] - content-range: [bytes 0-285/286] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 07:39:59 GMT'] - etag: ['"0x8D68CCF70DDD6BC"'] - last-modified: ['Thu, 07 Feb 2019 07:39:49 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [KMzWOl7QhCIrSbZKqeeLJw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 04:50:57 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 07 Feb 2019 07:39:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: 'b''b\''b\\\''b\\\\\\\''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {"deployment-prefix": {"type": "string", - "metadata": {"description": "Deployment prefix. E.g. Organization-DeploymentType"}}, - "subscription-id": {"type": "string", "metadata": {"description": "Subscription - where to provision the Virtual Network Gateway"}}, "gateway-type": {"type": - "string", "metadata": {"description": "Specifies the gateway type. E.g. VPN, - ExpressRoute"}}, "gateway-sku": {"type": "string", "metadata": {"description": - "The Sku of the Gateway. This must be one of Basic, Standard or HighPerformance."}}, - "vpn-type": {"type": "string", "metadata": {"description": "Specifies the VPN - type"}}, "vnet-id": {"type": "string", "metadata": {"description": "Shared services - Virtual Network resource Id"}}, "vnet-resourceGroup": {"type": "string", "metadata": - {"description": "Shared services Virtual Network resource group name"}}, "enable-bgp": - {"type": "bool", "defaultValue": true, "metadata": {"description": "Value to - specify if BGP is enabled or not"}}, "asn": {"type": "int", "defaultValue": - 65815, "metadata": {"description": "ASN value"}}, "vnet-name": {"defaultValue": - "org-ssvcs-vnet", "type": "string"}, "sas-key": {"defaultValue": "se=2019-02-07T23%3A39%3A49Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=Rg3vr3W2scEjEiNP0oShMuD6hcbAn8d/VH7KKL4DhhE%3D", - "type": "string"}, "output-params-storage-key": {"defaultValue": "abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==", - "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", - "type": "string"}}, "variables": {"gateway-name": "[concat(parameters(\\\\\\\\\\\\\\\''deployment-prefix\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\''-gw\\\\\\\\\\\\\\\'')]", "gateway-pip-name": "[concat(parameters(\\\\\\\\\\\\\\\''deployment-prefix\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\''-gw-pip\\\\\\\\\\\\\\\'')]", "gateway-pip-resource-name": "[concat(\\\\\\\\\\\\\\\''Microsoft.Network/publicIpAddresses/\\\\\\\\\\\\\\\'',variables(\\\\\\\\\\\\\\\''gateway-pip-name\\\\\\\\\\\\\\\''))]", - "gateway-subnet-id": "[concat(parameters(\\\\\\\\\\\\\\\''vnet-id\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\''/subnets/GatewaySubnet\\\\\\\\\\\\\\\'')]", "gateway-pip-id": - "[resourceId(\\\\\\\\\\\\\\\''Microsoft.Network/publicIPAddresses\\\\\\\\\\\\\\\'', - variables(\\\\\\\\\\\\\\\''gateway-pip-name\\\\\\\\\\\\\\\''))]"}, "resources": - [{"apiVersion": "2017-05-10", "name": "nestedDeployVGW", "type": "Microsoft.Resources/deployments", - "resourceGroup": "[parameters(\\\\\\\\\\\\\\\''vnet-resourceGroup\\\\\\\\\\\\\\\'')]", - "subscriptionId": "[parameters(\\\\\\\\\\\\\\\''subscription-id\\\\\\\\\\\\\\\'')]", - "properties": {"mode": "Incremental", "template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": - [{"apiVersion": "2015-06-15", "type": "Microsoft.Network/publicIPAddresses", - "name": "[variables(\\\\\\\\\\\\\\\''gateway-pip-name\\\\\\\\\\\\\\\'')]", "location": - "[resourceGroup().location]", "tags": {"displayName": "[variables(\\\\\\\\\\\\\\\''gateway-pip-name\\\\\\\\\\\\\\\'')]"}, - "properties": {"publicIPAllocationMethod": "Dynamic"}}, {"name": "[variables(\\\\\\\\\\\\\\\''gateway-name\\\\\\\\\\\\\\\'')]", - "type": "Microsoft.Network/virtualNetworkGateways", "apiVersion": "2015-06-15", - "location": "[resourceGroup().location]", "tags": {"displayName": "[variables(\\\\\\\\\\\\\\\''gateway-name\\\\\\\\\\\\\\\'')]"}, - "dependsOn": ["[variables(\\\\\\\\\\\\\\\''gateway-pip-resource-name\\\\\\\\\\\\\\\'')]"], - "properties": {"ipConfigurations": [{"properties": {"privateIPAllocationMethod": - "Dynamic", "subnet": {"id": "[variables(\\\\\\\\\\\\\\\''gateway-subnet-id\\\\\\\\\\\\\\\'')]"}, - "publicIPAddress": {"id": "[variables(\\\\\\\\\\\\\\\''gateway-pip-id\\\\\\\\\\\\\\\'')]"}}, - "name": "vNetGatewayConfig"}], "enableBgp": "[parameters(\\\\\\\\\\\\\\\''enable-bgp\\\\\\\\\\\\\\\'')]", - "bgpSettings": {"asn": "[parameters(\\\\\\\\\\\\\\\''asn\\\\\\\\\\\\\\\'')]"}, - "sku": {"name": "[parameters(\\\\\\\\\\\\\\\''gateway-sku\\\\\\\\\\\\\\\'')]", - "tier": "[parameters(\\\\\\\\\\\\\\\''gateway-sku\\\\\\\\\\\\\\\'')]"}, "gatewayType": - "[parameters(\\\\\\\\\\\\\\\''gateway-type\\\\\\\\\\\\\\\'')]", "vpnType": "[parameters(\\\\\\\\\\\\\\\''vpn-type\\\\\\\\\\\\\\\'')]"}}]}}}], - "outputs": {"shared-services-gateway-name": {"type": "string", "value": "[variables(\\\\\\\\\\\\\\\''gateway-name\\\\\\\\\\\\\\\'')]"}, - "shared-services-gateway-id": {"type": "string", "value": "[resourceId(parameters(\\\\\\\\\\\\\\\''subscription-id\\\\\\\\\\\\\\\''), - parameters(\\\\\\\\\\\\\\\''vnet-resourceGroup\\\\\\\\\\\\\\\''), \\\\\\\\\\\\\\\''Microsoft.Network/virtualNetworkGateways\\\\\\\\\\\\\\\'', - variables(\\\\\\\\\\\\\\\''gateway-name\\\\\\\\\\\\\\\''))]"}}}, "parameters": - {"deployment-prefix": {"value": "org-ssvcs"}, "gateway-type": {"value": "vpn"}, - "vpn-type": {"value": "RouteBased"}, "subscription-id": {"value": "00000000-0000-0000-0000-000000000000"}, - "gateway-sku": {"value": "VpnGw1"}, "vnet-id": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"}, - "vnet-name": {"value": "org-ssvcs-vnet"}, "vnet-resourceGroup": {"value": "org-ssvcs-net-rg"}, - "sas-key": {"value": "se=2019-02-07T23%3A39%3A49Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=Rg3vr3W2scEjEiNP0oShMuD6hcbAn8d/VH7KKL4DhhE%3D"}, - "output-params-storage-key": {"value": "abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="}, - "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\\\\\\\''\\\''\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['4888'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw","name":"org-shared-services-ssvcs-deployment-vgw","properties":{"templateHash":"14757619386818613622","parameters":{"deployment-prefix":{"type":"String","value":"org-ssvcs"},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"gateway-type":{"type":"String","value":"vpn"},"gateway-sku":{"type":"String","value":"VpnGw1"},"vpn-type":{"type":"String","value":"RouteBased"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"enable-bgp":{"type":"Bool","value":true},"asn":{"type":"Int","value":65815},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A39%3A49Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=Rg3vr3W2scEjEiNP0oShMuD6hcbAn8d/VH7KKL4DhhE%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-07T07:40:01.8172555Z","duration":"PT0.4185377S","correlationId":"8b5547ea-90d7-4ae1-b389-5fc5f4b634b2","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw/operationStatuses/08586520816840789188?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['1693'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:40:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw/operationStatuses/08586520816840789188?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:40:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw/operationStatuses/08586520816840789188?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:41:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw/operationStatuses/08586520816840789188?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:41:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw/operationStatuses/08586520816840789188?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw/operationStatuses/08586520816840789188?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw","name":"org-shared-services-ssvcs-deployment-vgw","properties":{"templateHash":"14757619386818613622","parameters":{"deployment-prefix":{"type":"String","value":"org-ssvcs"},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"gateway-type":{"type":"String","value":"vpn"},"gateway-sku":{"type":"String","value":"VpnGw1"},"vpn-type":{"type":"String","value":"RouteBased"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"enable-bgp":{"type":"Bool","value":true},"asn":{"type":"Int","value":65815},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A39%3A49Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=Rg3vr3W2scEjEiNP0oShMuD6hcbAn8d/VH7KKL4DhhE%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-07T07:42:17.591564Z","duration":"PT2M16.1928462S","correlationId":"8b5547ea-90d7-4ae1-b389-5fc5f4b634b2","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[],"outputs":{"shared-services-gateway-name":{"type":"String","value":"org-ssvcs-gw"},"shared-services-gateway-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/org-ssvcs-gw"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/publicIPAddresses/org-ssvcs-gw-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/org-ssvcs-gw"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['2353'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:42:35 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Thu, 07 Feb 2019 07:42:37 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''b\\\\\\\''{"shared-services-gateway-name": { "value": "org-ssvcs-gw"}, - "shared-services-gateway-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/org-ssvcs-gw"}}\\\\\\\''\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['268'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Thu, 07 Feb 2019 07:42:36 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/vgw/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [1rOvp0a/Ji10mrvsRkz0Qw==] - date: ['Thu, 07 Feb 2019 07:42:37 GMT'] - etag: ['"0x8D68CCFD4C89D7F"'] - last-modified: ['Thu, 07 Feb 2019 07:42:37 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_d_shared_services_security_center_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_d_shared_services_security_center_creation.yaml new file mode 100644 index 000000000..1e9dfc30a --- /dev/null +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_d_shared_services_security_center_creation.yaml @@ -0,0 +1,444 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:54:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:54:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:54:06 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json + response: + body: + string: '{"la-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"}, + "la-workspace-resourceGroup": { "value": "cntso-ssvcs-diagnostics-rg"}, "la-workspace-name": + { "value": "cntso-ssvcs-la"}, "la-workspace-id": { "value": "d4856489-3d3d-4a90-939d-3d00f85d2cca"}, + "la-primary-shared-key": { "value": "GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '555' + content-range: + - bytes 0-554/555 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:54:06 GMT + etag: + - '"0x8D6CF7AC54B0169"' + last-modified: + - Fri, 03 May 2019 03:52:32 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - VSRHCa/+VUVqQZ3n66L9fQ== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:39:06 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg?api-version=2018-05-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 03:54:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: 'b''b\''b\\\''b\\\\\\\''{"location": "West US 2", "properties": {"template": + {"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"la-resourceId": {"type": "string", + "metadata": {"description": "Log Analytics workspace resource identifier"}}, + "auto-provisioning": {"type": "string", "allowedValues": ["On", "Off"], "defaultValue": + "On", "metadata": {"description": "Turn automatic deployment by ASC of the MMA + (OMS VM extension) on or off"}}, "la-workspace-resourceGroup": {"defaultValue": + "cntso-ssvcs-diagnostics-rg", "type": "string"}, "la-workspace-name": {"defaultValue": + "cntso-ssvcs-la", "type": "string"}, "la-workspace-id": {"defaultValue": "d4856489-3d3d-4a90-939d-3d00f85d2cca", + "type": "string"}, "la-primary-shared-key": {"defaultValue": "GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw==", + "type": "string"}, "sas-key": {"defaultValue": "se=2019-05-03T20%3A54%3A06Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=fGQYEyJ3o1ntRsU2i2KhWZ0wGHwZRtAoUPTC1cR3HD0%3D", + "type": "string"}, "output-params-storage-key": {"defaultValue": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==", + "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", + "type": "string"}}, "variables": {"pricing": "Standard"}, "resources": [{"type": + "Microsoft.Security/pricings", "apiVersion": "2017-08-01-preview", "name": "default", + "properties": {"pricingTier": "[variables(\\\\\\\\\\\\\\\''pricing\\\\\\\\\\\\\\\'')]"}}, + {"type": "Microsoft.Security/pricings", "apiVersion": "2018-06-01", "name": + "SqlServers", "dependsOn": ["[concat(\\\\\\\\\\\\\\\''Microsoft.Security/pricings/default\\\\\\\\\\\\\\\'')]"], + "properties": {"pricingTier": "[variables(\\\\\\\\\\\\\\\''pricing\\\\\\\\\\\\\\\'')]"}}, + {"type": "Microsoft.Security/pricings", "apiVersion": "2018-06-01", "name": + "AppServices", "dependsOn": ["[concat(\\\\\\\\\\\\\\\''Microsoft.Security/pricings/SqlServers\\\\\\\\\\\\\\\'')]"], + "properties": {"pricingTier": "[variables(\\\\\\\\\\\\\\\''pricing\\\\\\\\\\\\\\\'')]"}}, + {"type": "Microsoft.Security/pricings", "apiVersion": "2018-06-01", "name": + "VirtualMachines", "dependsOn": ["[concat(\\\\\\\\\\\\\\\''Microsoft.Security/pricings/AppServices\\\\\\\\\\\\\\\'')]"], + "properties": {"pricingTier": "[variables(\\\\\\\\\\\\\\\''pricing\\\\\\\\\\\\\\\'')]"}}, + {"type": "Microsoft.Security/pricings", "apiVersion": "2018-06-01", "name": + "StorageAccounts", "dependsOn": ["[concat(\\\\\\\\\\\\\\\''Microsoft.Security/pricings/VirtualMachines\\\\\\\\\\\\\\\'')]"], + "properties": {"pricingTier": "[variables(\\\\\\\\\\\\\\\''pricing\\\\\\\\\\\\\\\'')]"}}, + {"type": "Microsoft.Security/workspaceSettings", "apiVersion": "2017-08-01-preview", + "name": "default", "properties": {"workspaceId": "[parameters(\\\\\\\\\\\\\\\''la-resourceId\\\\\\\\\\\\\\\'')]", + "scope": "[subscription().id]"}}, {"type": "Microsoft.Security/autoProvisioningSettings", + "name": "default", "apiVersion": "2017-08-01-preview", "properties": {"autoProvision": + "[parameters(\\\\\\\\\\\\\\\''auto-provisioning\\\\\\\\\\\\\\\'')]"}}], "outputs": + {}}, "parameters": {"la-resourceId": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"}, + "la-workspace-resourceGroup": {"value": "cntso-ssvcs-diagnostics-rg"}, "la-workspace-name": + {"value": "cntso-ssvcs-la"}, "la-workspace-id": {"value": "d4856489-3d3d-4a90-939d-3d00f85d2cca"}, + "la-primary-shared-key": {"value": "GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="}, + "sas-key": {"value": "se=2019-05-03T20%3A54%3A06Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=fGQYEyJ3o1ntRsU2i2KhWZ0wGHwZRtAoUPTC1cR3HD0%3D"}, + "output-params-storage-key": {"value": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="}, + "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\\\\\\\''\\\''\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '3794' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-security-ce?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-security-ce","name":"cntso-shared-services-ssvcs-deployment-security-ce","location":"westus2","properties":{"templateHash":"10040636364039229467","parameters":{"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"auto-provisioning":{"type":"String","value":"On"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"la-workspace-id":{"type":"String","value":"d4856489-3d3d-4a90-939d-3d00f85d2cca"},"la-primary-shared-key":{"type":"String","value":"GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A54%3A06Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=fGQYEyJ3o1ntRsU2i2KhWZ0wGHwZRtAoUPTC1cR3HD0%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T03:54:08.7857635Z","duration":"PT0.0487661S","correlationId":"b07f6387-27f6-42ff-acf9-9225dc6c80f4","providers":[{"namespace":"Microsoft.Security","resourceTypes":[{"resourceType":"pricings","locations":[null]},{"resourceType":"workspaceSettings","locations":[null]},{"resourceType":"autoProvisioningSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/default","resourceType":"Microsoft.Security/pricings","resourceName":"default"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/SqlServers","resourceType":"Microsoft.Security/pricings","resourceName":"SqlServers"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/SqlServers","resourceType":"Microsoft.Security/pricings","resourceName":"SqlServers"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/AppServices","resourceType":"Microsoft.Security/pricings","resourceName":"AppServices"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/AppServices","resourceType":"Microsoft.Security/pricings","resourceName":"AppServices"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/VirtualMachines","resourceType":"Microsoft.Security/pricings","resourceName":"VirtualMachines"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/VirtualMachines","resourceType":"Microsoft.Security/pricings","resourceName":"VirtualMachines"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/StorageAccounts","resourceType":"Microsoft.Security/pricings","resourceName":"StorageAccounts"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-security-ce/operationStatuses/08586447512367406445?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '3344' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:54:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1194' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-security-ce/operationStatuses/08586447512367406445?api-version=2018-05-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:54:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-security-ce?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-security-ce","name":"cntso-shared-services-ssvcs-deployment-security-ce","location":"westus2","properties":{"templateHash":"10040636364039229467","parameters":{"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"auto-provisioning":{"type":"String","value":"On"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"la-workspace-id":{"type":"String","value":"d4856489-3d3d-4a90-939d-3d00f85d2cca"},"la-primary-shared-key":{"type":"String","value":"GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A54%3A06Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=fGQYEyJ3o1ntRsU2i2KhWZ0wGHwZRtAoUPTC1cR3HD0%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T03:54:11.9398184Z","duration":"PT3.202821S","correlationId":"b07f6387-27f6-42ff-acf9-9225dc6c80f4","providers":[{"namespace":"Microsoft.Security","resourceTypes":[{"resourceType":"pricings","locations":[null]},{"resourceType":"workspaceSettings","locations":[null]},{"resourceType":"autoProvisioningSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/default","resourceType":"Microsoft.Security/pricings","resourceName":"default"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/SqlServers","resourceType":"Microsoft.Security/pricings","resourceName":"SqlServers"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/SqlServers","resourceType":"Microsoft.Security/pricings","resourceName":"SqlServers"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/AppServices","resourceType":"Microsoft.Security/pricings","resourceName":"AppServices"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/AppServices","resourceType":"Microsoft.Security/pricings","resourceName":"AppServices"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/VirtualMachines","resourceType":"Microsoft.Security/pricings","resourceName":"VirtualMachines"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/VirtualMachines","resourceType":"Microsoft.Security/pricings","resourceName":"VirtualMachines"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/StorageAccounts","resourceType":"Microsoft.Security/pricings","resourceName":"StorageAccounts"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/autoProvisioningSettings/default"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/AppServices"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/default"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/SqlServers"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/StorageAccounts"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/VirtualMachines"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/workspaceSettings/default"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '4174' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:54:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:54:39 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 03:54:39 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Connection: + - keep-alive + Content-Length: + - '2' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 03:54:39 GMT + x-ms-version: + - '2018-03-28' + method: PUT + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/security-center/azureDeploy.parameters.output.json + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - mZFLkyvTelC5g8XnyQrpOw== + date: + - Fri, 03 May 2019 03:54:39 GMT + etag: + - '"0x8D6CF7B1120175F"' + last-modified: + - Fri, 03 May 2019 03:54:39 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created +version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_e_shared_services_network_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_e_shared_services_network_creation.yaml deleted file mode 100644 index 87ce30fbc..000000000 --- a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_e_shared_services_network_creation.yaml +++ /dev/null @@ -1,736 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:42:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:42:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:42:43 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"}, - "vnet-name": { "value": "org-ssvcs-vnet"}, "vnet-resourceGroup": { "value": - "org-ssvcs-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['286'] - content-range: [bytes 0-285/286] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 07:42:43 GMT'] - etag: ['"0x8D68CCF70DDD6BC"'] - last-modified: ['Thu, 07 Feb 2019 07:39:49 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [KMzWOl7QhCIrSbZKqeeLJw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 04:50:57 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:42:43 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/vgw/azureDeploy.parameters.output.json - response: - body: {string: '{"shared-services-gateway-name": { "value": "org-ssvcs-gw"}, "shared-services-gateway-id": - { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/org-ssvcs-gw"}}'} - headers: - accept-ranges: [bytes] - content-length: ['268'] - content-range: [bytes 0-267/268] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 07:42:44 GMT'] - etag: ['"0x8D68CCFD4C89D7F"'] - last-modified: ['Thu, 07 Feb 2019 07:42:37 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [1rOvp0a/Ji10mrvsRkz0Qw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 05:11:53 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 07 Feb 2019 07:42:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: 'b''b\''b\\\''b\\\\\\\''b\\\\\\\\\\\\\\\''{"properties": {"template": {"$schema": - "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {"on-premises-gateway-name": {"type": - "string", "metadata": {"description": "Specifies the On-premises gateway name"}}, - "on-premises-subscription-id": {"type": "string", "metadata": {"description": - "On-premises subscription id, this value is used to create a VPN connection - between the Shared services and on-premises"}}, "on-premises-vnet-rg": {"type": - "string", "metadata": {"description": "On-premises resource group that contains - the Virtual Network, this value is used to create a VPN connection between the - Shared services and on-premises"}}, "vpn-shared-key": {"type": "string", "metadata": - {"description": "Specifies a VPN shared key. The same value has to be specified - in On-premises and Azure"}}, "shared-services-gateway-id": {"type": "string", - "metadata": {"description": "Shared services Gateway Id"}}, "vnet-resourceGroup": - {"type": "string", "metadata": {"description": "Shared services Virtual Network - resource group name"}}, "subscription-id": {"type": "string", "metadata": {"description": - "Subscription where to provision the Virtual Network Gateway"}}, "enable-bgp": - {"type": "bool", "defaultValue": false, "metadata": {"description": "Value to - specify if BGP is enabled or not"}}, "deployment-name": {"type": "string", "metadata": - {"description": "Shared services deployment name"}}, "vnet-id": {"defaultValue": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet", - "type": "string"}, "vnet-name": {"defaultValue": "org-ssvcs-vnet", "type": "string"}, - "shared-services-gateway-name": {"defaultValue": "org-ssvcs-gw", "type": "string"}, - "sas-key": {"defaultValue": "se=2019-02-07T23%3A42%3A36Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=AIV5gPfsCOvzBJ5CGIr/bHL9gi%2Bm5AERWcmnLe2Htkg%3D", - "type": "string"}, "output-params-storage-key": {"defaultValue": "abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==", - "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", - "type": "string"}}, "variables": {"on-premises-gateway-resource-id": "[resourceId(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-subscription-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''), - parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-vnet-rg\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'') - ,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''Microsoft.Network/virtualNetworkGateways\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', - parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-gateway-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]"}, - "resources": [{"apiVersion": "2017-05-10", "name": "nestedDeployVGWConnection", - "type": "Microsoft.Resources/deployments", "resourceGroup": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''vnet-resourceGroup\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", - "subscriptionId": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''subscription-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", - "properties": {"mode": "Incremental", "template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": - [{"name": "[concat(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''deployment-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''-to-on-premises\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", - "type": "Microsoft.Network/connections", "apiVersion": "2017-10-01", "location": - "[resourceGroup().location]", "tags": {"displayName": "[concat(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''deployment-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''), - \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''-to-on-premises\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}, - "properties": {"virtualNetworkGateway1": {"id": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''shared-services-gateway-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}, - "virtualNetworkGateway2": {"id": "[variables(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-gateway-resource-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}, - "enableBgp": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''enable-bgp\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", - "connectionType": "VNet2VNet", "routingWeight": 3, "sharedKey": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''vpn-shared-key\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}}]}}}], - "outputs": {}}, "parameters": {"on-premises-subscription-id": {"value": "00000000-0000-0000-0000-000000000000"}, - "on-premises-vnet-rg": {"value": "org-onprem-net-rg"}, "on-premises-gateway-name": - {"value": "org-onprem-gw"}, "vpn-shared-key": {"value": "asodgfhjkaw4tu0w9vuijv0qu3409tu"}, - "subscription-id": {"value": "00000000-0000-0000-0000-000000000000"}, "deployment-name": - {"value": "ssvcs"}, "vnet-id": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"}, - "vnet-name": {"value": "org-ssvcs-vnet"}, "vnet-resourceGroup": {"value": "org-ssvcs-net-rg"}, - "shared-services-gateway-name": {"value": "org-ssvcs-gw"}, "shared-services-gateway-id": - {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/org-ssvcs-gw"}, - "sas-key": {"value": "se=2019-02-07T23%3A42%3A36Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=AIV5gPfsCOvzBJ5CGIr/bHL9gi%2Bm5AERWcmnLe2Htkg%3D"}, - "output-params-storage-key": {"value": "abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="}, - "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\\\\\\\\\\\\\\\''\\\\\\\''\\\''\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['4858'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw-connection?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw-connection","name":"org-shared-services-ssvcs-deployment-vgw-connection","properties":{"templateHash":"14211065204207278881","parameters":{"on-premises-gateway-name":{"type":"String","value":"org-onprem-gw"},"on-premises-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"on-premises-vnet-rg":{"type":"String","value":"org-onprem-net-rg"},"vpn-shared-key":{"type":"String","value":"asodgfhjkaw4tu0w9vuijv0qu3409tu"},"shared-services-gateway-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/org-ssvcs-gw"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"enable-bgp":{"type":"Bool","value":false},"deployment-name":{"type":"String","value":"ssvcs"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"shared-services-gateway-name":{"type":"String","value":"org-ssvcs-gw"},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A42%3A36Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=AIV5gPfsCOvzBJ5CGIr/bHL9gi%2Bm5AERWcmnLe2Htkg%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-07T07:42:47.6736268Z","duration":"PT0.3703013S","correlationId":"bca1382a-12a6-462c-97f6-9ca33eec2f97","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw-connection/operationStatuses/08586520815181743188?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['2136'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:42:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw-connection/operationStatuses/08586520815181743188?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw-connection/operationStatuses/08586520815181743188?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw-connection?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-vgw-connection","name":"org-shared-services-ssvcs-deployment-vgw-connection","properties":{"templateHash":"14211065204207278881","parameters":{"on-premises-gateway-name":{"type":"String","value":"org-onprem-gw"},"on-premises-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"on-premises-vnet-rg":{"type":"String","value":"org-onprem-net-rg"},"vpn-shared-key":{"type":"String","value":"asodgfhjkaw4tu0w9vuijv0qu3409tu"},"shared-services-gateway-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/org-ssvcs-gw"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"enable-bgp":{"type":"Bool","value":false},"deployment-name":{"type":"String","value":"ssvcs"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"shared-services-gateway-name":{"type":"String","value":"org-ssvcs-gw"},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A42%3A36Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=AIV5gPfsCOvzBJ5CGIr/bHL9gi%2Bm5AERWcmnLe2Htkg%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-07T07:43:28.4532504Z","duration":"PT41.1499249S","correlationId":"bca1382a-12a6-462c-97f6-9ca33eec2f97","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/connections/ssvcs-to-on-premises"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['2331'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:43:49 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Thu, 07 Feb 2019 07:43:50 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Thu, 07 Feb 2019 07:43:49 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/vgw-connection/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Thu, 07 Feb 2019 07:43:50 GMT'] - etag: ['"0x8D68CD000AEC2CD"'] - last-modified: ['Thu, 07 Feb 2019 07:43:51 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_e_shared_services_nsg_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_e_shared_services_nsg_creation.yaml new file mode 100644 index 000000000..3fd42cee0 --- /dev/null +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_e_shared_services_nsg_creation.yaml @@ -0,0 +1,461 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:54:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:54:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:54:40 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json + response: + body: + string: '{"la-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"}, + "la-workspace-resourceGroup": { "value": "cntso-ssvcs-diagnostics-rg"}, "la-workspace-name": + { "value": "cntso-ssvcs-la"}, "la-workspace-id": { "value": "d4856489-3d3d-4a90-939d-3d00f85d2cca"}, + "la-primary-shared-key": { "value": "GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '555' + content-range: + - bytes 0-554/555 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:54:40 GMT + etag: + - '"0x8D6CF7AC54B0169"' + last-modified: + - Fri, 03 May 2019 03:52:32 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - VSRHCa/+VUVqQZ3n66L9fQ== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:39:06 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:54:40 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/diagnostic-storage-account/azureDeploy.parameters.output.json + response: + body: + string: '{"storageAccount-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"}, + "storageAccount-name": { "value": "cntsowus2shrdsvcs01diag"}, "storageAccount-sasToken": + { "value": "sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"}, + "storageAccount-accessKey": { "value": "tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '590' + content-range: + - bytes 0-589/590 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:54:39 GMT + etag: + - '"0x8D6CF7AB158698E"' + last-modified: + - Fri, 03 May 2019 03:51:58 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - UzcGkQ4IgSSQOnpmSwhZwg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:38:01 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg?api-version=2018-05-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 03:54:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: '!!! The request body has been omitted from the recording because its size + 21402 is larger than 10KB. !!!' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '17632' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-nsg?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-nsg","name":"cntso-shared-services-ssvcs-deployment-nsg","properties":{"templateHash":"9933220388726294261","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"network-security-groups":{"type":"Array","value":[{"name":"sharedsvcs","rules":[{"name":"allow-tcp-between-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","42","88","636","3268","3269","445","25","135","5722","464","9389","139","53","49152-65535"],"direction":"Inbound","priority":100,"protocol":"Tcp","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[{"name":"dc"}]}},{"name":"allow-udp-between-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","88","445","123","464","138","137","53","49152-65535"],"destinationApplicationSecurityGroups":[{"name":"dc"}],"direction":"Inbound","priority":110,"protocol":"Udp","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"sourceApplicationSecurityGroups":[{"name":"dc"}]}},{"name":"allow-tcp-ad","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","42","88","636","3268","3269","445","25","135","5722","464","9389","139","53","49152-65535"],"direction":"Inbound","priority":120,"protocol":"Tcp","sourceAddressPrefix":"192.168.1.4","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-udp-ad","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","88","445","123","464","138","137","53","49152-65535"],"direction":"Inbound","priority":130,"protocol":"Udp","sourceAddressPrefix":"192.168.1.4","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-rdp-into-dc","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"3389","destinationPortRanges":[],"direction":"Inbound","priority":140,"protocol":"TCP","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[{"name":"jb"}]}},{"name":"allow-rdp-ssh-into-jb","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["3389","22"],"destinationPortRange":"","direction":"Inbound","priority":150,"protocol":"TCP","sourceAddressPrefix":"192.168.1.0/28","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"jb"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-tcp-vnet-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["389","42","88","636","3268","3269","445","25","135","5722","464","9389","139","53","49152-65535"],"destinationPortRange":"","direction":"Inbound","priority":160,"protocol":"TCP","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-udp-vnet-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["389","88","445","123","464","138","137","53","49152-65535"],"destinationPortRange":"","direction":"Inbound","priority":170,"protocol":"UDP","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-http-and-ssh-into-palo-alto","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["443","22"],"destinationPortRange":"","direction":"Inbound","priority":180,"protocol":"TCP","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"mgmt"}],"sourceApplicationSecurityGroups":[{"name":"jb"}]}},{"name":"deny-vnet","properties":{"access":"Deny","destinationAddressPrefix":"VirtualNetwork","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":4096,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}},{"name":"allow-vnet","properties":{"access":"Allow","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Outbound","priority":100,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}}]},{"name":"trust","rules":[{"name":"allow-vnet-inbound","properties":{"access":"Allow","destinationAddressPrefix":"VirtualNetwork","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":100,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}},{"name":"allow-loadbalancer","properties":{"access":"Allow","destinationAddressPrefix":"VirtualNetwork","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":110,"protocol":"*","sourceAddressPrefix":"AzureLoadBalancer","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}},{"name":"allow-internet","properties":{"access":"Allow","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":120,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}},{"name":"allow-vnet-outbound","properties":{"access":"Allow","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Outbound","priority":100,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}}]},{"name":"dmz","rules":[{"name":"allow-vnet","properties":{"access":"Allow","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":100,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}}]}]},"application-security-groups":{"type":"Array","value":[{"name":"dc"},{"name":"jb"},{"name":"mgmt"},{"name":"trust"},{"name":"untrust"}]},"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"logs-retention-in-days":{"type":"Int","value":365},"deployment-name":{"type":"String","value":"ssvcs"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"la-workspace-id":{"type":"String","value":"d4856489-3d3d-4a90-939d-3d00f85d2cca"},"la-primary-shared-key":{"type":"String","value":"GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A54%3A39Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=BYq6eydPdMyEfd0H/Mwf6PiwHK/4T4d/oZNLsYEoSRk%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T03:54:43.4710931Z","duration":"PT0.7290577S","correlationId":"05d65225-ee71-48c1-82c5-377fc8b2ab19","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"applicationSecurityGroups","locations":["westus2"]},{"resourceType":"networkSecurityGroups","locations":["westus2"]},{"resourceType":"networkSecurityGroups/providers/diagnosticSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-dc-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-dc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-jb-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-jb-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-mgmt-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-mgmt-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-trust-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-trust-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-untrust-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-untrust-asg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-sharedsvcs-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"cntso-ssvcs-sharedsvcs-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-sharedsvcs-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"cntso-ssvcs-sharedsvcs-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-sharedsvcs-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"cntso-ssvcs-sharedsvcs-nsg/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-dc-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-dc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-jb-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-jb-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-mgmt-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-mgmt-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-trust-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-trust-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-untrust-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-untrust-asg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-trust-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"cntso-ssvcs-trust-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-trust-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"cntso-ssvcs-trust-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-trust-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"cntso-ssvcs-trust-nsg/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-dc-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-dc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-jb-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-jb-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-mgmt-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-mgmt-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-trust-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-trust-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-untrust-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-untrust-asg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-dmz-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"cntso-ssvcs-dmz-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-dmz-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"cntso-ssvcs-dmz-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-dmz-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"cntso-ssvcs-dmz-nsg/Microsoft.Insights/service"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-nsg/operationStatuses/08586447512027356454?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '17384' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:54:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-nsg/operationStatuses/08586447512027356454?api-version=2018-05-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:55:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-nsg?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-nsg","name":"cntso-shared-services-ssvcs-deployment-nsg","properties":{"templateHash":"9933220388726294261","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"network-security-groups":{"type":"Array","value":[{"name":"sharedsvcs","rules":[{"name":"allow-tcp-between-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","42","88","636","3268","3269","445","25","135","5722","464","9389","139","53","49152-65535"],"direction":"Inbound","priority":100,"protocol":"Tcp","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[{"name":"dc"}]}},{"name":"allow-udp-between-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","88","445","123","464","138","137","53","49152-65535"],"destinationApplicationSecurityGroups":[{"name":"dc"}],"direction":"Inbound","priority":110,"protocol":"Udp","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"sourceApplicationSecurityGroups":[{"name":"dc"}]}},{"name":"allow-tcp-ad","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","42","88","636","3268","3269","445","25","135","5722","464","9389","139","53","49152-65535"],"direction":"Inbound","priority":120,"protocol":"Tcp","sourceAddressPrefix":"192.168.1.4","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-udp-ad","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"","destinationPortRanges":["389","88","445","123","464","138","137","53","49152-65535"],"direction":"Inbound","priority":130,"protocol":"Udp","sourceAddressPrefix":"192.168.1.4","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-rdp-into-dc","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRange":"3389","destinationPortRanges":[],"direction":"Inbound","priority":140,"protocol":"TCP","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[{"name":"jb"}]}},{"name":"allow-rdp-ssh-into-jb","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["3389","22"],"destinationPortRange":"","direction":"Inbound","priority":150,"protocol":"TCP","sourceAddressPrefix":"192.168.1.0/28","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"jb"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-tcp-vnet-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["389","42","88","636","3268","3269","445","25","135","5722","464","9389","139","53","49152-65535"],"destinationPortRange":"","direction":"Inbound","priority":160,"protocol":"TCP","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-udp-vnet-adds","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["389","88","445","123","464","138","137","53","49152-65535"],"destinationPortRange":"","direction":"Inbound","priority":170,"protocol":"UDP","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"dc"}],"sourceApplicationSecurityGroups":[]}},{"name":"allow-http-and-ssh-into-palo-alto","properties":{"access":"Allow","destinationAddressPrefixes":[],"destinationAddressPrefix":"","destinationPortRanges":["443","22"],"destinationPortRange":"","direction":"Inbound","priority":180,"protocol":"TCP","sourceAddressPrefix":"","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[{"name":"mgmt"}],"sourceApplicationSecurityGroups":[{"name":"jb"}]}},{"name":"deny-vnet","properties":{"access":"Deny","destinationAddressPrefix":"VirtualNetwork","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":4096,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}},{"name":"allow-vnet","properties":{"access":"Allow","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Outbound","priority":100,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}}]},{"name":"trust","rules":[{"name":"allow-vnet-inbound","properties":{"access":"Allow","destinationAddressPrefix":"VirtualNetwork","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":100,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}},{"name":"allow-loadbalancer","properties":{"access":"Allow","destinationAddressPrefix":"VirtualNetwork","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":110,"protocol":"*","sourceAddressPrefix":"AzureLoadBalancer","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}},{"name":"allow-internet","properties":{"access":"Allow","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":120,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}},{"name":"allow-vnet-outbound","properties":{"access":"Allow","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Outbound","priority":100,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}}]},{"name":"dmz","rules":[{"name":"allow-vnet","properties":{"access":"Allow","destinationAddressPrefix":"*","destinationAddressPrefixes":[],"destinationPortRange":"*","destinationPortRanges":[],"direction":"Inbound","priority":100,"protocol":"*","sourceAddressPrefix":"VirtualNetwork","sourcePortRange":"*","sourcePortRanges":[],"destinationApplicationSecurityGroups":[],"sourceApplicationSecurityGroups":[]}}]}]},"application-security-groups":{"type":"Array","value":[{"name":"dc"},{"name":"jb"},{"name":"mgmt"},{"name":"trust"},{"name":"untrust"}]},"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"logs-retention-in-days":{"type":"Int","value":365},"deployment-name":{"type":"String","value":"ssvcs"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"la-workspace-id":{"type":"String","value":"d4856489-3d3d-4a90-939d-3d00f85d2cca"},"la-primary-shared-key":{"type":"String","value":"GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A54%3A39Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=BYq6eydPdMyEfd0H/Mwf6PiwHK/4T4d/oZNLsYEoSRk%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T03:54:48.7361376Z","duration":"PT5.9941022S","correlationId":"05d65225-ee71-48c1-82c5-377fc8b2ab19","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"applicationSecurityGroups","locations":["westus2"]},{"resourceType":"networkSecurityGroups","locations":["westus2"]},{"resourceType":"networkSecurityGroups/providers/diagnosticSettings","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-dc-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-dc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-jb-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-jb-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-mgmt-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-mgmt-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-trust-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-trust-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-untrust-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-untrust-asg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-sharedsvcs-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"cntso-ssvcs-sharedsvcs-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-sharedsvcs-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"cntso-ssvcs-sharedsvcs-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-sharedsvcs-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"cntso-ssvcs-sharedsvcs-nsg/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-dc-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-dc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-jb-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-jb-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-mgmt-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-mgmt-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-trust-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-trust-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-untrust-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-untrust-asg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-trust-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"cntso-ssvcs-trust-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-trust-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"cntso-ssvcs-trust-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-trust-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"cntso-ssvcs-trust-nsg/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-dc-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-dc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-jb-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-jb-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-mgmt-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-mgmt-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-trust-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-trust-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-untrust-asg","resourceType":"Microsoft.Network/applicationSecurityGroups","resourceName":"cntso-ssvcs-untrust-asg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-dmz-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"cntso-ssvcs-dmz-nsg"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-dmz-nsg","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"cntso-ssvcs-dmz-nsg"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-dmz-nsg/providers/Microsoft.Insights/diagnosticSettings/service","resourceType":"Microsoft.Network/networkSecurityGroups/providers/diagnosticSettings","resourceName":"cntso-ssvcs-dmz-nsg/Microsoft.Insights/service"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-dc-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-jb-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-mgmt-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-trust-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/applicationSecurityGroups/cntso-ssvcs-untrust-asg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-dmz-nsg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-dmz-nsg/providers/Microsoft.Insights/diagnosticSettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-sharedsvcs-nsg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-sharedsvcs-nsg/providers/Microsoft.Insights/diagnosticSettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-trust-nsg"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/networkSecurityGroups/cntso-ssvcs-trust-nsg/providers/Microsoft.Insights/diagnosticSettings/service"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '19664' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:55:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:55:13 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 03:55:13 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Connection: + - keep-alive + Content-Length: + - '2' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 03:55:14 GMT + x-ms-version: + - '2018-03-28' + method: PUT + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/nsg/azureDeploy.parameters.output.json + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - mZFLkyvTelC5g8XnyQrpOw== + date: + - Fri, 03 May 2019 03:55:13 GMT + etag: + - '"0x8D6CF7B25C30C1F"' + last-modified: + - Fri, 03 May 2019 03:55:14 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created +version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_f_shared_services_network_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_f_shared_services_network_creation.yaml index 930a2a3f2..eb53d5bba 100644 --- a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_f_shared_services_network_creation.yaml +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_f_shared_services_network_creation.yaml @@ -2,715 +2,475 @@ interactions: - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:43:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:55:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:43:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:43:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:44:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:55:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK - request: body: null headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:43:59 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:55:14 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/nsg/azureDeploy.parameters.output.json response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"}, - "vnet-name": { "value": "org-ssvcs-vnet"}, "vnet-resourceGroup": { "value": - "org-ssvcs-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['286'] - content-range: [bytes 0-285/286] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 07:44:01 GMT'] - etag: ['"0x8D68CCF70DDD6BC"'] - last-modified: ['Thu, 07 Feb 2019 07:39:49 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [KMzWOl7QhCIrSbZKqeeLJw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 04:50:57 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} + body: + string: '{}' + headers: + accept-ranges: + - bytes + content-length: + - '2' + content-range: + - bytes 0-1/2 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:55:14 GMT + etag: + - '"0x8D6CF7B25C30C1F"' + last-modified: + - Fri, 03 May 2019 03:55:14 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - mZFLkyvTelC5g8XnyQrpOw== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:41:42 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg?api-version=2018-05-01 response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 07 Feb 2019 07:44:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 03:55:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content - request: - body: 'b''b\''b\\\''b\\\\\\\''b\\\\\\\\\\\\\\\''{"properties": {"template": {"$schema": - "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {"on-premises-gateway-name": {"type": - "string", "metadata": {"description": "Specifies the On-premises gateway name"}}, - "on-premises-subscription-id": {"type": "string", "metadata": {"description": - "On-premises subscription id, this value is used to create a VPN connection - between the Shared services and on-premises"}}, "on-premises-vnet-rg": {"type": - "string", "metadata": {"description": "On-premises resource group that contains - the Virtual Network, this value is used to create a VPN connection between the - Shared services and on-premises"}}, "on-premises-location": {"type": "string", - "metadata": {"description": "Location of On-premises resource group that contains - the Virtual Network Gateway, this value is used to create a VPN connection between - the Shared services and on-premises"}}, "vpn-shared-key": {"type": "string", - "metadata": {"description": "Specifies a VPN shared key. The same value has - to be specified in On-premises and Azure"}}, "shared-services-gateway-name": - {"type": "string", "metadata": {"description": "Specifies the Shared services - gateway name"}}, "shared-services-vnet-resourceGroup": {"type": "string", "metadata": - {"description": "Shared services Virtual Network resource group name"}}, "shared-services-subscription-id": - {"type": "string", "metadata": {"description": "Shared services Subscription - Id"}}, "enable-bgp": {"type": "bool", "defaultValue": false, "metadata": {"description": - "Value to specify if BGP is enabled or not"}}, "deployment-name": {"type": "string", - "metadata": {"description": "Shared services deployment name"}}, "vnet-id": - {"defaultValue": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet", - "type": "string"}, "vnet-name": {"defaultValue": "org-ssvcs-vnet", "type": "string"}, - "vnet-resourceGroup": {"defaultValue": "org-ssvcs-net-rg", "type": "string"}, - "sas-key": {"defaultValue": "se=2019-02-07T23%3A43%3A50Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=eVjfYFcGS/1/DnoIhyqlUVdxPaued9omnYdarsa4EyU%3D", - "type": "string"}, "output-params-storage-key": {"defaultValue": "abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==", + body: 'b''b\''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"deployment-prefix": {"type": "string", + "metadata": {"description": "Deployment prefix. E.g. Organization-DeploymentType"}}, + "vnet-address-prefix": {"type": "string", "metadata": {"description": ""}}, + "subnets": {"type": "array", "metadata": {"description": ""}}, "user-defined-routes": + {"type": "array", "metadata": {"description": ""}}, "enable-ddos-protection": + {"type": "bool", "defaultValue": true, "metadata": {"description": "Determines + whether or not DDoS Protection is enabled in the VNET"}}, "on-premises-primaryDC-IP": + {"type": "string", "metadata": {"description": "On-premises domain IP"}}, "sas-key": + {"defaultValue": "se=2019-05-03T20%3A55%3A14Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=jRc8FcA1xd3X%2BMMcML2bpoGC8TGRH5bt1vzn5A0sqCo%3D", + "type": "string"}, "output-params-storage-key": {"defaultValue": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==", "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", - "type": "string"}}, "variables": {"on-premises-gateway-resource-id": "[resourceId(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-subscription-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''), - parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-vnet-rg\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'') - ,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''Microsoft.Network/virtualNetworkGateways\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', - parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-gateway-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]", - "shared-services-gateway-resource-id": "[resourceId(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''shared-services-subscription-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''), - parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''shared-services-vnet-resourceGroup\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'') - ,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''Microsoft.Network/virtualNetworkGateways\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', - parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''shared-services-gateway-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]"}, - "resources": [{"apiVersion": "2017-05-10", "name": "nestedDeployVGWConnection", - "type": "Microsoft.Resources/deployments", "resourceGroup": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-vnet-rg\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", - "subscriptionId": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-subscription-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", - "properties": {"mode": "Incremental", "template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": - [{"name": "[concat(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-to-\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', - parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''deployment-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]", - "type": "Microsoft.Network/connections", "apiVersion": "2017-10-01", "location": - "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-location\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", - "tags": {"displayName": "[concat(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-to-\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', - parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''deployment-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]"}, - "properties": {"virtualNetworkGateway1": {"id": "[variables(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''on-premises-gateway-resource-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}, - "virtualNetworkGateway2": {"id": "[variables(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''shared-services-gateway-resource-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}, - "enableBgp": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''enable-bgp\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", - "connectionType": "VNet2VNet", "routingWeight": 3, "sharedKey": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''vpn-shared-key\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}}]}}}], - "outputs": {}}, "parameters": {"on-premises-subscription-id": {"value": "00000000-0000-0000-0000-000000000000"}, - "on-premises-vnet-rg": {"value": "org-onprem-net-rg"}, "on-premises-gateway-name": - {"value": "org-onprem-gw"}, "vpn-shared-key": {"value": "asodgfhjkaw4tu0w9vuijv0qu3409tu"}, - "shared-services-subscription-id": {"value": "00000000-0000-0000-0000-000000000000"}, - "shared-services-gateway-name": {"value": "org-ssvcs-gw"}, "shared-services-vnet-resourceGroup": - {"value": "org-ssvcs-net-rg"}, "deployment-name": {"value": "ssvcs"}, "on-premises-location": - {"value": "Central US"}, "vnet-id": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"}, - "vnet-name": {"value": "org-ssvcs-vnet"}, "vnet-resourceGroup": {"value": "org-ssvcs-net-rg"}, - "sas-key": {"value": "se=2019-02-07T23%3A43%3A50Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=eVjfYFcGS/1/DnoIhyqlUVdxPaued9omnYdarsa4EyU%3D"}, - "output-params-storage-key": {"value": "abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="}, - "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\\\\\\\\\\\\\\\''\\\\\\\''\\\''\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['5326'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] + "type": "string"}}, "variables": {"vnet-name": "[concat(parameters(\\\''deployment-prefix\\\''), + \\\''-vnet\\\'')]", "ddos-protection-plan-name": "[concat(parameters(\\\''deployment-prefix\\\''), + \\\''-ddos-plan\\\'')]", "ddos-protection-plan-id": {"id": "[resourceId(\\\''Microsoft.Network/ddosProtectionPlans\\\'', + variables(\\\''ddos-protection-plan-name\\\''))]"}}, "resources": [{"type": + "Microsoft.Network/routeTables", "apiVersion": "2017-10-01", "location": "[resourceGroup().location]", + "copy": {"count": "[length(parameters(\\\''user-defined-routes\\\''))]", "name": + "udrLoop"}, "name": "[concat(parameters(\\\''deployment-prefix\\\''), \\\''-\\\'', + parameters(\\\''user-defined-routes\\\'')[copyIndex()].name, \\\''-udr\\\'')]", + "tags": {"displayName": "[concat(parameters(\\\''deployment-prefix\\\''), \\\''-\\\'', + parameters(\\\''user-defined-routes\\\'')[copyIndex()].name, \\\''-udr\\\'')]"}}, + {"type": "Microsoft.Network/ddosProtectionPlans", "apiVersion": "2018-02-01", + "name": "[variables(\\\''ddos-protection-plan-name\\\'')]", "condition": "[equals(parameters(\\\''enable-ddos-protection\\\''), + bool(\\\''true\\\''))]", "location": "[resourceGroup().location]", "tags": {"displayName": + "[variables(\\\''ddos-protection-plan-name\\\'')]"}, "properties": {}}, {"apiVersion": + "2018-02-01", "type": "Microsoft.Network/virtualNetworks", "name": "[variables(\\\''vnet-name\\\'')]", + "location": "[resourceGroup().location]", "tags": {"displayName": "[variables(\\\''vnet-name\\\'')]"}, + "dependsOn": ["udrLoop"], "properties": {"addressSpace": {"addressPrefixes": + ["[parameters(\\\''vnet-address-prefix\\\'')]"]}, "ddosProtectionPlan": "[if(equals(parameters(\\\''enable-ddos-protection\\\''), + bool(\\\''false\\\'')), json(\\\''null\\\''), variables(\\\''ddos-protection-plan-id\\\''))]", + "dhcpOptions": {"dnsServers": ["[parameters(\\\''on-premises-primaryDC-IP\\\'')]"]}, + "copy": [{"name": "subnets", "count": "[length(parameters(\\\''subnets\\\''))]", + "input": {"name": "[parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')].name]", + "properties": {"addressPrefix": "[parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')][\\\''address-prefix\\\'']]", + "networkSecurityGroup": "[if(equals(parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')][\\\''network-security-group\\\''], + \\\''\\\''), json(\\\''null\\\''), json(concat(\\\''{\\\\"id\\\\": \\\\"\\\'', + resourceId(\\\''Microsoft.Network/networkSecurityGroups\\\'', concat(parameters(\\\''deployment-prefix\\\''), + \\\''-\\\'', parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')][\\\''network-security-group\\\''], + \\\''-nsg\\\'')), \\\''\\\\"}\\\'')))]", "routeTable": "[if(equals(parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')][\\\''user-defined-route\\\''], + \\\''\\\''), json(\\\''null\\\''), json(concat(\\\''{\\\\"id\\\\": \\\\"\\\'', + resourceId(\\\''Microsoft.Network/routeTables\\\'', concat(parameters(\\\''deployment-prefix\\\''), + \\\''-\\\'', parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')][\\\''user-defined-route\\\''], + \\\''-udr\\\'')), \\\''\\\\"}\\\'')))]", "serviceEndpoints": "[if(equals(length(parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')][\\\''service-endpoints\\\'']), + 0), json(\\\''null\\\''), parameters(\\\''subnets\\\'')[copyIndex(\\\''subnets\\\'')][\\\''service-endpoints\\\''])]"}}}]}}], + "outputs": {"vnet-id": {"type": "string", "value": "[resourceId(\\\''Microsoft.Network/virtualNetworks\\\'', + variables(\\\''vnet-name\\\''))]"}, "vnet-name": {"type": "string", "value": + "[variables(\\\''vnet-name\\\'')]"}, "vnet-resourceGroup": {"type": "string", + "value": "[resourceGroup().name]"}}}, "parameters": {"deployment-prefix": {"value": + "cntso-ssvcs"}, "vnet-address-prefix": {"value": "10.4.0.0/23"}, "subnets": + {"value": [{"name": "sharedsvcs", "address-prefix": "10.4.0.32/27", "network-security-group": + "sharedsvcs", "user-defined-route": "sharedsvcs", "service-endpoints": [{"service": + "Microsoft.EventHub"}, {"service": "Microsoft.Sql"}, {"service": "Microsoft.KeyVault"}, + {"service": "Microsoft.Storage"}]}, {"name": "trust", "address-prefix": "10.4.0.96/28", + "network-security-group": "trust", "user-defined-route": "", "service-endpoints": + [{"service": "Microsoft.EventHub"}, {"service": "Microsoft.Sql"}, {"service": + "Microsoft.KeyVault"}, {"service": "Microsoft.Storage"}]}, {"name": "dmz", "address-prefix": + "10.4.0.0/27", "network-security-group": "dmz", "user-defined-route": "", "service-endpoints": + [{"service": "Microsoft.EventHub"}, {"service": "Microsoft.Sql"}, {"service": + "Microsoft.KeyVault"}, {"service": "Microsoft.Storage"}]}, {"name": "AppGateway", + "address-prefix": "10.4.0.64/27", "network-security-group": "", "user-defined-route": + "", "service-endpoints": []}, {"name": "AzureFirewallSubnet", "address-prefix": + "10.4.1.0/25", "network-security-group": "", "user-defined-route": "", "service-endpoints": + []}, {"name": "GatewaySubnet", "address-prefix": "10.4.0.128/27", "network-security-group": + "", "user-defined-route": "", "service-endpoints": []}]}, "user-defined-routes": + {"value": [{"name": "sharedsvcs", "routes": [{"name": "default", "properties": + {"addressPrefix": "0.0.0.0/0", "nextHopIpAddress": "10.4.1.4", "nextHopType": + "VirtualAppliance"}}, {"name": "to-on-premises", "properties": {"addressPrefix": + "192.168.1.0/28", "nextHopType": "VirtualNetworkGateway"}}]}]}, "enable-ddos-protection": + {"value": false}, "on-premises-primaryDC-IP": {"value": "192.168.1.4"}, "sas-key": + {"value": "se=2019-05-03T20%3A55%3A14Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=jRc8FcA1xd3X%2BMMcML2bpoGC8TGRH5bt1vzn5A0sqCo%3D"}, + "output-params-storage-key": {"value": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="}, + "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '6420' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-onprem-vgw-connection?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-onprem-vgw-connection","name":"org-shared-services-ssvcs-deployment-onprem-vgw-connection","properties":{"templateHash":"11308665078084669754","parameters":{"on-premises-gateway-name":{"type":"String","value":"org-onprem-gw"},"on-premises-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"on-premises-vnet-rg":{"type":"String","value":"org-onprem-net-rg"},"on-premises-location":{"type":"String","value":"Central - US"},"vpn-shared-key":{"type":"String","value":"asodgfhjkaw4tu0w9vuijv0qu3409tu"},"shared-services-gateway-name":{"type":"String","value":"org-ssvcs-gw"},"shared-services-vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"enable-bgp":{"type":"Bool","value":false},"deployment-name":{"type":"String","value":"ssvcs"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A43%3A50Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=eVjfYFcGS/1/DnoIhyqlUVdxPaued9omnYdarsa4EyU%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-07T07:44:08.4779579Z","duration":"PT0.7250896S","correlationId":"b2f80a4c-53c8-4531-89f9-1d9be56acd8d","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-onprem-vgw-connection/operationStatuses/08586520814377359007?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['2098'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:44:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-onprem-vgw-connection/operationStatuses/08586520814377359007?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-shared-serv?api-version=2018-05-01 response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:44:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-shared-serv","name":"cntso-shared-services-ssvcs-deployment-shared-serv","properties":{"templateHash":"11359246530465176860","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"vnet-address-prefix":{"type":"String","value":"10.4.0.0/23"},"subnets":{"type":"Array","value":[{"name":"sharedsvcs","address-prefix":"10.4.0.32/27","network-security-group":"sharedsvcs","user-defined-route":"sharedsvcs","service-endpoints":[{"service":"Microsoft.EventHub"},{"service":"Microsoft.Sql"},{"service":"Microsoft.KeyVault"},{"service":"Microsoft.Storage"}]},{"name":"trust","address-prefix":"10.4.0.96/28","network-security-group":"trust","user-defined-route":"","service-endpoints":[{"service":"Microsoft.EventHub"},{"service":"Microsoft.Sql"},{"service":"Microsoft.KeyVault"},{"service":"Microsoft.Storage"}]},{"name":"dmz","address-prefix":"10.4.0.0/27","network-security-group":"dmz","user-defined-route":"","service-endpoints":[{"service":"Microsoft.EventHub"},{"service":"Microsoft.Sql"},{"service":"Microsoft.KeyVault"},{"service":"Microsoft.Storage"}]},{"name":"AppGateway","address-prefix":"10.4.0.64/27","network-security-group":"","user-defined-route":"","service-endpoints":[]},{"name":"AzureFirewallSubnet","address-prefix":"10.4.1.0/25","network-security-group":"","user-defined-route":"","service-endpoints":[]},{"name":"GatewaySubnet","address-prefix":"10.4.0.128/27","network-security-group":"","user-defined-route":"","service-endpoints":[]}]},"user-defined-routes":{"type":"Array","value":[{"name":"sharedsvcs","routes":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]}]},"enable-ddos-protection":{"type":"Bool","value":false},"on-premises-primaryDC-IP":{"type":"String","value":"192.168.1.4"},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A55%3A14Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=jRc8FcA1xd3X%2BMMcML2bpoGC8TGRH5bt1vzn5A0sqCo%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T03:55:17.4375348Z","duration":"PT0.426471S","correlationId":"c23e5239-bb2a-4cae-b3b6-f05486960b68","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus2"]},{"resourceType":"routeTables","locations":["westus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/routeTables/cntso-ssvcs-sharedsvcs-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"cntso-ssvcs-sharedsvcs-udr"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"cntso-ssvcs-vnet"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-shared-serv/operationStatuses/08586447511684665699?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '3455' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:55:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-onprem-vgw-connection/operationStatuses/08586520814377359007?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-shared-serv/operationStatuses/08586447511684665699?api-version=2018-05-01 response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:55:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-onprem-vgw-connection?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-shared-serv?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-onprem-vgw-connection","name":"org-shared-services-ssvcs-deployment-onprem-vgw-connection","properties":{"templateHash":"11308665078084669754","parameters":{"on-premises-gateway-name":{"type":"String","value":"org-onprem-gw"},"on-premises-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"on-premises-vnet-rg":{"type":"String","value":"org-onprem-net-rg"},"on-premises-location":{"type":"String","value":"Central - US"},"vpn-shared-key":{"type":"String","value":"asodgfhjkaw4tu0w9vuijv0qu3409tu"},"shared-services-gateway-name":{"type":"String","value":"org-ssvcs-gw"},"shared-services-vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"enable-bgp":{"type":"Bool","value":false},"deployment-name":{"type":"String","value":"ssvcs"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A43%3A50Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=eVjfYFcGS/1/DnoIhyqlUVdxPaued9omnYdarsa4EyU%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-07T07:44:40.8868667Z","duration":"PT33.1339984S","correlationId":"b2f80a4c-53c8-4531-89f9-1d9be56acd8d","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-onprem-net-rg/providers/Microsoft.Network/connections/on-premises-to-ssvcs"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['2293'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-shared-serv","name":"cntso-shared-services-ssvcs-deployment-shared-serv","properties":{"templateHash":"11359246530465176860","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"vnet-address-prefix":{"type":"String","value":"10.4.0.0/23"},"subnets":{"type":"Array","value":[{"name":"sharedsvcs","address-prefix":"10.4.0.32/27","network-security-group":"sharedsvcs","user-defined-route":"sharedsvcs","service-endpoints":[{"service":"Microsoft.EventHub"},{"service":"Microsoft.Sql"},{"service":"Microsoft.KeyVault"},{"service":"Microsoft.Storage"}]},{"name":"trust","address-prefix":"10.4.0.96/28","network-security-group":"trust","user-defined-route":"","service-endpoints":[{"service":"Microsoft.EventHub"},{"service":"Microsoft.Sql"},{"service":"Microsoft.KeyVault"},{"service":"Microsoft.Storage"}]},{"name":"dmz","address-prefix":"10.4.0.0/27","network-security-group":"dmz","user-defined-route":"","service-endpoints":[{"service":"Microsoft.EventHub"},{"service":"Microsoft.Sql"},{"service":"Microsoft.KeyVault"},{"service":"Microsoft.Storage"}]},{"name":"AppGateway","address-prefix":"10.4.0.64/27","network-security-group":"","user-defined-route":"","service-endpoints":[]},{"name":"AzureFirewallSubnet","address-prefix":"10.4.1.0/25","network-security-group":"","user-defined-route":"","service-endpoints":[]},{"name":"GatewaySubnet","address-prefix":"10.4.0.128/27","network-security-group":"","user-defined-route":"","service-endpoints":[]}]},"user-defined-routes":{"type":"Array","value":[{"name":"sharedsvcs","routes":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]}]},"enable-ddos-protection":{"type":"Bool","value":false},"on-premises-primaryDC-IP":{"type":"String","value":"192.168.1.4"},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A55%3A14Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=jRc8FcA1xd3X%2BMMcML2bpoGC8TGRH5bt1vzn5A0sqCo%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T03:55:18.6589102Z","duration":"PT1.6478464S","correlationId":"c23e5239-bb2a-4cae-b3b6-f05486960b68","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus2"]},{"resourceType":"routeTables","locations":["westus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/routeTables/cntso-ssvcs-sharedsvcs-udr","resourceType":"Microsoft.Network/routeTables","resourceName":"cntso-ssvcs-sharedsvcs-udr"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"cntso-ssvcs-vnet"}],"outputs":{"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/ddosProtectionPlans/cntso-ssvcs-ddos-plan"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/routeTables/cntso-ssvcs-sharedsvcs-udr"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '4382' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:55:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:45:09 GMT'] - x-ms-version: ['2018-03-28'] + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:55:47 GMT + x-ms-version: + - '2018-03-28' method: GET uri: https://storage.blob.core.windows.net/output?restype=container response: - body: {string: ''} - headers: - date: ['Thu, 07 Feb 2019 07:45:11 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 03:55:48 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK - request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Thu, 07 Feb 2019 07:45:10 GMT'] - x-ms-version: ['2018-03-28'] + body: 'b''b\''b\\\''{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}, + "vnet-name": { "value": "cntso-ssvcs-vnet"}, "vnet-resourceGroup": { "value": + "cntso-ssvcs-net-rg"}}\\\''\''''' + headers: + Connection: + - keep-alive + Content-Length: + - '314' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 03:55:48 GMT + x-ms-version: + - '2018-03-28' method: PUT - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/onprem-vgw-connection/azureDeploy.parameters.output.json + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Thu, 07 Feb 2019 07:45:11 GMT'] - etag: ['"0x8D68CD0308ACF5A"'] - last-modified: ['Thu, 07 Feb 2019 07:45:11 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - uuncXP3nwK/2kckRf2nBzg== + date: + - Fri, 03 May 2019 03:55:48 GMT + etag: + - '"0x8D6CF7B3A133AA8"' + last-modified: + - Fri, 03 May 2019 03:55:48 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_g_shared_services_enable_service_endpoint_on_diagnostic_storage_account_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_g_shared_services_enable_service_endpoint_on_diagnostic_storage_account_creation.yaml new file mode 100644 index 000000000..7833eb945 --- /dev/null +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_g_shared_services_enable_service_endpoint_on_diagnostic_storage_account_creation.yaml @@ -0,0 +1,550 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:55:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:55:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:55:48 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json + response: + body: + string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}, + "vnet-name": { "value": "cntso-ssvcs-vnet"}, "vnet-resourceGroup": { "value": + "cntso-ssvcs-net-rg"}}' + headers: + accept-ranges: + - bytes + content-length: + - '314' + content-range: + - bytes 0-313/314 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:55:48 GMT + etag: + - '"0x8D6CF7B3A133AA8"' + last-modified: + - Fri, 03 May 2019 03:55:48 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - uuncXP3nwK/2kckRf2nBzg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:42:15 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:55:48 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/diagnostic-storage-account/azureDeploy.parameters.output.json + response: + body: + string: '{"storageAccount-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"}, + "storageAccount-name": { "value": "cntsowus2shrdsvcs01diag"}, "storageAccount-sasToken": + { "value": "sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"}, + "storageAccount-accessKey": { "value": "tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '590' + content-range: + - bytes 0-589/590 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:55:48 GMT + etag: + - '"0x8D6CF7AB158698E"' + last-modified: + - Fri, 03 May 2019 03:51:58 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - UzcGkQ4IgSSQOnpmSwhZwg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:38:01 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg?api-version=2018-05-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 03:55:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: 'b''b\''b\\\''b\\\\\\\''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"deployment-prefix": {"type": "string", + "metadata": {"description": "Deployment prefix. E.g. Organization-DeploymentType"}}, + "lock-for-deletion": {"type": "bool", "defaultValue": true}, "vnet-id": {"type": + "string", "defaultValue": "", "metadata": {"description": "Shared services Virtual + Network resource identifier"}}, "enable-network-acls": {"type": "bool", "defaultValue": + false, "metadata": {"description": "Flag to enable network acls to whitelist + IPs and subnets"}}, "network-acls": {"type": "object", "defaultValue": {}}, + "utcYear": {"type": "string", "defaultValue": "[utcNow(\\\\\\\\\\\\\\\''yyyy\\\\\\\\\\\\\\\'')]"}, + "storage-account-name": {"type": "string", "defaultValue": "", "metadata": {"description": + "Name of the storage account"}}, "storage-account-kind": {"type": "string", + "defaultValue": "StorageV2"}, "storage-account-sku": {"type": "string", "defaultValue": + "Standard_LRS"}, "storage-account-access-tier": {"type": "string", "defaultValue": + "Hot"}, "vnet-name": {"defaultValue": "cntso-ssvcs-vnet", "type": "string"}, + "vnet-resourceGroup": {"defaultValue": "cntso-ssvcs-net-rg", "type": "string"}, + "storageAccount-resourceId": {"defaultValue": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag", + "type": "string"}, "storageAccount-name": {"defaultValue": "cntsowus2shrdsvcs01diag", + "type": "string"}, "storageAccount-sasToken": {"defaultValue": "sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D", + "type": "string"}, "storageAccount-accessKey": {"defaultValue": "tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw==", + "type": "string"}, "sas-key": {"defaultValue": "se=2019-05-03T20%3A55%3A48Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=KLtPdiNEo8dnzbeadLu/RyhunMTDL6FXL97ChicSf6E%3D", + "type": "string"}, "output-params-storage-key": {"defaultValue": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==", + "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", + "type": "string"}}, "variables": {"uniqueString": "[uniqueString(subscription().id, + concat(parameters(\\\\\\\\\\\\\\\''deployment-prefix\\\\\\\\\\\\\\\''), \\\\\\\\\\\\\\\''-la\\\\\\\\\\\\\\\''))]", + "diagnostic-storageAccount-prefix": "[concat(replace(parameters(\\\\\\\\\\\\\\\''deployment-prefix\\\\\\\\\\\\\\\''), + \\\\\\\\\\\\\\\''-\\\\\\\\\\\\\\\'', \\\\\\\\\\\\\\\''\\\\\\\\\\\\\\\''), \\\\\\\\\\\\\\\''diag\\\\\\\\\\\\\\\'')]", + "diagnostic-storageAccount-name": "[toLower(substring(replace(concat(variables(\\\\\\\\\\\\\\\''diagnostic-storageAccount-prefix\\\\\\\\\\\\\\\''), + variables(\\\\\\\\\\\\\\\''uniqueString\\\\\\\\\\\\\\\''), variables(\\\\\\\\\\\\\\\''uniqueString\\\\\\\\\\\\\\\'')), + \\\\\\\\\\\\\\\''-\\\\\\\\\\\\\\\'', \\\\\\\\\\\\\\\''\\\\\\\\\\\\\\\''), 0, + 23) )]", "storage-account-name": "[if(empty(parameters(\\\\\\\\\\\\\\\''storage-account-name\\\\\\\\\\\\\\\'')), + variables(\\\\\\\\\\\\\\\''diagnostic-storageAccount-name\\\\\\\\\\\\\\\''), + parameters(\\\\\\\\\\\\\\\''storage-account-name\\\\\\\\\\\\\\\''))]", "accountSasProperties": + {"signedServices": "bt", "signedPermission": "acuw", "signedExpiry": "[concat(string(add(int(parameters(\\\\\\\\\\\\\\\''utcYear\\\\\\\\\\\\\\\'')), + 100)), \\\\\\\\\\\\\\\''-12-31T23:59:59Z\\\\\\\\\\\\\\\'')]", "signedResourceTypes": + "co", "signedProtocol": "https"}, "virtualNetwork-rules": {"copy": [{"name": + "virtualNetworkRules", "count": "[if(not(parameters(\\\\\\\\\\\\\\\''enable-network-acls\\\\\\\\\\\\\\\'')), + 1, if(equals(length(parameters(\\\\\\\\\\\\\\\''network-acls\\\\\\\\\\\\\\\'').virtualNetworkRules), + 0), 1, length(parameters(\\\\\\\\\\\\\\\''network-acls\\\\\\\\\\\\\\\'').virtualNetworkRules)))]", + "input": {"id": "[if(not(parameters(\\\\\\\\\\\\\\\''enable-network-acls\\\\\\\\\\\\\\\'')), + json(\\\\\\\\\\\\\\\''null\\\\\\\\\\\\\\\''), if(equals(length(parameters(\\\\\\\\\\\\\\\''network-acls\\\\\\\\\\\\\\\'').virtualNetworkRules), + 0), json(\\\\\\\\\\\\\\\''null\\\\\\\\\\\\\\\''), concat(parameters(\\\\\\\\\\\\\\\''vnet-id\\\\\\\\\\\\\\\''), + \\\\\\\\\\\\\\\''/subnets/\\\\\\\\\\\\\\\'', parameters(\\\\\\\\\\\\\\\''network-acls\\\\\\\\\\\\\\\'').virtualNetworkRules[copyIndex(\\\\\\\\\\\\\\\''virtualNetworkRules\\\\\\\\\\\\\\\'')].subnet)))]"}}]}, + "networkAcls": {"bypass": "[if(not(parameters(\\\\\\\\\\\\\\\''enable-network-acls\\\\\\\\\\\\\\\'')), + \\\\\\\\\\\\\\\''AzureServices\\\\\\\\\\\\\\\'', parameters(\\\\\\\\\\\\\\\''network-acls\\\\\\\\\\\\\\\'').bypass)]", + "defaultAction": "[if(not(parameters(\\\\\\\\\\\\\\\''enable-network-acls\\\\\\\\\\\\\\\'')), + \\\\\\\\\\\\\\\''Deny\\\\\\\\\\\\\\\'', parameters(\\\\\\\\\\\\\\\''network-acls\\\\\\\\\\\\\\\'').defaultAction)]", + "virtualNetworkRules": "[if(not(parameters(\\\\\\\\\\\\\\\''enable-network-acls\\\\\\\\\\\\\\\'')), + json(\\\\\\\\\\\\\\\''null\\\\\\\\\\\\\\\''), variables(\\\\\\\\\\\\\\\''virtualNetwork-rules\\\\\\\\\\\\\\\'').virtualNetworkRules)]", + "ipRules": "[if(not(parameters(\\\\\\\\\\\\\\\''enable-network-acls\\\\\\\\\\\\\\\'')), + json(\\\\\\\\\\\\\\\''null\\\\\\\\\\\\\\\''), if(equals(length(parameters(\\\\\\\\\\\\\\\''network-acls\\\\\\\\\\\\\\\'').ipRules), + 0), json(\\\\\\\\\\\\\\\''null\\\\\\\\\\\\\\\''), parameters(\\\\\\\\\\\\\\\''network-acls\\\\\\\\\\\\\\\'').ipRules))]"}}, + "resources": [{"comments": "----DIAGNOSTICS STORAGE ACCOUNT-----", "type": "Microsoft.Storage/storageAccounts", + "name": "[variables(\\\\\\\\\\\\\\\''storage-account-name\\\\\\\\\\\\\\\'')]", + "apiVersion": "2018-11-01", "location": "[resourceGroup().location]", "kind": + "[parameters(\\\\\\\\\\\\\\\''storage-account-kind\\\\\\\\\\\\\\\'')]", "sku": + {"name": "[parameters(\\\\\\\\\\\\\\\''storage-account-sku\\\\\\\\\\\\\\\'')]"}, + "tags": {"layer": "management"}, "properties": {"encryption": {"keySource": + "Microsoft.Storage", "services": {"blob": {"enabled": true}, "file": "[if(or(equals(parameters(\\\\\\\\\\\\\\\''storage-account-kind\\\\\\\\\\\\\\\''), + \\\\\\\\\\\\\\\''StorageV2\\\\\\\\\\\\\\\''), equals(parameters(\\\\\\\\\\\\\\\''storage-account-kind\\\\\\\\\\\\\\\''), + \\\\\\\\\\\\\\\''Storage\\\\\\\\\\\\\\\'')), json(\\\\\\\\\\\\\\\''{\\\\\\\\\\\\\\\\"enabled\\\\\\\\\\\\\\\\": + true}\\\\\\\\\\\\\\\''), json(\\\\\\\\\\\\\\\''null\\\\\\\\\\\\\\\''))]"}}, + "accessTier": "[parameters(\\\\\\\\\\\\\\\''storage-account-access-tier\\\\\\\\\\\\\\\'')]", + "supportsHttpsTrafficOnly": true, "networkAcls": "[if(empty(parameters(\\\\\\\\\\\\\\\''network-acls\\\\\\\\\\\\\\\'')), + json(\\\\\\\\\\\\\\\''null\\\\\\\\\\\\\\\''), variables(\\\\\\\\\\\\\\\''networkAcls\\\\\\\\\\\\\\\''))]"}}, + {"type": "Microsoft.Storage/storageAccounts/providers/locks", "apiVersion": + "2016-09-01", "condition": "[parameters(\\\\\\\\\\\\\\\''lock-for-deletion\\\\\\\\\\\\\\\'')]", + "name": "[concat(variables(\\\\\\\\\\\\\\\''storage-account-name\\\\\\\\\\\\\\\''), + \\\\\\\\\\\\\\\''/Microsoft.Authorization/storageDoNotDelete\\\\\\\\\\\\\\\'')]", + "dependsOn": ["[concat(\\\\\\\\\\\\\\\''Microsoft.Storage/storageAccounts/\\\\\\\\\\\\\\\'', + variables(\\\\\\\\\\\\\\\''storage-account-name\\\\\\\\\\\\\\\''))]"], "comments": + "Resource lock on diagnostic storage account", "properties": {"level": "CannotDelete"}}], + "outputs": {"storageAccount-resourceId": {"type": "string", "value": "[resourceId(\\\\\\\\\\\\\\\''Microsoft.Storage/storageAccounts\\\\\\\\\\\\\\\'', + variables(\\\\\\\\\\\\\\\''storage-account-name\\\\\\\\\\\\\\\''))]"}, "storageAccount-name": + {"type": "string", "value": "[variables(\\\\\\\\\\\\\\\''storage-account-name\\\\\\\\\\\\\\\'')]"}, + "storageAccount-sasToken": {"type": "string", "value": "[listAccountSas(variables(\\\\\\\\\\\\\\\''storage-account-name\\\\\\\\\\\\\\\''), + \\\\\\\\\\\\\\\''2018-07-01\\\\\\\\\\\\\\\'', variables(\\\\\\\\\\\\\\\''accountSasProperties\\\\\\\\\\\\\\\'')).accountSasToken]"}, + "storageAccount-accessKey": {"type": "string", "value": "[listKeys(variables(\\\\\\\\\\\\\\\''storage-account-name\\\\\\\\\\\\\\\''),\\\\\\\\\\\\\\\''2015-06-15\\\\\\\\\\\\\\\'').key1]"}}}, + "parameters": {"deployment-prefix": {"value": "cntso-ssvcs"}, "network-acls": + {"value": {"bypass": "AzureServices", "defaultAction": "Deny", "virtualNetworkRules": + [{"subnet": "sharedsvcs"}, {"subnet": "trust"}, {"subnet": "dmz"}], "ipRules": + []}}, "enable-network-acls": {"value": true}, "vnet-id": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}, + "vnet-name": {"value": "cntso-ssvcs-vnet"}, "vnet-resourceGroup": {"value": + "cntso-ssvcs-net-rg"}, "storageAccount-resourceId": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"}, + "storageAccount-name": {"value": "cntsowus2shrdsvcs01diag"}, "storageAccount-sasToken": + {"value": "sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"}, + "storageAccount-accessKey": {"value": "tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="}, + "sas-key": {"value": "se=2019-05-03T20%3A55%3A48Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=KLtPdiNEo8dnzbeadLu/RyhunMTDL6FXL97ChicSf6E%3D"}, + "output-params-storage-key": {"value": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="}, + "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\\\\\\\''\\\''\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '7704' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-enable-serv?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-enable-serv","name":"cntso-shared-services-ssvcs-deployment-enable-serv","properties":{"templateHash":"956570946850238442","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"lock-for-deletion":{"type":"Bool","value":true},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"enable-network-acls":{"type":"Bool","value":true},"network-acls":{"type":"Object","value":{"bypass":"AzureServices","defaultAction":"Deny","virtualNetworkRules":[{"subnet":"sharedsvcs"},{"subnet":"trust"},{"subnet":"dmz"}],"ipRules":[]}},"utcYear":{"type":"String","value":"2019"},"storage-account-name":{"type":"String","value":""},"storage-account-kind":{"type":"String","value":"StorageV2"},"storage-account-sku":{"type":"String","value":"Standard_LRS"},"storage-account-access-tier":{"type":"String","value":"Hot"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A55%3A48Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=KLtPdiNEo8dnzbeadLu/RyhunMTDL6FXL97ChicSf6E%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T03:55:50.9726432Z","duration":"PT0.0626155S","correlationId":"47e1a394-8dc5-49de-90e5-de0dd4f867ab","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus2"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"cntsowus2shrdsvcs01diag"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"cntsowus2shrdsvcs01diag/Microsoft.Authorization/storageDoNotDelete"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-enable-serv/operationStatuses/08586447511345676153?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '3426' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:55:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1195' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-enable-serv/operationStatuses/08586447511345676153?api-version=2018-05-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:56:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-enable-serv?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-enable-serv","name":"cntso-shared-services-ssvcs-deployment-enable-serv","properties":{"templateHash":"956570946850238442","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"lock-for-deletion":{"type":"Bool","value":true},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"enable-network-acls":{"type":"Bool","value":true},"network-acls":{"type":"Object","value":{"bypass":"AzureServices","defaultAction":"Deny","virtualNetworkRules":[{"subnet":"sharedsvcs"},{"subnet":"trust"},{"subnet":"dmz"}],"ipRules":[]}},"utcYear":{"type":"String","value":"2019"},"storage-account-name":{"type":"String","value":""},"storage-account-kind":{"type":"String","value":"StorageV2"},"storage-account-sku":{"type":"String","value":"Standard_LRS"},"storage-account-access-tier":{"type":"String","value":"Hot"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A55%3A48Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=KLtPdiNEo8dnzbeadLu/RyhunMTDL6FXL97ChicSf6E%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T03:55:56.8249059Z","duration":"PT5.9148782S","correlationId":"47e1a394-8dc5-49de-90e5-de0dd4f867ab","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus2"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"cntsowus2shrdsvcs01diag"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"cntsowus2shrdsvcs01diag/Microsoft.Authorization/storageDoNotDelete"}],"outputs":{"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag/providers/Microsoft.Authorization/locks/storageDoNotDelete"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '4518' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:56:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:56:21 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 03:56:20 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK +- request: + body: 'b''b\''b\\\''{"storageAccount-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"}, + "storageAccount-name": { "value": "cntsowus2shrdsvcs01diag"}, "storageAccount-sasToken": + { "value": "sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"}, + "storageAccount-accessKey": { "value": "tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="}}\\\''\''''' + headers: + Connection: + - keep-alive + Content-Length: + - '590' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 03:56:21 GMT + x-ms-version: + - '2018-03-28' + method: PUT + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/enable-service-endpoint-on-diagnostic-storage-account/azureDeploy.parameters.output.json + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - UzcGkQ4IgSSQOnpmSwhZwg== + date: + - Fri, 03 May 2019 03:56:20 GMT + etag: + - '"0x8D6CF7B4DFE9F29"' + last-modified: + - Fri, 03 May 2019 03:56:21 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created +version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_g_shared_services_network_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_g_shared_services_network_creation.yaml deleted file mode 100644 index f749d9aa4..000000000 --- a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_g_shared_services_network_creation.yaml +++ /dev/null @@ -1,686 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:45:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:45:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:45:20 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"}, - "vnet-name": { "value": "org-ssvcs-vnet"}, "vnet-resourceGroup": { "value": - "org-ssvcs-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['286'] - content-range: [bytes 0-285/286] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 07:45:22 GMT'] - etag: ['"0x8D68CCF70DDD6BC"'] - last-modified: ['Thu, 07 Feb 2019 07:39:49 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [KMzWOl7QhCIrSbZKqeeLJw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 04:50:57 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:45:21 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"}, - "oms-workspace-resourceGroup": { "value": "org-ssvcs-la-rg"}, "oms-workspace-name": - { "value": "org-ssvcs-la"}, "oms-workspace-id": { "value": "4ab3cd77-daf6-46c6-acc7-735a9bc3931e"}, - "oms-primary-shared-key": { "value": "t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['506'] - content-range: [bytes 0-505/506] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 07:45:22 GMT'] - etag: ['"0x8D68CCF36E2D68D"'] - last-modified: ['Thu, 07 Feb 2019 07:38:12 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [PQ3ozLvGlXoR9KX7xfa96A==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 03:51:33 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 07 Feb 2019 07:45:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '!!! The request body has been omitted from the recording because its size - 11314 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['9863'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-azure-fw?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-azure-fw","name":"org-shared-services-ssvcs-deployment-azure-fw","properties":{"templateHash":"2871691845293386896","parameters":{"deployment-prefix":{"type":"String","value":"org-ssvcs"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-udr-name":{"type":"String","value":"sharedsvcs"},"shared-services-routes":{"type":"Array","value":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]},"oms-workspace-resourceGroup":{"type":"String","value":"org-ssvcs-la-rg"},"oms-workspace-name":{"type":"String","value":"org-ssvcs-la"},"logs-retention-in-days":{"type":"Int","value":30},"shared-services-subnet-address-prefix":{"type":"String","value":"10.4.0.32/27"},"on-premises-allow-rdp-address-range":{"type":"String","value":"192.168.1.4"},"on-premises-primaryDC-IP":{"type":"String","value":"192.168.1.4"},"vnet-prefix":{"type":"String","value":"10.4.0.0/23"},"on-premises-address-range":{"type":"String","value":"192.168.1.0/28"},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"},"oms-workspace-id":{"type":"String","value":"4ab3cd77-daf6-46c6-acc7-735a9bc3931e"},"oms-primary-shared-key":{"type":"String","value":"t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A45%3A10Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=PdrFrJ2UzL3XcXDLqP2n3l4M5IOj7xKQAYTaPycSmcM%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-07T07:45:26.7035667Z","duration":"PT0.9777317S","correlationId":"d85799cb-0e24-4c4a-98f0-1c27dba81c00","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["centralus"]},{"resourceType":"azureFirewalls","locations":["centralus"]},{"resourceType":"azureFirewalls/providers/diagnosticsettings","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/publicIPAddresses/org-ssvcs-az-fw-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"org-ssvcs-az-fw-pip"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/org-ssvcs-az-fw","resourceType":"Microsoft.Network/azureFirewalls","resourceName":"org-ssvcs-az-fw"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/org-ssvcs-az-fw","resourceType":"Microsoft.Network/azureFirewalls","resourceName":"org-ssvcs-az-fw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Storage/storageAccounts/orgcusssazfwdiagvbt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssazfwdiagvbt"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/org-ssvcs-az-fw/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.Network/azureFirewalls/providers/diagnosticsettings","resourceName":"org-ssvcs-az-fw/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/org-ssvcs-az-fw","resourceType":"Microsoft.Network/azureFirewalls","resourceName":"org-ssvcs-az-fw"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedSvcsUDR","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedSvcsUDR"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-azure-fw/operationStatuses/08586520813597518558?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['5029'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-azure-fw/operationStatuses/08586520813597518558?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:45:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-azure-fw/operationStatuses/08586520813597518558?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-azure-fw?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-azure-fw","name":"org-shared-services-ssvcs-deployment-azure-fw","properties":{"templateHash":"2871691845293386896","parameters":{"deployment-prefix":{"type":"String","value":"org-ssvcs"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"shared-services-udr-name":{"type":"String","value":"sharedsvcs"},"shared-services-routes":{"type":"Array","value":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]},"oms-workspace-resourceGroup":{"type":"String","value":"org-ssvcs-la-rg"},"oms-workspace-name":{"type":"String","value":"org-ssvcs-la"},"logs-retention-in-days":{"type":"Int","value":30},"shared-services-subnet-address-prefix":{"type":"String","value":"10.4.0.32/27"},"on-premises-allow-rdp-address-range":{"type":"String","value":"192.168.1.4"},"on-premises-primaryDC-IP":{"type":"String","value":"192.168.1.4"},"vnet-prefix":{"type":"String","value":"10.4.0.0/23"},"on-premises-address-range":{"type":"String","value":"192.168.1.0/28"},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"},"oms-workspace-id":{"type":"String","value":"4ab3cd77-daf6-46c6-acc7-735a9bc3931e"},"oms-primary-shared-key":{"type":"String","value":"t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A45%3A10Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=PdrFrJ2UzL3XcXDLqP2n3l4M5IOj7xKQAYTaPycSmcM%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-07T07:46:13.5535693Z","duration":"PT47.8277343S","correlationId":"d85799cb-0e24-4c4a-98f0-1c27dba81c00","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["centralus"]},{"resourceType":"azureFirewalls","locations":["centralus"]},{"resourceType":"azureFirewalls/providers/diagnosticsettings","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/publicIPAddresses/org-ssvcs-az-fw-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"org-ssvcs-az-fw-pip"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/org-ssvcs-az-fw","resourceType":"Microsoft.Network/azureFirewalls","resourceName":"org-ssvcs-az-fw"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/org-ssvcs-az-fw","resourceType":"Microsoft.Network/azureFirewalls","resourceName":"org-ssvcs-az-fw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Storage/storageAccounts/orgcusssazfwdiagvbt","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssazfwdiagvbt"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/org-ssvcs-az-fw/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.Network/azureFirewalls/providers/diagnosticsettings","resourceName":"org-ssvcs-az-fw/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/org-ssvcs-az-fw","resourceType":"Microsoft.Network/azureFirewalls","resourceName":"org-ssvcs-az-fw"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedSvcsUDR","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedSvcsUDR"}],"outputs":{"azure-firewall-name":{"type":"String","value":"org-ssvcs-az-fw"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/org-ssvcs-az-fw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/org-ssvcs-az-fw/providers/Microsoft.Insights/diagnosticsettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/publicIPAddresses/org-ssvcs-az-fw-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/routeTables/org-ssvcs-sharedsvcs-udr"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Storage/storageAccounts/orgcusssazfwdiagvbt"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['6017'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:46:29 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Thu, 07 Feb 2019 07:46:28 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''{"azure-firewall-name": { "value": "org-ssvcs-az-fw"}}\''''' - headers: - Connection: [keep-alive] - Content-Length: ['59'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Thu, 07 Feb 2019 07:46:29 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/azure-fw/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [5qx+s4uhELaTwWuKM4xsLA==] - date: ['Thu, 07 Feb 2019 07:46:29 GMT'] - etag: ['"0x8D68CD05F4000CC"'] - last-modified: ['Thu, 07 Feb 2019 07:46:29 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_h_shared_services_keyvault_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_h_shared_services_keyvault_creation.yaml deleted file mode 100644 index c934d2cbc..000000000 --- a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_h_shared_services_keyvault_creation.yaml +++ /dev/null @@ -1,752 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:46:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:46:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:46:40 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"}, - "oms-workspace-resourceGroup": { "value": "org-ssvcs-la-rg"}, "oms-workspace-name": - { "value": "org-ssvcs-la"}, "oms-workspace-id": { "value": "4ab3cd77-daf6-46c6-acc7-735a9bc3931e"}, - "oms-primary-shared-key": { "value": "t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['506'] - content-range: [bytes 0-505/506] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 07:46:40 GMT'] - etag: ['"0x8D68CCF36E2D68D"'] - last-modified: ['Thu, 07 Feb 2019 07:38:12 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [PQ3ozLvGlXoR9KX7xfa96A==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 03:51:33 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-kv-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 07 Feb 2019 07:46:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "kvPermittedResourceTypes", "description": - "Policy to prevent the creation of unauthorized resource types within the resource - group.", "policyRule": {"if": {"not": {"field": "type", "in": ["Microsoft.KeyVault/vaults", - "Microsoft.Storage/storageAccounts"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['352'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"kvPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.KeyVault/vaults","Microsoft.Storage/storageAccounts"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"kvPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['577'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "kvPermittedResourceTypes", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes"}, - "name": "kvPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Authorization/policyAssignments/kvPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"kvPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/kvPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Authorization/policyAssignments/kvPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"kvPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['598'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "denyPublicIP", "description": "Policy to - prevent the creation of public ip resources", "policyRule": {"if": {"field": - "type", "in": ["Microsoft.Network/publicIPAddresses"]}, "then": {"effect": "audit"}}, - "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['269'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"denyPublicIP","policyType":"Custom","description":"Policy - to prevent the creation of public ip resources","metadata":{"category":"VDC"},"policyRule":{"if":{"field":"type","in":["Microsoft.Network/publicIPAddresses"]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","type":"Microsoft.Authorization/policyDefinitions","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['472'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "denyPublicIP", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP"}, - "name": "denyPublicIP"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['213'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"denyPublicIP","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP","type":"Microsoft.Authorization/policyAssignments","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['550'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 15630 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['8426'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-kv-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-kv?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-kv","name":"org-shared-services-ssvcs-deployment-kv","properties":{"templateHash":"1722602143252323506","parameters":{"deployment-prefix":{"type":"String","value":"org-ssvcs"},"access-policies":{"type":"Array","value":[{"tenantId":"00000000-0000-0000-0000-000000000000","objectId":"00000000-0000-0000-0000-000000000000","permissions":{"certificates":["All"],"keys":["All"],"secrets":["All"]}}]},"logs-retention-in-days":{"type":"Int","value":30},"enable-vault-for-deployment":{"type":"Bool","value":true},"enable-vault-for-templateDeployment":{"type":"Bool","value":true},"enable-vault-for-diskEncryption":{"type":"Bool","value":true},"vault-sku":{"type":"String","value":"Premium"},"oms-workspace-resourceGroup":{"type":"String","value":"org-ssvcs-la-rg"},"oms-workspace-name":{"type":"String","value":"org-ssvcs-la"},"secrets-object":{"type":"SecureObject"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"},"oms-workspace-id":{"type":"String","value":"4ab3cd77-daf6-46c6-acc7-735a9bc3931e"},"oms-primary-shared-key":{"type":"String","value":"t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A46%3A30Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=1L95XR64KqIKbNnVdM1sca4qu9g8Blen1IwjfUIaVKQ%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-07T07:46:47.1502036Z","duration":"PT0.6935609S","correlationId":"dba4a837-df19-45cd-8f2e-820a7636971c","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]},{"namespace":"Microsoft.KeyVault","resourceTypes":[{"resourceType":"vaults","locations":["centralus"]},{"resourceType":"vaults/providers/diagnosticsettings","locations":["centralus"]},{"resourceType":"vaults/providers/locks","locations":[null]},{"resourceType":"vaults/secrets","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-ssvcs-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcussskvdiaggholi","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcussskvdiaggholi"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.KeyVault/vaults/providers/diagnosticsettings","resourceName":"org-ssvcs-kv/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete","resourceType":"Microsoft.KeyVault/vaults/providers/locks","resourceName":"org-ssvcs-kv/Microsoft.Authorization/keyVaultDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcussskvdiaggholi","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcussskvdiaggholi"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcussskvdiaggholi/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"orgcussskvdiaggholi/Microsoft.Authorization/storageDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/secrets/admin-user","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-ssvcs-kv/admin-user"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/secrets/org","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-ssvcs-kv/org"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/secrets/self-certificate-base64","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-ssvcs-kv/self-certificate-base64"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/secrets/self-certificate-password","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-ssvcs-kv/self-certificate-password"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-kv-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-kv/operationStatuses/08586520812790210520?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['6722'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:46:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-kv-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-kv/operationStatuses/08586520812790210520?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:47:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-kv-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-kv?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-kv","name":"org-shared-services-ssvcs-deployment-kv","properties":{"templateHash":"1722602143252323506","parameters":{"deployment-prefix":{"type":"String","value":"org-ssvcs"},"access-policies":{"type":"Array","value":[{"tenantId":"00000000-0000-0000-0000-000000000000","objectId":"00000000-0000-0000-0000-000000000000","permissions":{"certificates":["All"],"keys":["All"],"secrets":["All"]}}]},"logs-retention-in-days":{"type":"Int","value":30},"enable-vault-for-deployment":{"type":"Bool","value":true},"enable-vault-for-templateDeployment":{"type":"Bool","value":true},"enable-vault-for-diskEncryption":{"type":"Bool","value":true},"vault-sku":{"type":"String","value":"Premium"},"oms-workspace-resourceGroup":{"type":"String","value":"org-ssvcs-la-rg"},"oms-workspace-name":{"type":"String","value":"org-ssvcs-la"},"secrets-object":{"type":"SecureObject"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"},"oms-workspace-id":{"type":"String","value":"4ab3cd77-daf6-46c6-acc7-735a9bc3931e"},"oms-primary-shared-key":{"type":"String","value":"t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A46%3A30Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=1L95XR64KqIKbNnVdM1sca4qu9g8Blen1IwjfUIaVKQ%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-07T07:47:02.0790015Z","duration":"PT15.6223588S","correlationId":"dba4a837-df19-45cd-8f2e-820a7636971c","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]},{"resourceType":"storageAccounts/providers/locks","locations":[null]}]},{"namespace":"Microsoft.KeyVault","resourceTypes":[{"resourceType":"vaults","locations":["centralus"]},{"resourceType":"vaults/providers/diagnosticsettings","locations":["centralus"]},{"resourceType":"vaults/providers/locks","locations":[null]},{"resourceType":"vaults/secrets","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-ssvcs-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcussskvdiaggholi","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcussskvdiaggholi"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.KeyVault/vaults/providers/diagnosticsettings","resourceName":"org-ssvcs-kv/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete","resourceType":"Microsoft.KeyVault/vaults/providers/locks","resourceName":"org-ssvcs-kv/Microsoft.Authorization/keyVaultDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcussskvdiaggholi","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcussskvdiaggholi"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcussskvdiaggholi/providers/Microsoft.Authorization/locks/storageDoNotDelete","resourceType":"Microsoft.Storage/storageAccounts/providers/locks","resourceName":"orgcussskvdiaggholi/Microsoft.Authorization/storageDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/secrets/admin-user","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-ssvcs-kv/admin-user"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/secrets/org","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-ssvcs-kv/org"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/secrets/self-certificate-base64","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-ssvcs-kv/self-certificate-base64"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"org-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/secrets/self-certificate-password","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"org-ssvcs-kv/self-certificate-password"}],"outputs":{"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"kv-name":{"type":"String","value":"org-ssvcs-kv"},"kv-resourceGroup":{"type":"String","value":"org-ssvcs-kv-rg"},"kv-uri":{"type":"String","value":"https://org-ssvcs-kv.vault.azure.net/"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/providers/Microsoft.Insights/diagnosticsettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/secrets/admin-user"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/secrets/org"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/secrets/self-certificate-base64"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv/secrets/self-certificate-password"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcussskvdiaggholi"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.Storage/storageAccounts/orgcussskvdiaggholi/providers/Microsoft.Authorization/locks/storageDoNotDelete"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['8801'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:47:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:47:19 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Thu, 07 Feb 2019 07:47:20 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: 'b''b\''b\\\''b\\\\\\\''{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"}, - "kv-name": { "value": "org-ssvcs-kv"}, "kv-resourceGroup": { "value": "org-ssvcs-kv-rg"}, - "kv-uri": { "value": "https://org-ssvcs-kv.vault.azure.net/"}}\\\\\\\''\\\''\''''' - headers: - Connection: [keep-alive] - Content-Length: ['334'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Thu, 07 Feb 2019 07:47:20 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/kv/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [hpe7ZXZbmu4y2j8Suzh5Kw==] - date: ['Thu, 07 Feb 2019 07:47:20 GMT'] - etag: ['"0x8D68CD07D3B6893"'] - last-modified: ['Thu, 07 Feb 2019 07:47:20 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_h_shared_services_network_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_h_shared_services_network_creation.yaml new file mode 100644 index 000000000..dae46aa3f --- /dev/null +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_h_shared_services_network_creation.yaml @@ -0,0 +1,572 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:56:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:56:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:56:22 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json + response: + body: + string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}, + "vnet-name": { "value": "cntso-ssvcs-vnet"}, "vnet-resourceGroup": { "value": + "cntso-ssvcs-net-rg"}}' + headers: + accept-ranges: + - bytes + content-length: + - '314' + content-range: + - bytes 0-313/314 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:56:21 GMT + etag: + - '"0x8D6CF7B3A133AA8"' + last-modified: + - Fri, 03 May 2019 03:55:48 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - uuncXP3nwK/2kckRf2nBzg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:42:15 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg?api-version=2018-05-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 03:56:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: 'b''b\''b\\\''b\\\\\\\''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"deployment-prefix": {"type": "string", + "metadata": {"description": "Deployment prefix. E.g. Organization-DeploymentType"}}, + "subscription-id": {"type": "string", "metadata": {"description": "Subscription + where to provision the Virtual Network Gateway"}}, "gateway-type": {"type": + "string", "metadata": {"description": "Specifies the gateway type. E.g. VPN, + ExpressRoute"}}, "gateway-sku": {"type": "string", "metadata": {"description": + "The Sku of the Gateway. This must be one of Basic, Standard or HighPerformance."}}, + "vpn-type": {"type": "string", "metadata": {"description": "Specifies the VPN + type"}}, "vnet-id": {"type": "string", "metadata": {"description": "Shared services + Virtual Network resource Id"}}, "vnet-resourceGroup": {"type": "string", "metadata": + {"description": "Shared services Virtual Network resource group name"}}, "enable-bgp": + {"type": "bool", "defaultValue": true, "metadata": {"description": "Value to + specify if BGP is enabled or not"}}, "asn": {"type": "int", "defaultValue": + 65815, "metadata": {"description": "ASN value"}}, "vnet-name": {"defaultValue": + "cntso-ssvcs-vnet", "type": "string"}, "sas-key": {"defaultValue": "se=2019-05-03T20%3A56%3A21Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=sXWM56NFNz0N01bP%2B72tZGATahTH75eSrCdqccGFJbw%3D", + "type": "string"}, "output-params-storage-key": {"defaultValue": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==", + "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", + "type": "string"}}, "variables": {"gateway-name": "[concat(parameters(\\\\\\\\\\\\\\\''deployment-prefix\\\\\\\\\\\\\\\''), + \\\\\\\\\\\\\\\''-gw\\\\\\\\\\\\\\\'')]", "gateway-pip-name": "[concat(parameters(\\\\\\\\\\\\\\\''deployment-prefix\\\\\\\\\\\\\\\''), + \\\\\\\\\\\\\\\''-gw-pip\\\\\\\\\\\\\\\'')]", "gateway-pip-resource-name": "[concat(\\\\\\\\\\\\\\\''Microsoft.Network/publicIpAddresses/\\\\\\\\\\\\\\\'',variables(\\\\\\\\\\\\\\\''gateway-pip-name\\\\\\\\\\\\\\\''))]", + "gateway-subnet-id": "[concat(parameters(\\\\\\\\\\\\\\\''vnet-id\\\\\\\\\\\\\\\''), + \\\\\\\\\\\\\\\''/subnets/GatewaySubnet\\\\\\\\\\\\\\\'')]", "gateway-pip-id": + "[resourceId(\\\\\\\\\\\\\\\''Microsoft.Network/publicIPAddresses\\\\\\\\\\\\\\\'', + variables(\\\\\\\\\\\\\\\''gateway-pip-name\\\\\\\\\\\\\\\''))]"}, "resources": + [{"apiVersion": "2015-06-15", "type": "Microsoft.Network/publicIPAddresses", + "name": "[variables(\\\\\\\\\\\\\\\''gateway-pip-name\\\\\\\\\\\\\\\'')]", "location": + "[resourceGroup().location]", "tags": {}, "properties": {"publicIPAllocationMethod": + "Dynamic"}}, {"name": "[variables(\\\\\\\\\\\\\\\''gateway-name\\\\\\\\\\\\\\\'')]", + "type": "Microsoft.Network/virtualNetworkGateways", "apiVersion": "2015-06-15", + "location": "[resourceGroup().location]", "tags": {"displayName": "[variables(\\\\\\\\\\\\\\\''gateway-name\\\\\\\\\\\\\\\'')]"}, + "dependsOn": ["[variables(\\\\\\\\\\\\\\\''gateway-pip-resource-name\\\\\\\\\\\\\\\'')]"], + "properties": {"ipConfigurations": [{"properties": {"privateIPAllocationMethod": + "Dynamic", "subnet": {"id": "[variables(\\\\\\\\\\\\\\\''gateway-subnet-id\\\\\\\\\\\\\\\'')]"}, + "publicIPAddress": {"id": "[variables(\\\\\\\\\\\\\\\''gateway-pip-id\\\\\\\\\\\\\\\'')]"}}, + "name": "vNetGatewayConfig"}], "enableBgp": "[parameters(\\\\\\\\\\\\\\\''enable-bgp\\\\\\\\\\\\\\\'')]", + "bgpSettings": {"asn": "[parameters(\\\\\\\\\\\\\\\''asn\\\\\\\\\\\\\\\'')]"}, + "sku": {"name": "[parameters(\\\\\\\\\\\\\\\''gateway-sku\\\\\\\\\\\\\\\'')]", + "tier": "[parameters(\\\\\\\\\\\\\\\''gateway-sku\\\\\\\\\\\\\\\'')]"}, "gatewayType": + "[parameters(\\\\\\\\\\\\\\\''gateway-type\\\\\\\\\\\\\\\'')]", "vpnType": "[parameters(\\\\\\\\\\\\\\\''vpn-type\\\\\\\\\\\\\\\'')]"}}], + "outputs": {"shared-services-gateway-name": {"type": "string", "value": "[variables(\\\\\\\\\\\\\\\''gateway-name\\\\\\\\\\\\\\\'')]"}, + "shared-services-gateway-id": {"type": "string", "value": "[resourceId(parameters(\\\\\\\\\\\\\\\''subscription-id\\\\\\\\\\\\\\\''), + parameters(\\\\\\\\\\\\\\\''vnet-resourceGroup\\\\\\\\\\\\\\\''), \\\\\\\\\\\\\\\''Microsoft.Network/virtualNetworkGateways\\\\\\\\\\\\\\\'', + variables(\\\\\\\\\\\\\\\''gateway-name\\\\\\\\\\\\\\\''))]"}}}, "parameters": + {"deployment-prefix": {"value": "cntso-ssvcs"}, "gateway-type": {"value": "vpn"}, + "vpn-type": {"value": "RouteBased"}, "subscription-id": {"value": "00000000-0000-0000-0000-000000000000"}, + "gateway-sku": {"value": "VpnGw1"}, "vnet-id": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}, + "vnet-name": {"value": "cntso-ssvcs-vnet"}, "vnet-resourceGroup": {"value": + "cntso-ssvcs-net-rg"}, "sas-key": {"value": "se=2019-05-03T20%3A56%3A21Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=sXWM56NFNz0N01bP%2B72tZGATahTH75eSrCdqccGFJbw%3D"}, + "output-params-storage-key": {"value": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="}, + "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\\\\\\\''\\\''\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4452' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw","name":"cntso-shared-services-ssvcs-deployment-vgw","properties":{"templateHash":"4449388814057469327","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"gateway-type":{"type":"String","value":"vpn"},"gateway-sku":{"type":"String","value":"VpnGw1"},"vpn-type":{"type":"String","value":"RouteBased"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"enable-bgp":{"type":"Bool","value":true},"asn":{"type":"Int","value":65815},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A56%3A21Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=sXWM56NFNz0N01bP%2B72tZGATahTH75eSrCdqccGFJbw%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T03:56:24.4464934Z","duration":"PT0.356863S","correlationId":"c3ac7099-565a-44ef-918c-6ee7e6ba03dc","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus2"]},{"resourceType":"virtualNetworkGateways","locations":["westus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/publicIPAddresses/cntso-ssvcs-gw-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"cntso-ssvcs-gw-pip"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/cntso-ssvcs-gw","resourceType":"Microsoft.Network/virtualNetworkGateways","resourceName":"cntso-ssvcs-gw"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw/operationStatuses/08586447511013880063?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '2397' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:56:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw/operationStatuses/08586447511013880063?api-version=2018-05-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:56:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw/operationStatuses/08586447511013880063?api-version=2018-05-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:57:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw/operationStatuses/08586447511013880063?api-version=2018-05-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:57:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw/operationStatuses/08586447511013880063?api-version=2018-05-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:58:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw","name":"cntso-shared-services-ssvcs-deployment-vgw","properties":{"templateHash":"4449388814057469327","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"gateway-type":{"type":"String","value":"vpn"},"gateway-sku":{"type":"String","value":"VpnGw1"},"vpn-type":{"type":"String","value":"RouteBased"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"enable-bgp":{"type":"Bool","value":true},"asn":{"type":"Int","value":65815},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A56%3A21Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=sXWM56NFNz0N01bP%2B72tZGATahTH75eSrCdqccGFJbw%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T03:58:19.426999Z","duration":"PT1M55.3373686S","correlationId":"c3ac7099-565a-44ef-918c-6ee7e6ba03dc","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus2"]},{"resourceType":"virtualNetworkGateways","locations":["westus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/publicIPAddresses/cntso-ssvcs-gw-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"cntso-ssvcs-gw-pip"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/cntso-ssvcs-gw","resourceType":"Microsoft.Network/virtualNetworkGateways","resourceName":"cntso-ssvcs-gw"}],"outputs":{"shared-services-gateway-name":{"type":"String","value":"cntso-ssvcs-gw"},"shared-services-gateway-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/cntso-ssvcs-gw"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/publicIPAddresses/cntso-ssvcs-gw-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/cntso-ssvcs-gw"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '3107' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:58:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:58:25 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 03:58:25 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK +- request: + body: 'b''b\''b\\\''{"shared-services-gateway-name": { "value": "cntso-ssvcs-gw"}, + "shared-services-gateway-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/cntso-ssvcs-gw"}}\\\''\''''' + headers: + Connection: + - keep-alive + Content-Length: + - '289' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 03:58:26 GMT + x-ms-version: + - '2018-03-28' + method: PUT + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/vgw/azureDeploy.parameters.output.json + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - xALcpfUPxCvMsSRk7POtzA== + date: + - Fri, 03 May 2019 03:58:25 GMT + etag: + - '"0x8D6CF7B983ED2A9"' + last-modified: + - Fri, 03 May 2019 03:58:26 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created +version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_i_shared_services_jumpbox_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_i_shared_services_jumpbox_creation.yaml deleted file mode 100644 index 09fef68e0..000000000 --- a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_i_shared_services_jumpbox_creation.yaml +++ /dev/null @@ -1,905 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 08:05:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 08:06:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 08:06:19 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/kv/azureDeploy.parameters.output.json - response: - body: {string: '{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"}, - "kv-name": { "value": "org-ssvcs-kv"}, "kv-resourceGroup": { "value": "org-ssvcs-kv-rg"}, - "kv-uri": { "value": "https://org-ssvcs-kv.vault.azure.net/"}}'} - headers: - accept-ranges: [bytes] - content-length: ['334'] - content-range: [bytes 0-333/334] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 08:06:18 GMT'] - etag: ['"0x8D68CD07D3B6893"'] - last-modified: ['Thu, 07 Feb 2019 07:47:20 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [hpe7ZXZbmu4y2j8Suzh5Kw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Fri, 11 Jan 2019 20:26:16 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 08:06:19 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"}, - "vnet-name": { "value": "org-ssvcs-vnet"}, "vnet-resourceGroup": { "value": - "org-ssvcs-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['286'] - content-range: [bytes 0-285/286] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 08:06:19 GMT'] - etag: ['"0x8D68CCF70DDD6BC"'] - last-modified: ['Thu, 07 Feb 2019 07:39:49 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [KMzWOl7QhCIrSbZKqeeLJw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 04:50:57 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 08:06:20 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"}, - "oms-workspace-resourceGroup": { "value": "org-ssvcs-la-rg"}, "oms-workspace-name": - { "value": "org-ssvcs-la"}, "oms-workspace-id": { "value": "4ab3cd77-daf6-46c6-acc7-735a9bc3931e"}, - "oms-primary-shared-key": { "value": "t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['506'] - content-range: [bytes 0-505/506] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 08:06:19 GMT'] - etag: ['"0x8D68CCF36E2D68D"'] - last-modified: ['Thu, 07 Feb 2019 07:38:12 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [PQ3ozLvGlXoR9KX7xfa96A==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 03:51:33 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-jb-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 07 Feb 2019 08:06:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "SharedServicesJbPermittedResourceTypes", - "description": "Policy to prevent the creation of unauthorized resource types - within resource group.", "policyRule": {"if": {"not": {"field": "type", "in": - ["Microsoft.Compute/availabilitySets", "Microsoft.Storage/storageAccounts", - "Microsoft.Network/networkInterfaces", "Microsoft.Compute/virtualMachines", - "Microsoft.Compute/disks", "Microsoft.Compute/virtualMachines/extensions"]}}, - "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['522'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesJbPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"SharedServicesJbPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within resource group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.Compute/availabilitySets","Microsoft.Storage/storageAccounts","Microsoft.Network/networkInterfaces","Microsoft.Compute/virtualMachines","Microsoft.Compute/disks","Microsoft.Compute/virtualMachines/extensions"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesJbPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"SharedServicesJbPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['771'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "SharedServicesJbPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesJbPermittedResourceTypes"}, - "name": "SharedServicesJbPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['291'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesJbPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"SharedServicesJbPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesJbPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesJbPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"SharedServicesJbPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['654'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "denyPublicIP", "description": "Policy to - prevent the creation of public ip resources", "policyRule": {"if": {"field": - "type", "in": ["Microsoft.Network/publicIPAddresses"]}, "then": {"effect": "audit"}}, - "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['269'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"denyPublicIP","policyType":"Custom","description":"Policy - to prevent the creation of public ip resources","metadata":{"category":"VDC"},"policyRule":{"if":{"field":"type","in":["Microsoft.Network/publicIPAddresses"]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","type":"Microsoft.Authorization/policyDefinitions","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['472'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "denyPublicIP", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP"}, - "name": "denyPublicIP"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['213'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"denyPublicIP","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP","type":"Microsoft.Authorization/policyAssignments","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['550'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 38269 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['27742'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-jb?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-jb","name":"org-shared-services-ssvcs-deployment-jb","properties":{"templateHash":"12107979256378009379","parameters":{"organization-name":{"type":"String","value":"org"},"deployment-prefix":{"type":"String","value":"org-ssvcs"},"oms-workspace-id":{"type":"String","value":"4ab3cd77-daf6-46c6-acc7-735a9bc3931e"},"oms-primary-shared-key":{"type":"String","value":"t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="},"kv-uri":{"type":"String","value":"https://org-ssvcs-kv.vault.azure.net/"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"aad-principal-id":{"type":"String","value":""},"aad-certificate-thumb":{"type":"String","value":""},"aad-certificate-url":{"type":"String","value":""},"jb-key":{"type":"String","value":""},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"jb-asg-name":{"type":"String","value":"jb"},"shared-services-subnet-name":{"type":"String","value":"sharedsvcs"},"extension-name":{"type":"String","value":"jb"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"admin-user"}},"windows-virtualMachine-count":{"type":"Int","value":1},"windows-virtualMachine-size":{"type":"String","value":"Standard_DS2_v2"},"windows-os-type":{"type":"String","value":"Windows"},"windows-os-image":{"type":"Object","value":{"offer":"WindowsServer","publisher":"MicrosoftWindowsServer","sku":"2016-Datacenter"}},"linux-virtualMachine-count":{"type":"Int","value":1},"linux-virtualMachine-size":{"type":"String","value":"Standard_DS2_v2"},"linux-os-type":{"type":"String","value":"Linux"},"linux-os-image":{"type":"Object","value":{"offer":"UbuntuServer","publisher":"Canonical","sku":"14.04.5-LTS","version":"latest"}},"enable-encryption":{"type":"Bool","value":false},"encryption-secrets":{"type":"Array","value":[{"sourceVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"vaultCertificates":[{"certificateUrl":"","certificateStore":"My"}]}]},"empty-array":{"type":"Array","value":[]},"linux-sequence-version":{"type":"String","value":"a37ae7a2115d"},"kv-name":{"type":"String","value":"org-ssvcs-kv"},"kv-resourceGroup":{"type":"String","value":"org-ssvcs-kv-rg"},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-ssvcs-la-rg"},"oms-workspace-name":{"type":"String","value":"org-ssvcs-la"},"sas-key":{"type":"String","value":"se=2019-02-08T00%3A05%3A58Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=eMCiZO5RRYU21f8/FF%2B4yRuTXM4Rz6GDyx7kuyelRfw%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-07T08:06:29.1327729Z","duration":"PT1.0105384S","correlationId":"a6532824-319e-48af-bfdc-246c3aa38cca","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/availabilitySets/org-ssvcs-jb-win-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-ssvcs-jb-win-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Network/networkInterfaces/org-ssvcs-jb-win-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-ssvcs-jb-win-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Storage/storageAccounts/orgcusssjbjbdiagqyw","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssjbjbdiagqyw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Storage/storageAccounts/orgcusssjbjbdiagqyw","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssjbjbdiagqyw","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-linux-vm1/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/NetworkWatcher"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/vm1OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/availabilitySets/org-ssvcs-jb-linux-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-ssvcs-jb-linux-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Network/networkInterfaces/org-ssvcs-jb-linux-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-ssvcs-jb-linux-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Storage/storageAccounts/orgcusssjbjbdiagqyw","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssjbjbdiagqyw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Storage/storageAccounts/orgcusssjbjbdiagqyw","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssjbjbdiagqyw","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-linux-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-linux-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-linux-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-linux-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-linux-vm1/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1/extensions/linux-NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-linux-vm1/linux-NetworkWatcher"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-jb/operationStatuses/08586520800973554789?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['15641'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-jb/operationStatuses/08586520800973554789?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:06:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-jb/operationStatuses/08586520800973554789?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:07:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-jb/operationStatuses/08586520800973554789?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:08:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-jb/operationStatuses/08586520800973554789?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:08:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-jb/operationStatuses/08586520800973554789?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:09:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-jb?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-jb","name":"org-shared-services-ssvcs-deployment-jb","properties":{"templateHash":"12107979256378009379","parameters":{"organization-name":{"type":"String","value":"org"},"deployment-prefix":{"type":"String","value":"org-ssvcs"},"oms-workspace-id":{"type":"String","value":"4ab3cd77-daf6-46c6-acc7-735a9bc3931e"},"oms-primary-shared-key":{"type":"String","value":"t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="},"kv-uri":{"type":"String","value":"https://org-ssvcs-kv.vault.azure.net/"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"aad-principal-id":{"type":"String","value":""},"aad-certificate-thumb":{"type":"String","value":""},"aad-certificate-url":{"type":"String","value":""},"jb-key":{"type":"String","value":""},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"jb-asg-name":{"type":"String","value":"jb"},"shared-services-subnet-name":{"type":"String","value":"sharedsvcs"},"extension-name":{"type":"String","value":"jb"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"admin-user"}},"windows-virtualMachine-count":{"type":"Int","value":1},"windows-virtualMachine-size":{"type":"String","value":"Standard_DS2_v2"},"windows-os-type":{"type":"String","value":"Windows"},"windows-os-image":{"type":"Object","value":{"offer":"WindowsServer","publisher":"MicrosoftWindowsServer","sku":"2016-Datacenter"}},"linux-virtualMachine-count":{"type":"Int","value":1},"linux-virtualMachine-size":{"type":"String","value":"Standard_DS2_v2"},"linux-os-type":{"type":"String","value":"Linux"},"linux-os-image":{"type":"Object","value":{"offer":"UbuntuServer","publisher":"Canonical","sku":"14.04.5-LTS","version":"latest"}},"enable-encryption":{"type":"Bool","value":false},"encryption-secrets":{"type":"Array","value":[{"sourceVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"vaultCertificates":[{"certificateUrl":"","certificateStore":"My"}]}]},"empty-array":{"type":"Array","value":[]},"linux-sequence-version":{"type":"String","value":"a37ae7a2115d"},"kv-name":{"type":"String","value":"org-ssvcs-kv"},"kv-resourceGroup":{"type":"String","value":"org-ssvcs-kv-rg"},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-ssvcs-la-rg"},"oms-workspace-name":{"type":"String","value":"org-ssvcs-la"},"sas-key":{"type":"String","value":"se=2019-02-08T00%3A05%3A58Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=eMCiZO5RRYU21f8/FF%2B4yRuTXM4Rz6GDyx7kuyelRfw%3D"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-07T08:08:44.5382191Z","duration":"PT2M16.4159846S","correlationId":"a6532824-319e-48af-bfdc-246c3aa38cca","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/availabilitySets/org-ssvcs-jb-win-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-ssvcs-jb-win-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Network/networkInterfaces/org-ssvcs-jb-win-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-ssvcs-jb-win-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Storage/storageAccounts/orgcusssjbjbdiagqyw","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssjbjbdiagqyw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Storage/storageAccounts/orgcusssjbjbdiagqyw","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssjbjbdiagqyw","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-linux-vm1/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/NetworkWatcher"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/vm1OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/availabilitySets/org-ssvcs-jb-linux-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-ssvcs-jb-linux-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Network/networkInterfaces/org-ssvcs-jb-linux-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-ssvcs-jb-linux-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Storage/storageAccounts/orgcusssjbjbdiagqyw","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssjbjbdiagqyw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Storage/storageAccounts/orgcusssjbjbdiagqyw","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssjbjbdiagqyw","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-linux-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-linux-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-linux-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-jb-linux-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-linux-vm1/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1/extensions/linux-NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-jb-linux-vm1/linux-NetworkWatcher"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/availabilitySets/org-ssvcs-jb-linux-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/availabilitySets/org-ssvcs-jb-win-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1/extensions/linux-NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-linux-vm1/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-jb-win-vm1/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Network/networkInterfaces/org-ssvcs-jb-linux-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Network/networkInterfaces/org-ssvcs-jb-win-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-jb-rg/providers/Microsoft.Storage/storageAccounts/orgcusssjbjbdiagqyw"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['18227'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:09:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 08:09:07 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Thu, 07 Feb 2019 08:09:07 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Thu, 07 Feb 2019 08:09:07 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/jb/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Thu, 07 Feb 2019 08:09:07 GMT'] - etag: ['"0x8D68CD388B489B2"'] - last-modified: ['Thu, 07 Feb 2019 08:09:07 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_i_shared_services_network_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_i_shared_services_network_creation.yaml new file mode 100644 index 000000000..3b2d58f85 --- /dev/null +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_i_shared_services_network_creation.yaml @@ -0,0 +1,519 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:58:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:58:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:58:26 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json + response: + body: + string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}, + "vnet-name": { "value": "cntso-ssvcs-vnet"}, "vnet-resourceGroup": { "value": + "cntso-ssvcs-net-rg"}}' + headers: + accept-ranges: + - bytes + content-length: + - '314' + content-range: + - bytes 0-313/314 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:58:26 GMT + etag: + - '"0x8D6CF7B3A133AA8"' + last-modified: + - Fri, 03 May 2019 03:55:48 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - uuncXP3nwK/2kckRf2nBzg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:42:15 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:58:26 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/vgw/azureDeploy.parameters.output.json + response: + body: + string: '{"shared-services-gateway-name": { "value": "cntso-ssvcs-gw"}, "shared-services-gateway-id": + { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/cntso-ssvcs-gw"}}' + headers: + accept-ranges: + - bytes + content-length: + - '289' + content-range: + - bytes 0-288/289 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:58:26 GMT + etag: + - '"0x8D6CF7B983ED2A9"' + last-modified: + - Fri, 03 May 2019 03:58:26 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - xALcpfUPxCvMsSRk7POtzA== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 23:02:23 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg?api-version=2018-05-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 03:58:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: 'b''b\''b\\\''b\\\\\\\''b\\\\\\\\\\\\\\\''b\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''{"properties": + {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"local-gateway-name": {"type": "string", + "metadata": {"description": "Specifies the local Virtual Network Gateway name"}}, + "local-subscription-id": {"type": "string", "metadata": {"description": "Local + subscription id, this value is used to create a VPN connection between a local + and remote Virtual Network Gateway"}}, "local-vnet-resourceGroup": {"type": + "string", "metadata": {"description": "Local resource group that contains the + Virtual Network, this value is used to create a local and remote Virtual Network + Gateway"}}, "vpn-shared-key": {"type": "string", "metadata": {"description": + "Specifies a VPN shared key. The same value has to be specified on both Virtual + Network Gateways"}}, "local-gateway-location": {"type": "string", "metadata": + {"description": "Specifies the remote Virtual Network Gateway location"}}, "remote-gateway-name": + {"type": "string", "metadata": {"description": "Specifies the remote Virtual + Network Gateway"}}, "remote-vnet-resourceGroup": {"type": "string", "metadata": + {"description": "Remote Virtual Network resource group name"}}, "remote-subscription-id": + {"type": "string", "metadata": {"description": "Remote Subscription Id"}}, "enable-bgp": + {"type": "bool", "defaultValue": false, "metadata": {"description": "Value to + specify if BGP is enabled or not"}}, "remote-connection-name": {"type": "string", + "metadata": {"description": "Remote connection name"}}, "vnet-id": {"defaultValue": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet", + "type": "string"}, "vnet-name": {"defaultValue": "cntso-ssvcs-vnet", "type": + "string"}, "vnet-resourceGroup": {"defaultValue": "cntso-ssvcs-net-rg", "type": + "string"}, "shared-services-gateway-name": {"defaultValue": "cntso-ssvcs-gw", + "type": "string"}, "shared-services-gateway-id": {"defaultValue": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/cntso-ssvcs-gw", + "type": "string"}, "sas-key": {"defaultValue": "se=2019-05-03T20%3A58%3A26Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ISupQU5yed%2Blr0tIA01hzqojrdlhSBNVnCFkEMp%2BjZk%3D", + "type": "string"}, "output-params-storage-key": {"defaultValue": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==", + "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", + "type": "string"}}, "variables": {"local-gateway-resource-id": "[resourceId(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-subscription-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''), + parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-vnet-resourceGroup\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'') + ,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''Microsoft.Network/virtualNetworkGateways\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', + parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-gateway-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]", + "remote-gateway-resource-id": "[resourceId(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''remote-subscription-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''), + parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''remote-vnet-resourceGroup\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'') + ,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''Microsoft.Network/virtualNetworkGateways\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', + parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''remote-gateway-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]"}, + "resources": [{"apiVersion": "2017-05-10", "name": "nestedDeployVGWConnection", + "type": "Microsoft.Resources/deployments", "resourceGroup": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-vnet-resourceGroup\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", + "subscriptionId": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-subscription-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", + "properties": {"mode": "Incremental", "template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": + [{"name": "[concat(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-to-\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', + parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''remote-connection-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]", + "type": "Microsoft.Network/connections", "apiVersion": "2017-10-01", "location": + "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-gateway-location\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", + "tags": {"connectionName": "[concat(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-to-\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', + parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''remote-connection-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]"}, + "properties": {"virtualNetworkGateway1": {"id": "[variables(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-gateway-resource-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}, + "virtualNetworkGateway2": {"id": "[variables(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''remote-gateway-resource-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}, + "enableBgp": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''enable-bgp\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", + "connectionType": "VNet2VNet", "routingWeight": 3, "sharedKey": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''vpn-shared-key\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}}]}}}], + "outputs": {}}, "parameters": {"local-subscription-id": {"value": "00000000-0000-0000-0000-000000000000"}, + "local-vnet-resourceGroup": {"value": "cntso-ssvcs-net-rg"}, "local-gateway-name": + {"value": "cntso-ssvcs-gw"}, "local-gateway-location": {"value": "West US 2"}, + "vpn-shared-key": {"value": "asodgfhjkaw4tu0w9vuijv0qu3409tu"}, "remote-subscription-id": + {"value": "00000000-0000-0000-0000-000000000000"}, "remote-gateway-name": {"value": + "cntso-onprem-gw"}, "remote-vnet-resourceGroup": {"value": "cntso-onprem-net-rg"}, + "remote-connection-name": {"value": "onprem"}, "enable-bgp": {"value": false}, + "vnet-id": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}, + "vnet-name": {"value": "cntso-ssvcs-vnet"}, "vnet-resourceGroup": {"value": + "cntso-ssvcs-net-rg"}, "shared-services-gateway-name": {"value": "cntso-ssvcs-gw"}, + "shared-services-gateway-id": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/cntso-ssvcs-gw"}, + "sas-key": {"value": "se=2019-05-03T20%3A58%3A26Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ISupQU5yed%2Blr0tIA01hzqojrdlhSBNVnCFkEMp%2BjZk%3D"}, + "output-params-storage-key": {"value": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="}, + "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''\\\\\\\\\\\\\\\''\\\\\\\''\\\''\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '5820' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw-connect?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw-connect","name":"cntso-shared-services-ssvcs-deployment-vgw-connect","properties":{"templateHash":"1636526899972921708","parameters":{"local-gateway-name":{"type":"String","value":"cntso-ssvcs-gw"},"local-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"local-vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"vpn-shared-key":{"type":"String","value":"asodgfhjkaw4tu0w9vuijv0qu3409tu"},"local-gateway-location":{"type":"String","value":"West + US 2"},"remote-gateway-name":{"type":"String","value":"cntso-onprem-gw"},"remote-vnet-resourceGroup":{"type":"String","value":"cntso-onprem-net-rg"},"remote-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"enable-bgp":{"type":"Bool","value":false},"remote-connection-name":{"type":"String","value":"onprem"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"shared-services-gateway-name":{"type":"String","value":"cntso-ssvcs-gw"},"shared-services-gateway-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/cntso-ssvcs-gw"},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A58%3A26Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ISupQU5yed%2Blr0tIA01hzqojrdlhSBNVnCFkEMp%2BjZk%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T03:58:28.9134001Z","duration":"PT0.0457294S","correlationId":"b4b24787-9105-4a3e-95ed-a1d9c1626459","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw-connect/operationStatuses/08586447509766099655?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '2448' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:58:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw-connect/operationStatuses/08586447509766099655?api-version=2018-05-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:58:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw-connect?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-vgw-connect","name":"cntso-shared-services-ssvcs-deployment-vgw-connect","properties":{"templateHash":"1636526899972921708","parameters":{"local-gateway-name":{"type":"String","value":"cntso-ssvcs-gw"},"local-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"local-vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"vpn-shared-key":{"type":"String","value":"asodgfhjkaw4tu0w9vuijv0qu3409tu"},"local-gateway-location":{"type":"String","value":"West + US 2"},"remote-gateway-name":{"type":"String","value":"cntso-onprem-gw"},"remote-vnet-resourceGroup":{"type":"String","value":"cntso-onprem-net-rg"},"remote-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"enable-bgp":{"type":"Bool","value":false},"remote-connection-name":{"type":"String","value":"onprem"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"shared-services-gateway-name":{"type":"String","value":"cntso-ssvcs-gw"},"shared-services-gateway-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworkGateways/cntso-ssvcs-gw"},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A58%3A26Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ISupQU5yed%2Blr0tIA01hzqojrdlhSBNVnCFkEMp%2BjZk%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T03:58:52.9288148Z","duration":"PT24.0611441S","correlationId":"b4b24787-9105-4a3e-95ed-a1d9c1626459","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/connections/local-to-onprem"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '2651' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:58:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:58:59 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 03:58:58 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Connection: + - keep-alive + Content-Length: + - '2' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 03:58:59 GMT + x-ms-version: + - '2018-03-28' + method: PUT + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/vgw-connection/azureDeploy.parameters.output.json + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - mZFLkyvTelC5g8XnyQrpOw== + date: + - Fri, 03 May 2019 03:58:58 GMT + etag: + - '"0x8D6CF7BAC2EA4C9"' + last-modified: + - Fri, 03 May 2019 03:58:59 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created +version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_j_shared_services_adds_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_j_shared_services_adds_creation.yaml deleted file mode 100644 index 60d164d66..000000000 --- a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_j_shared_services_adds_creation.yaml +++ /dev/null @@ -1,1297 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:48:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - azure-mgmt-storage/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 - response: - body: {string: '{"keys":[{"keyName":"key1","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA==","permissions":"FULL"},{"keyName":"key2","value":"i6qj7OB3AYeCFizUvPPi6d9uSvbMkEdVmGDVwhwTw9qmtFo597nyvohXgOMiDzYb8nMuu1ER9gumkA66Fi+tEw==","permissions":"FULL"}]}'} - headers: - cache-control: [no-cache] - content-length: ['288'] - content-type: [application/json] - date: ['Thu, 07 Feb 2019 07:48:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0'] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"displayName": "permittedRegions", "description": "Policy - to restrict resource creation to only certain regions", "policyRule": {"if": - {"not": {"field": "location", "in": ["eastus", "westus", "westus2", "centralus", - "westcentralus", "westeurope"]}}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['329'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"permittedRegions","policyType":"Custom","description":"Policy - to restrict resource creation to only certain regions","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"location","in":["eastus","westus","westus2","centralus","westcentralus","westeurope"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","type":"Microsoft.Authorization/policyDefinitions","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['534'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "permittedRegions", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions"}, - "name": "permittedRegions"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['225'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"permittedRegions","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/permittedRegions","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/permittedRegions","type":"Microsoft.Authorization/policyAssignments","name":"permittedRegions"}'} - headers: - cache-control: [no-cache] - content-length: ['494'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStandardTags", "description": "Policy - to enforce standard tags", "policyRule": {"if": {"anyOf": [{"field": "tags.environment", - "exists": false}, {"field": "tags.appCode", "exists": false}, {"field": "tags.managedBy", - "exists": false}, {"field": "tags.source", "exists": false}, {"field": "tags.dataClassification", - "exists": false}, {"field": "tags.supportTier", "exists": false}, {"field": - "tags.costCenter", "exists": false}]}, "then": {"effect": "audit"}}, "metadata": - {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['532'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStandardTags","policyType":"Custom","description":"Policy - to enforce standard tags","metadata":{"category":"VDC"},"policyRule":{"if":{"anyOf":[{"field":"tags.environment","exists":false},{"field":"tags.appCode","exists":false},{"field":"tags.managedBy","exists":false},{"field":"tags.source","exists":false},{"field":"tags.dataClassification","exists":false},{"field":"tags.supportTier","exists":false},{"field":"tags.costCenter","exists":false}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['724'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStandardTags", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags"}, - "name": "enforceStandardTags"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['234'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStandardTags","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStandardTags","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStandardTags","type":"Microsoft.Authorization/policyAssignments","name":"enforceStandardTags"}'} - headers: - cache-control: [no-cache] - content-length: ['506'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceAllowedVMImages", "description": - "Policy to enforce the use of specific VM Images", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Compute/virtualMachines"}, {"not": {"field": - "Microsoft.Compute/imageId", "in": "[parameters(''imageIds'')]"}}]}, "then": - {"effect": "audit"}}, "metadata": {"category": "VDC"}, "parameters": {"imageIds": - {"type": "array", "metadata": {"description": "The list of allowed VM Images.", - "displayName": "Allowed VM Images"}}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['515'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceAllowedVMImages","policyType":"Custom","description":"Policy - to enforce the use of specific VM Images","metadata":{"category":"VDC"},"parameters":{"imageIds":{"type":"Array","metadata":{"description":"The - list of allowed VM Images.","displayName":"Allowed VM Images"}}},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Compute/virtualMachines"},{"not":{"field":"Microsoft.Compute/imageId","in":"[parameters(''imageIds'')]"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceAllowedVMImages","type":"Microsoft.Authorization/policyDefinitions","name":"enforceAllowedVMImages"}'} - headers: - cache-control: [no-cache] - content-length: ['723'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "auditNSGUnassigned", "description": "Policy - that audits all NSGs that are not assigned to a NIC or Subnet", "policyRule": - {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Network/networkSecurityGroups"}, - {"allOf": [{"not": {"field": "Microsoft.Network/networkSecurityGroups/subnets[*].id", - "exists": true}}, {"not": {"field": "Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id", - "exists": true}}]}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['518'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"auditNSGUnassigned","policyType":"Custom","description":"Policy - that audits all NSGs that are not assigned to a NIC or Subnet","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Network/networkSecurityGroups"},{"allOf":[{"not":{"field":"Microsoft.Network/networkSecurityGroups/subnets[*].id","exists":true}},{"not":{"field":"Microsoft.Network/networkSecurityGroups/networkInterfaces[*].id","exists":true}}]}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","type":"Microsoft.Authorization/policyDefinitions","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['721'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "auditNSGUnassigned", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned"}, - "name": "auditNSGUnassigned"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['231'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"auditNSGUnassigned","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/auditNSGUnassigned","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/auditNSGUnassigned","type":"Microsoft.Authorization/policyAssignments","name":"auditNSGUnassigned"}'} - headers: - cache-control: [no-cache] - content-length: ['502'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageEncryption", "description": - "Policy to restrict storage account creation to only those applying encryption", - "policyRule": {"if": {"allOf": [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, - {"not": {"field": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "equals": "true"}}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageEncryption","policyType":"Custom","description":"Policy - to restrict storage account creation to only those applying encryption","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/enableBlobEncryption","equals":"true"}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['635'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageEncryption", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption"}, - "name": "enforceStorageEncryption"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['249'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageEncryption","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageEncryption","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageEncryption","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageEncryption"}'} - headers: - cache-control: [no-cache] - content-length: ['526'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageHttpsAccess", "description": - "Policy to enforce Https Access", "policyRule": {"if": {"allOf": [{"field": - "type", "equals": "Microsoft.Storage/storageAccounts"}, {"field": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "equals": "false"}]}, "then": {"effect": "audit"}}, "metadata": {"category": - "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['364'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageHttpsAccess","policyType":"Custom","description":"Policy - to enforce Https Access","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"field":"Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly","equals":"false"}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['588'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageHttpsAccess", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess"}, - "name": "enforceStorageHttpsAccess"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['252'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageHttpsAccess","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageHttpsAccess","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageHttpsAccess","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageHttpsAccess"}'} - headers: - cache-control: [no-cache] - content-length: ['530'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "enforceStorageServiceEndpoint", "description": - "Policy to enforce Storage Account service endpoint", "policyRule": {"if": {"allOf": - [{"field": "type", "equals": "Microsoft.Storage/storageAccounts"}, {"not": {"field": - "Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id", "exists": - true}}]}, "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['407'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"enforceStorageServiceEndpoint","policyType":"Custom","description":"Policy - to enforce Storage Account service endpoint","metadata":{"category":"VDC"},"policyRule":{"if":{"allOf":[{"field":"type","equals":"Microsoft.Storage/storageAccounts"},{"not":{"field":"Microsoft.Storage/storageAccounts/networkAcls.virtualNetworkRules[*].id","exists":true}}]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyDefinitions","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['638'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "enforceStorageServiceEndpoint", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint"}, - "name": "enforceStorageServiceEndpoint"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['264'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"enforceStorageServiceEndpoint","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/enforceStorageServiceEndpoint","scope":"/subscriptions/00000000-0000-0000-0000-000000000000"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/enforceStorageServiceEndpoint","type":"Microsoft.Authorization/policyAssignments","name":"enforceStorageServiceEndpoint"}'} - headers: - cache-control: [no-cache] - content-length: ['546'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:48:51 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/kv/azureDeploy.parameters.output.json - response: - body: {string: '{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"}, - "kv-name": { "value": "org-ssvcs-kv"}, "kv-resourceGroup": { "value": "org-ssvcs-kv-rg"}, - "kv-uri": { "value": "https://org-ssvcs-kv.vault.azure.net/"}}'} - headers: - accept-ranges: [bytes] - content-length: ['334'] - content-range: [bytes 0-333/334] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 07:48:51 GMT'] - etag: ['"0x8D68CD07D3B6893"'] - last-modified: ['Thu, 07 Feb 2019 07:47:20 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [hpe7ZXZbmu4y2j8Suzh5Kw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Fri, 11 Jan 2019 20:26:16 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:48:51 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json - response: - body: {string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"}, - "vnet-name": { "value": "org-ssvcs-vnet"}, "vnet-resourceGroup": { "value": - "org-ssvcs-net-rg"}}'} - headers: - accept-ranges: [bytes] - content-length: ['286'] - content-range: [bytes 0-285/286] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 07:48:51 GMT'] - etag: ['"0x8D68CCF70DDD6BC"'] - last-modified: ['Thu, 07 Feb 2019 07:39:49 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [KMzWOl7QhCIrSbZKqeeLJw==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 04:50:57 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 07:48:52 GMT'] - x-ms-range: [bytes=0-33554431] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json - response: - body: {string: '{"oms-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"}, - "oms-workspace-resourceGroup": { "value": "org-ssvcs-la-rg"}, "oms-workspace-name": - { "value": "org-ssvcs-la"}, "oms-workspace-id": { "value": "4ab3cd77-daf6-46c6-acc7-735a9bc3931e"}, - "oms-primary-shared-key": { "value": "t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="}}'} - headers: - accept-ranges: [bytes] - content-length: ['506'] - content-range: [bytes 0-505/506] - content-type: [application/octet-stream] - date: ['Thu, 07 Feb 2019 07:48:52 GMT'] - etag: ['"0x8D68CCF36E2D68D"'] - last-modified: ['Thu, 07 Feb 2019 07:38:12 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - x-ms-blob-content-md5: [PQ3ozLvGlXoR9KX7xfa96A==] - x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Sat, 12 Jan 2019 03:51:33 GMT'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 206, message: Partial Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: HEAD - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Thu, 07 Feb 2019 07:48:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - status: {code: 204, message: No Content} -- request: - body: '{"properties": {"displayName": "SharedServicesDnsPermittedResourceTypes", - "description": "Policy to prevent the creation of unauthorized resource types - within the resource group.", "policyRule": {"if": {"not": {"field": "type", - "in": ["Microsoft.Compute/availabilitySets", "Microsoft.Storage/storageAccounts", - "Microsoft.Network/networkInterfaces", "Microsoft.Compute/virtualMachines", - "Microsoft.Compute/disks", "Microsoft.Compute/virtualMachines/extensions"]}}, - "then": {"effect": "audit"}}, "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['527'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesDnsPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"SharedServicesDnsPermittedResourceTypes","policyType":"Custom","description":"Policy - to prevent the creation of unauthorized resource types within the resource - group.","metadata":{"category":"VDC"},"policyRule":{"if":{"not":{"field":"type","in":["Microsoft.Compute/availabilitySets","Microsoft.Storage/storageAccounts","Microsoft.Network/networkInterfaces","Microsoft.Compute/virtualMachines","Microsoft.Compute/disks","Microsoft.Compute/virtualMachines/extensions"]}},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesDnsPermittedResourceTypes","type":"Microsoft.Authorization/policyDefinitions","name":"SharedServicesDnsPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['778'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "SharedServicesDnsPermittedResourceTypes", - "policyDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesDnsPermittedResourceTypes"}, - "name": "SharedServicesDnsPermittedResourceTypes"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['294'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesDnsPermittedResourceTypes?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"SharedServicesDnsPermittedResourceTypes","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/SharedServicesDnsPermittedResourceTypes","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Authorization/policyAssignments/SharedServicesDnsPermittedResourceTypes","type":"Microsoft.Authorization/policyAssignments","name":"SharedServicesDnsPermittedResourceTypes"}'} - headers: - cache-control: [no-cache] - content-length: ['662'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '{"properties": {"displayName": "denyPublicIP", "description": "Policy to - prevent the creation of public ip resources", "policyRule": {"if": {"field": - "type", "in": ["Microsoft.Network/publicIPAddresses"]}, "then": {"effect": "audit"}}, - "metadata": {"category": "VDC"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['269'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"properties":{"displayName":"denyPublicIP","policyType":"Custom","description":"Policy - to prevent the creation of public ip resources","metadata":{"category":"VDC"},"policyRule":{"if":{"field":"type","in":["Microsoft.Network/publicIPAddresses"]},"then":{"effect":"audit"}}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","type":"Microsoft.Authorization/policyDefinitions","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['472'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: 'b''b\''{"properties": {"displayName": "denyPublicIP", "policyDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP"}, - "name": "denyPublicIP"}\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['213'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - policyclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP?api-version=2018-05-01 - response: - body: {string: '{"sku":{"name":"A0","tier":"Free"},"properties":{"displayName":"denyPublicIP","policyDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/denyPublicIP","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Authorization/policyAssignments/denyPublicIP","type":"Microsoft.Authorization/policyAssignments","name":"denyPublicIP"}'} - headers: - cache-control: [no-cache] - content-length: ['554'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - status: {code: 201, message: Created} -- request: - body: '!!! The request body has been omitted from the recording because its size - 40924 is larger than 10KB. !!!' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['29566'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds","name":"org-shared-services-ssvcs-deployment-adds","properties":{"templateHash":"12471546711820715153","parameters":{"deployment-prefix":{"type":"String","value":"org-ssvcs"},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A48%3A41Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=Rj7xdjiVoKmvyJdM5SQ7MeGflz9RDTWNRBbAqIwB1jk%3D"},"output-params-storage-account-name":{"type":"String","value":"storage"},"oms-workspace-id":{"type":"String","value":"4ab3cd77-daf6-46c6-acc7-735a9bc3931e"},"oms-primary-shared-key":{"type":"String","value":"t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="},"adds-address-start":{"type":"String","value":"10.4.0.46"},"kv-uri":{"type":"String","value":"https://org-ssvcs-kv.vault.azure.net/"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"aad-principal-id":{"type":"String","value":""},"aad-certificate-thumb":{"type":"String","value":""},"aad-certificate-url":{"type":"String","value":""},"adds-key":{"type":"String","value":""},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"vnet-dns-servers":{"type":"Array","value":["10.4.0.46"]},"dc-asg-name":{"type":"String","value":"dc"},"shared-services-subnet-name":{"type":"String","value":"sharedsvcs"},"extension-name":{"type":"String","value":"adds"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"admin-user"}},"virtualMachine-count":{"type":"Int","value":2},"virtualMachine-size":{"type":"String","value":"Standard_DS2_v2"},"os-type":{"type":"String","value":"Windows"},"os-image":{"type":"Object","value":{"offer":"WindowsServer","publisher":"MicrosoftWindowsServer","sku":"2016-Datacenter"}},"domain-name":{"type":"String","value":"org.com"},"on-premises-primaryDC-IP":{"type":"String","value":"192.168.1.4"},"on-premises-AD-Sitename":{"type":"String","value":"Cloud-Site"},"dc-drive-letter":{"type":"String","value":"F"},"domain-admin-user":{"type":"String","value":"org"},"domain-admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"org"}},"enable-encryption":{"type":"Bool","value":false},"encryption-secrets":{"type":"Array","value":[{"sourceVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"vaultCertificates":[{"certificateUrl":"","certificateStore":"My"}]}]},"kv-name":{"type":"String","value":"org-ssvcs-kv"},"kv-resourceGroup":{"type":"String","value":"org-ssvcs-kv-rg"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-ssvcs-la-rg"},"oms-workspace-name":{"type":"String","value":"org-ssvcs-la"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-07T07:48:58.7201018Z","duration":"PT1.102202S","correlationId":"5e807e3b-9a80-46a9-9b53-e0932acf5c72","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/vm1DSCInstallADDSNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1DSCInstallADDSNestedDeployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/vm2DSCInstallADDSNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2DSCInstallADDSNestedDeployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-ssvcs-vnet","apiVersion":"2018-02-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/UpdateDNSServerNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"UpdateDNSServerNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/availabilitySets/org-ssvcs-adds-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-ssvcs-adds-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Network/networkInterfaces/org-ssvcs-adds-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-ssvcs-adds-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Storage/storageAccounts/orgcusssaddsdiagnvh","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssaddsdiagnvh"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Storage/storageAccounts/orgcusssaddsdiagnvh","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssaddsdiagnvh","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/NetworkWatcher"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/availabilitySets/org-ssvcs-adds-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-ssvcs-adds-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Network/networkInterfaces/org-ssvcs-adds-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-ssvcs-adds-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Storage/storageAccounts/orgcusssaddsdiagnvh","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssaddsdiagnvh"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Storage/storageAccounts/orgcusssaddsdiagnvh","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssaddsdiagnvh","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/NetworkWatcher"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/vm1OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/vm2OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/vm1DSCInstallADDSNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1DSCInstallADDSNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/vm2DSCInstallADDSNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2DSCInstallADDSNestedDeployment"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['39315'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:48:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:49:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:49:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:50:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:51:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:51:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:52:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:52:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:53:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:53:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:54:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:54:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:55:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:55:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:56:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:56:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:57:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:57:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:58:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:58:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:59:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 07:59:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds/operationStatuses/08586520811478598805?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:00:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Darwin-18.2.0-x86_64-i386-64bit) msrest/0.6.2 msrest_azure/0.5.1 - resourcemanagementclient/2.0.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/org-shared-services-ssvcs-deployment-adds","name":"org-shared-services-ssvcs-deployment-adds","properties":{"templateHash":"12471546711820715153","parameters":{"deployment-prefix":{"type":"String","value":"org-ssvcs"},"sas-key":{"type":"String","value":"se=2019-02-07T23%3A48%3A41Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=Rj7xdjiVoKmvyJdM5SQ7MeGflz9RDTWNRBbAqIwB1jk%3D"},"output-params-storage-account-name":{"type":"String","value":"storage"},"oms-workspace-id":{"type":"String","value":"4ab3cd77-daf6-46c6-acc7-735a9bc3931e"},"oms-primary-shared-key":{"type":"String","value":"t0b+2+T0TvtnyX8ka5nuZcoWlRhpdSy7x6+ZO0W4y8gVOa730jyMq0g0CdsJYjt8wxhk+CTPtnxZitri0aLoCw=="},"adds-address-start":{"type":"String","value":"10.4.0.46"},"kv-uri":{"type":"String","value":"https://org-ssvcs-kv.vault.azure.net/"},"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"aad-principal-id":{"type":"String","value":""},"aad-certificate-thumb":{"type":"String","value":""},"aad-certificate-url":{"type":"String","value":""},"adds-key":{"type":"String","value":""},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"org-ssvcs-net-rg"},"vnet-name":{"type":"String","value":"org-ssvcs-vnet"},"vnet-dns-servers":{"type":"Array","value":["10.4.0.46"]},"dc-asg-name":{"type":"String","value":"dc"},"shared-services-subnet-name":{"type":"String","value":"sharedsvcs"},"extension-name":{"type":"String","value":"adds"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"admin-user"}},"virtualMachine-count":{"type":"Int","value":2},"virtualMachine-size":{"type":"String","value":"Standard_DS2_v2"},"os-type":{"type":"String","value":"Windows"},"os-image":{"type":"Object","value":{"offer":"WindowsServer","publisher":"MicrosoftWindowsServer","sku":"2016-Datacenter"}},"domain-name":{"type":"String","value":"org.com"},"on-premises-primaryDC-IP":{"type":"String","value":"192.168.1.4"},"on-premises-AD-Sitename":{"type":"String","value":"Cloud-Site"},"dc-drive-letter":{"type":"String","value":"F"},"domain-admin-user":{"type":"String","value":"org"},"domain-admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"secretName":"org"}},"enable-encryption":{"type":"Bool","value":false},"encryption-secrets":{"type":"Array","value":[{"sourceVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/org-ssvcs-kv"},"vaultCertificates":[{"certificateUrl":"","certificateStore":"My"}]}]},"kv-name":{"type":"String","value":"org-ssvcs-kv"},"kv-resourceGroup":{"type":"String","value":"org-ssvcs-kv-rg"},"oms-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-la-rg/providers/Microsoft.OperationalInsights/workspaces/org-ssvcs-la"},"oms-workspace-resourceGroup":{"type":"String","value":"org-ssvcs-la-rg"},"oms-workspace-name":{"type":"String","value":"org-ssvcs-la"},"output-params-storage-key":{"type":"String","value":"abhilQXu5bl0SupY1dseiX95b6eBNA6R0Ho0d9FbHpTFC+B1cEUhgWr9oIEagQXGdilU5raOIpH5Pq/XVv7ifA=="}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-07T07:59:52.5249497Z","duration":"PT10M54.9070499S","correlationId":"5e807e3b-9a80-46a9-9b53-e0932acf5c72","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["centralus"]},{"resourceType":"virtualMachines","locations":["centralus"]},{"resourceType":"virtualMachines/extensions","locations":["centralus"]}]},{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["centralus"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["centralus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/vm1DSCInstallADDSNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1DSCInstallADDSNestedDeployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/vm2DSCInstallADDSNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2DSCInstallADDSNestedDeployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"org-ssvcs-vnet","apiVersion":"2018-02-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Resources/deployments/UpdateDNSServerNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"UpdateDNSServerNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/availabilitySets/org-ssvcs-adds-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-ssvcs-adds-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Network/networkInterfaces/org-ssvcs-adds-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-ssvcs-adds-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Storage/storageAccounts/orgcusssaddsdiagnvh","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssaddsdiagnvh"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Storage/storageAccounts/orgcusssaddsdiagnvh","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssaddsdiagnvh","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/NetworkWatcher"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/availabilitySets/org-ssvcs-adds-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"org-ssvcs-adds-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Network/networkInterfaces/org-ssvcs-adds-vm2-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"org-ssvcs-adds-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Storage/storageAccounts/orgcusssaddsdiagnvh","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssaddsdiagnvh"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Storage/storageAccounts/orgcusssaddsdiagnvh","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"orgcusssaddsdiagnvh","apiVersion":"2016-12-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/NetworkWatcher"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/vm1OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/vm2OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/vm1DSCInstallADDSNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1DSCInstallADDSNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm1/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"org-ssvcs-adds-vm2/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Resources/deployments/vm2DSCInstallADDSNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm2DSCInstallADDSNestedDeployment"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/availabilitySets/org-ssvcs-adds-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm1/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/DSCSetupADDS"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Compute/virtualMachines/org-ssvcs-adds-vm2/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Network/networkInterfaces/org-ssvcs-adds-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Network/networkInterfaces/org-ssvcs-adds-vm2-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-adds-rg/providers/Microsoft.Storage/storageAccounts/orgcusssaddsdiagnvh"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/org-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/org-ssvcs-vnet"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['42852'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 07 Feb 2019 08:00:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-date: ['Thu, 07 Feb 2019 08:00:16 GMT'] - x-ms-version: ['2018-03-28'] - method: GET - uri: https://storage.blob.core.windows.net/output?restype=container - response: - body: {string: ''} - headers: - date: ['Thu, 07 Feb 2019 08:00:16 GMT'] - etag: ['"0x8D677F58F5F4F8F"'] - last-modified: ['Fri, 11 Jan 2019 18:49:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-has-immutability-policy: ['false'] - x-ms-has-legal-hold: ['false'] - x-ms-lease-state: [available] - x-ms-lease-status: [unlocked] - x-ms-version: ['2018-03-28'] - status: {code: 200, message: OK} -- request: - body: '{}' - headers: - Connection: [keep-alive] - Content-Length: ['2'] - User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.6.5; Darwin 18.2.0)] - x-ms-blob-type: [BlockBlob] - x-ms-date: ['Thu, 07 Feb 2019 08:00:17 GMT'] - x-ms-version: ['2018-03-28'] - method: PUT - uri: https://storage.blob.core.windows.net/output/org-shared-services-ssvcs/parameters/adds/azureDeploy.parameters.output.json - response: - body: {string: ''} - headers: - content-md5: [mZFLkyvTelC5g8XnyQrpOw==] - date: ['Thu, 07 Feb 2019 08:00:16 GMT'] - etag: ['"0x8D68CD24C95151B"'] - last-modified: ['Thu, 07 Feb 2019 08:00:17 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - transfer-encoding: [chunked] - x-ms-request-server-encrypted: ['true'] - x-ms-version: ['2018-03-28'] - status: {code: 201, message: Created} -version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_j_shared_services_network_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_j_shared_services_network_creation.yaml new file mode 100644 index 000000000..c7e468852 --- /dev/null +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_j_shared_services_network_creation.yaml @@ -0,0 +1,462 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:58:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:58:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:59:00 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json + response: + body: + string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}, + "vnet-name": { "value": "cntso-ssvcs-vnet"}, "vnet-resourceGroup": { "value": + "cntso-ssvcs-net-rg"}}' + headers: + accept-ranges: + - bytes + content-length: + - '314' + content-range: + - bytes 0-313/314 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:59:00 GMT + etag: + - '"0x8D6CF7B3A133AA8"' + last-modified: + - Fri, 03 May 2019 03:55:48 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - uuncXP3nwK/2kckRf2nBzg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:42:15 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg?api-version=2018-05-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 03:58:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: 'b''b\''b\\\''b\\\\\\\''b\\\\\\\\\\\\\\\''b\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''{"properties": + {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"local-gateway-name": {"type": "string", + "metadata": {"description": "Specifies the local Virtual Network Gateway name"}}, + "local-subscription-id": {"type": "string", "metadata": {"description": "Local + subscription id, this value is used to create a VPN connection between a local + and remote Virtual Network Gateway"}}, "local-vnet-resourceGroup": {"type": + "string", "metadata": {"description": "Local resource group that contains the + Virtual Network, this value is used to create a local and remote Virtual Network + Gateway"}}, "vpn-shared-key": {"type": "string", "metadata": {"description": + "Specifies a VPN shared key. The same value has to be specified on both Virtual + Network Gateways"}}, "local-gateway-location": {"type": "string", "metadata": + {"description": "Specifies the remote Virtual Network Gateway location"}}, "remote-gateway-name": + {"type": "string", "metadata": {"description": "Specifies the remote Virtual + Network Gateway"}}, "remote-vnet-resourceGroup": {"type": "string", "metadata": + {"description": "Remote Virtual Network resource group name"}}, "remote-subscription-id": + {"type": "string", "metadata": {"description": "Remote Subscription Id"}}, "enable-bgp": + {"type": "bool", "defaultValue": false, "metadata": {"description": "Value to + specify if BGP is enabled or not"}}, "remote-connection-name": {"type": "string", + "metadata": {"description": "Remote connection name"}}, "vnet-id": {"defaultValue": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet", + "type": "string"}, "vnet-name": {"defaultValue": "cntso-ssvcs-vnet", "type": + "string"}, "vnet-resourceGroup": {"defaultValue": "cntso-ssvcs-net-rg", "type": + "string"}, "sas-key": {"defaultValue": "se=2019-05-03T20%3A58%3A59Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=dKNXxNbTtlScI3FcmmHzYhz2EQ33eIQ3s4rlt1qoPXU%3D", + "type": "string"}, "output-params-storage-key": {"defaultValue": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==", + "type": "string"}, "output-params-storage-account-name": {"defaultValue": "storage", + "type": "string"}}, "variables": {"local-gateway-resource-id": "[resourceId(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-subscription-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''), + parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-vnet-resourceGroup\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'') + ,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''Microsoft.Network/virtualNetworkGateways\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', + parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-gateway-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]", + "remote-gateway-resource-id": "[resourceId(parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''remote-subscription-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''), + parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''remote-vnet-resourceGroup\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'') + ,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''Microsoft.Network/virtualNetworkGateways\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', + parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''remote-gateway-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]"}, + "resources": [{"apiVersion": "2017-05-10", "name": "nestedDeployVGWConnection", + "type": "Microsoft.Resources/deployments", "resourceGroup": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-vnet-resourceGroup\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", + "subscriptionId": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-subscription-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", + "properties": {"mode": "Incremental", "template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": + [{"name": "[concat(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-to-\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', + parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''remote-connection-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]", + "type": "Microsoft.Network/connections", "apiVersion": "2017-10-01", "location": + "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-gateway-location\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", + "tags": {"connectionName": "[concat(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-to-\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'', + parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''remote-connection-name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''))]"}, + "properties": {"virtualNetworkGateway1": {"id": "[variables(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''local-gateway-resource-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}, + "virtualNetworkGateway2": {"id": "[variables(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''remote-gateway-resource-id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}, + "enableBgp": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''enable-bgp\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]", + "connectionType": "VNet2VNet", "routingWeight": 3, "sharedKey": "[parameters(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''vpn-shared-key\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'')]"}}]}}}], + "outputs": {}}, "parameters": {"local-subscription-id": {"value": "00000000-0000-0000-0000-000000000000"}, + "local-vnet-resourceGroup": {"value": "cntso-onprem-net-rg"}, "local-gateway-name": + {"value": "cntso-onprem-gw"}, "local-gateway-location": {"value": "West US 2"}, + "vpn-shared-key": {"value": "asodgfhjkaw4tu0w9vuijv0qu3409tu"}, "remote-subscription-id": + {"value": "00000000-0000-0000-0000-000000000000"}, "remote-gateway-name": {"value": + "cntso-ssvcs-gw"}, "remote-vnet-resourceGroup": {"value": "cntso-ssvcs-net-rg"}, + "remote-connection-name": {"value": "ssvcs"}, "enable-bgp": {"value": false}, + "vnet-id": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}, + "vnet-name": {"value": "cntso-ssvcs-vnet"}, "vnet-resourceGroup": {"value": + "cntso-ssvcs-net-rg"}, "sas-key": {"value": "se=2019-05-03T20%3A58%3A59Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=dKNXxNbTtlScI3FcmmHzYhz2EQ33eIQ3s4rlt1qoPXU%3D"}, + "output-params-storage-key": {"value": "0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="}, + "output-params-storage-account-name": {"value": "storage"}}, "mode": "Incremental"}}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''\\\\\\\\\\\\\\\''\\\\\\\''\\\''\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '5190' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-onprem-vgw-?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-onprem-vgw-","name":"cntso-shared-services-ssvcs-deployment-onprem-vgw-","properties":{"templateHash":"16179028145948439045","parameters":{"local-gateway-name":{"type":"String","value":"cntso-onprem-gw"},"local-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"local-vnet-resourceGroup":{"type":"String","value":"cntso-onprem-net-rg"},"vpn-shared-key":{"type":"String","value":"asodgfhjkaw4tu0w9vuijv0qu3409tu"},"local-gateway-location":{"type":"String","value":"West + US 2"},"remote-gateway-name":{"type":"String","value":"cntso-ssvcs-gw"},"remote-vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"remote-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"enable-bgp":{"type":"Bool","value":false},"remote-connection-name":{"type":"String","value":"ssvcs"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A58%3A59Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=dKNXxNbTtlScI3FcmmHzYhz2EQ33eIQ3s4rlt1qoPXU%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T03:59:02.2413289Z","duration":"PT0.101006S","correlationId":"d6238wrklda-3a1d-4356-97c9-b774f7af5963","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-onprem-vgw-/operationStatuses/08586447509433373140?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '2133' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:59:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-onprem-vgw-/operationStatuses/08586447509433373140?api-version=2018-05-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:59:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-onprem-vgw-?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-onprem-vgw-","name":"cntso-shared-services-ssvcs-deployment-onprem-vgw-","properties":{"templateHash":"16179028145948439045","parameters":{"local-gateway-name":{"type":"String","value":"cntso-onprem-gw"},"local-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"local-vnet-resourceGroup":{"type":"String","value":"cntso-onprem-net-rg"},"vpn-shared-key":{"type":"String","value":"asodgfhjkaw4tu0w9vuijv0qu3409tu"},"local-gateway-location":{"type":"String","value":"West + US 2"},"remote-gateway-name":{"type":"String","value":"cntso-ssvcs-gw"},"remote-vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"remote-subscription-id":{"type":"String","value":"00000000-0000-0000-0000-000000000000"},"enable-bgp":{"type":"Bool","value":false},"remote-connection-name":{"type":"String","value":"ssvcs"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A58%3A59Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=dKNXxNbTtlScI3FcmmHzYhz2EQ33eIQ3s4rlt1qoPXU%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T03:59:21.5388368Z","duration":"PT19.3985139S","correlationId":"d6238wrklda-3a1d-4356-97c9-b774f7af5963","providers":[{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-onprem-net-rg/providers/Microsoft.Network/connections/local-to-ssvcs"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '2337' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:59:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:59:32 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 03:59:32 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Connection: + - keep-alive + Content-Length: + - '2' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 03:59:32 GMT + x-ms-version: + - '2018-03-28' + method: PUT + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/onprem-vgw-connection/azureDeploy.parameters.output.json + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - mZFLkyvTelC5g8XnyQrpOw== + date: + - Fri, 03 May 2019 03:59:32 GMT + etag: + - '"0x8D6CF7BBFFCDF19"' + last-modified: + - Fri, 03 May 2019 03:59:32 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created +version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_k_shared_services_network_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_k_shared_services_network_creation.yaml new file mode 100644 index 000000000..cdf89ba0d --- /dev/null +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_k_shared_services_network_creation.yaml @@ -0,0 +1,589 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:59:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 03:59:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:59:33 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json + response: + body: + string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}, + "vnet-name": { "value": "cntso-ssvcs-vnet"}, "vnet-resourceGroup": { "value": + "cntso-ssvcs-net-rg"}}' + headers: + accept-ranges: + - bytes + content-length: + - '314' + content-range: + - bytes 0-313/314 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:59:32 GMT + etag: + - '"0x8D6CF7B3A133AA8"' + last-modified: + - Fri, 03 May 2019 03:55:48 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - uuncXP3nwK/2kckRf2nBzg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:42:15 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:59:33 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json + response: + body: + string: '{"la-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"}, + "la-workspace-resourceGroup": { "value": "cntso-ssvcs-diagnostics-rg"}, "la-workspace-name": + { "value": "cntso-ssvcs-la"}, "la-workspace-id": { "value": "d4856489-3d3d-4a90-939d-3d00f85d2cca"}, + "la-primary-shared-key": { "value": "GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '555' + content-range: + - bytes 0-554/555 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:59:33 GMT + etag: + - '"0x8D6CF7AC54B0169"' + last-modified: + - Fri, 03 May 2019 03:52:32 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - VSRHCa/+VUVqQZ3n66L9fQ== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:39:06 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 03:59:33 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/diagnostic-storage-account/azureDeploy.parameters.output.json + response: + body: + string: '{"storageAccount-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"}, + "storageAccount-name": { "value": "cntsowus2shrdsvcs01diag"}, "storageAccount-sasToken": + { "value": "sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"}, + "storageAccount-accessKey": { "value": "tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '590' + content-range: + - bytes 0-589/590 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 03:59:33 GMT + etag: + - '"0x8D6CF7AB158698E"' + last-modified: + - Fri, 03 May 2019 03:51:58 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - UzcGkQ4IgSSQOnpmSwhZwg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:38:01 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg?api-version=2018-05-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 03:59:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: '!!! The request body has been omitted from the recording because its size + 11527 is larger than 10KB. !!!' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '10587' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-azure-fw?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-azure-fw","name":"cntso-shared-services-ssvcs-deployment-azure-fw","properties":{"templateHash":"1577326337182308407","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"shared-services-udr-name":{"type":"String","value":"sharedsvcs"},"shared-services-routes":{"type":"Array","value":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"logs-retention-in-days":{"type":"Int","value":365},"shared-services-subnet-address-prefix":{"type":"String","value":"10.4.0.32/27"},"on-premises-allow-rdp-address-range":{"type":"String","value":"192.168.1.4"},"on-premises-primaryDC-IP":{"type":"String","value":"192.168.1.4"},"vnet-prefix":{"type":"String","value":"10.4.0.0/23"},"on-premises-address-range":{"type":"String","value":"192.168.1.0/28"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"la-workspace-id":{"type":"String","value":"d4856489-3d3d-4a90-939d-3d00f85d2cca"},"la-primary-shared-key":{"type":"String","value":"GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A59%3A33Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=pj6JRJ8dnzpQER3fcnyBgOJvq4FBhPHiTS4qwZEA2Fk%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T03:59:36.2732956Z","duration":"PT0.4696203S","correlationId":"211011c9-913e-45fd-aa1f-a97172bf48d9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus2"]},{"resourceType":"azureFirewalls","locations":["westus2"]},{"resourceType":"azureFirewalls/providers/diagnosticsettings","locations":["westus2"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/publicIPAddresses/cntso-ssvcs-az-fw-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"cntso-ssvcs-az-fw-pip"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/cntso-ssvcs-az-fw","resourceType":"Microsoft.Network/azureFirewalls","resourceName":"cntso-ssvcs-az-fw"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/cntso-ssvcs-az-fw","resourceType":"Microsoft.Network/azureFirewalls","resourceName":"cntso-ssvcs-az-fw"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/cntso-ssvcs-az-fw/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.Network/azureFirewalls/providers/diagnosticsettings","resourceName":"cntso-ssvcs-az-fw/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/cntso-ssvcs-az-fw","resourceType":"Microsoft.Network/azureFirewalls","resourceName":"cntso-ssvcs-az-fw"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedSvcsUDR","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedSvcsUDR"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-azure-fw/operationStatuses/08586447509096739953?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '5508' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 03:59:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1194' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-azure-fw/operationStatuses/08586447509096739953?api-version=2018-05-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 04:00:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-azure-fw/operationStatuses/08586447509096739953?api-version=2018-05-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 04:00:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-azure-fw/operationStatuses/08586447509096739953?api-version=2018-05-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 04:01:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-azure-fw?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-azure-fw","name":"cntso-shared-services-ssvcs-deployment-azure-fw","properties":{"templateHash":"1577326337182308407","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"shared-services-udr-name":{"type":"String","value":"sharedsvcs"},"shared-services-routes":{"type":"Array","value":[{"name":"default","properties":{"addressPrefix":"0.0.0.0/0","nextHopIpAddress":"10.4.1.4","nextHopType":"VirtualAppliance"}},{"name":"to-on-premises","properties":{"addressPrefix":"192.168.1.0/28","nextHopType":"VirtualNetworkGateway"}}]},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"logs-retention-in-days":{"type":"Int","value":365},"shared-services-subnet-address-prefix":{"type":"String","value":"10.4.0.32/27"},"on-premises-allow-rdp-address-range":{"type":"String","value":"192.168.1.4"},"on-premises-primaryDC-IP":{"type":"String","value":"192.168.1.4"},"vnet-prefix":{"type":"String","value":"10.4.0.0/23"},"on-premises-address-range":{"type":"String","value":"192.168.1.0/28"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"la-workspace-id":{"type":"String","value":"d4856489-3d3d-4a90-939d-3d00f85d2cca"},"la-primary-shared-key":{"type":"String","value":"GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"sas-key":{"type":"String","value":"se=2019-05-03T20%3A59%3A33Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=pj6JRJ8dnzpQER3fcnyBgOJvq4FBhPHiTS4qwZEA2Fk%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T04:01:03.9103689Z","duration":"PT1M28.1066936S","correlationId":"211011c9-913e-45fd-aa1f-a97172bf48d9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus2"]},{"resourceType":"azureFirewalls","locations":["westus2"]},{"resourceType":"azureFirewalls/providers/diagnosticsettings","locations":["westus2"]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/publicIPAddresses/cntso-ssvcs-az-fw-pip","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"cntso-ssvcs-az-fw-pip"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/cntso-ssvcs-az-fw","resourceType":"Microsoft.Network/azureFirewalls","resourceName":"cntso-ssvcs-az-fw"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/cntso-ssvcs-az-fw","resourceType":"Microsoft.Network/azureFirewalls","resourceName":"cntso-ssvcs-az-fw"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/cntso-ssvcs-az-fw/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.Network/azureFirewalls/providers/diagnosticsettings","resourceName":"cntso-ssvcs-az-fw/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/cntso-ssvcs-az-fw","resourceType":"Microsoft.Network/azureFirewalls","resourceName":"cntso-ssvcs-az-fw"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Resources/deployments/nestedDeploySharedSvcsUDR","resourceType":"Microsoft.Resources/deployments","resourceName":"nestedDeploySharedSvcsUDR"}],"outputs":{"azure-firewall-name":{"type":"String","value":"cntso-ssvcs-az-fw"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/cntso-ssvcs-az-fw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/azureFirewalls/cntso-ssvcs-az-fw/providers/Microsoft.Insights/diagnosticsettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/publicIPAddresses/cntso-ssvcs-az-fw-pip"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/routeTables/cntso-ssvcs-sharedsvcs-udr"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '6395' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 04:01:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 04:01:07 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 04:01:07 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK +- request: + body: 'b''{"azure-firewall-name": { "value": "cntso-ssvcs-az-fw"}}''' + headers: + Connection: + - keep-alive + Content-Length: + - '66' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 04:01:07 GMT + x-ms-version: + - '2018-03-28' + method: PUT + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/azure-fw/azureDeploy.parameters.output.json + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - qmxEFVZLFBaEvIV9FwDCXw== + date: + - Fri, 03 May 2019 04:01:07 GMT + etag: + - '"0x8D6CF7BF84B67B3"' + last-modified: + - Fri, 03 May 2019 04:01:07 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created +version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_l_shared_services_keyvault_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_l_shared_services_keyvault_creation.yaml new file mode 100644 index 000000000..0e6806621 --- /dev/null +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_l_shared_services_keyvault_creation.yaml @@ -0,0 +1,513 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 04:01:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 04:01:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 04:01:08 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json + response: + body: + string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}, + "vnet-name": { "value": "cntso-ssvcs-vnet"}, "vnet-resourceGroup": { "value": + "cntso-ssvcs-net-rg"}}' + headers: + accept-ranges: + - bytes + content-length: + - '314' + content-range: + - bytes 0-313/314 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 04:01:07 GMT + etag: + - '"0x8D6CF7B3A133AA8"' + last-modified: + - Fri, 03 May 2019 03:55:48 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - uuncXP3nwK/2kckRf2nBzg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:42:15 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 04:01:08 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json + response: + body: + string: '{"la-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"}, + "la-workspace-resourceGroup": { "value": "cntso-ssvcs-diagnostics-rg"}, "la-workspace-name": + { "value": "cntso-ssvcs-la"}, "la-workspace-id": { "value": "d4856489-3d3d-4a90-939d-3d00f85d2cca"}, + "la-primary-shared-key": { "value": "GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '555' + content-range: + - bytes 0-554/555 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 04:01:07 GMT + etag: + - '"0x8D6CF7AC54B0169"' + last-modified: + - Fri, 03 May 2019 03:52:32 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - VSRHCa/+VUVqQZ3n66L9fQ== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:39:06 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 04:01:08 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/diagnostic-storage-account/azureDeploy.parameters.output.json + response: + body: + string: '{"storageAccount-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"}, + "storageAccount-name": { "value": "cntsowus2shrdsvcs01diag"}, "storageAccount-sasToken": + { "value": "sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"}, + "storageAccount-accessKey": { "value": "tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '590' + content-range: + - bytes 0-589/590 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 04:01:07 GMT + etag: + - '"0x8D6CF7AB158698E"' + last-modified: + - Fri, 03 May 2019 03:51:58 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - UzcGkQ4IgSSQOnpmSwhZwg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:38:01 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-kv-rg?api-version=2018-05-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 04:01:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: '!!! The request body has been omitted from the recording because its size + 30595 is larger than 10KB. !!!' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '10680' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-kv-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-kv?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-kv","name":"cntso-shared-services-ssvcs-deployment-kv","properties":{"templateHash":"18076756331214760536","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"access-policies":{"type":"Array","value":[{"tenantId":"00000000-0000-0000-0000-000000000000","objectId":"00000000-0000-0000-0000-000000000000","permissions":{"certificates":["All"],"keys":["All"],"secrets":["All"]}}]},"logs-retention-in-days":{"type":"Int","value":30},"enable-vault-for-deployment":{"type":"Bool","value":true},"enable-vault-for-templateDeployment":{"type":"Bool","value":true},"enable-vault-for-diskEncryption":{"type":"Bool","value":true},"vault-sku":{"type":"String","value":"Premium"},"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"secrets-object":{"type":"SecureObject"},"network-acls":{"type":"Object","value":{"bypass":"AzureServices","defaultAction":"Deny","virtualNetworkRules":[{"subnet":"sharedsvcs"},{"subnet":"trust"},{"subnet":"dmz"}],"ipRules":[]}},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"la-workspace-id":{"type":"String","value":"d4856489-3d3d-4a90-939d-3d00f85d2cca"},"la-primary-shared-key":{"type":"String","value":"GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"sas-key":{"type":"String","value":"se=2019-05-03T21%3A01%3A07Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=pmWPO9MeSpy4iXAyY4jAOdH6PbRUCY5HYMGG9p2a0tw%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T04:01:10.367961Z","duration":"PT0.0915959S","correlationId":"f65a4183-56d5-4862-bd99-f11060b2e505","providers":[{"namespace":"Microsoft.KeyVault","resourceTypes":[{"resourceType":"vaults","locations":["westus2"]},{"resourceType":"vaults/providers/diagnosticsettings","locations":["westus2"]},{"resourceType":"vaults/providers/locks","locations":[null]},{"resourceType":"vaults/secrets","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"cntso-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.KeyVault/vaults/providers/diagnosticsettings","resourceName":"cntso-ssvcs-kv/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"cntso-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete","resourceType":"Microsoft.KeyVault/vaults/providers/locks","resourceName":"cntso-ssvcs-kv/Microsoft.Authorization/keyVaultDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"cntso-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/secrets/admin-user","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"cntso-ssvcs-kv/admin-user"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"cntso-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/secrets/org","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"cntso-ssvcs-kv/org"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"cntso-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/secrets/self-certificate-base64","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"cntso-ssvcs-kv/self-certificate-base64"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"cntso-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/secrets/self-certificate-password","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"cntso-ssvcs-kv/self-certificate-password"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-kv-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-kv/operationStatuses/08586447508152014659?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '7137' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 04:01:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1195' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-kv-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-kv/operationStatuses/08586447508152014659?api-version=2018-05-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 04:01:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-kv-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-kv?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-kv","name":"cntso-shared-services-ssvcs-deployment-kv","properties":{"templateHash":"18076756331214760536","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"access-policies":{"type":"Array","value":[{"tenantId":"00000000-0000-0000-0000-000000000000","objectId":"00000000-0000-0000-0000-000000000000","permissions":{"certificates":["All"],"keys":["All"],"secrets":["All"]}}]},"logs-retention-in-days":{"type":"Int","value":30},"enable-vault-for-deployment":{"type":"Bool","value":true},"enable-vault-for-templateDeployment":{"type":"Bool","value":true},"enable-vault-for-diskEncryption":{"type":"Bool","value":true},"vault-sku":{"type":"String","value":"Premium"},"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"secrets-object":{"type":"SecureObject"},"network-acls":{"type":"Object","value":{"bypass":"AzureServices","defaultAction":"Deny","virtualNetworkRules":[{"subnet":"sharedsvcs"},{"subnet":"trust"},{"subnet":"dmz"}],"ipRules":[]}},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"la-workspace-id":{"type":"String","value":"d4856489-3d3d-4a90-939d-3d00f85d2cca"},"la-primary-shared-key":{"type":"String","value":"GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"String","value":"sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"sas-key":{"type":"String","value":"se=2019-05-03T21%3A01%3A07Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=pmWPO9MeSpy4iXAyY4jAOdH6PbRUCY5HYMGG9p2a0tw%3D"},"output-params-storage-key":{"type":"String","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg=="},"output-params-storage-account-name":{"type":"String","value":"storage"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T04:01:14.7820696Z","duration":"PT4.5057045S","correlationId":"f65a4183-56d5-4862-bd99-f11060b2e505","providers":[{"namespace":"Microsoft.KeyVault","resourceTypes":[{"resourceType":"vaults","locations":["westus2"]},{"resourceType":"vaults/providers/diagnosticsettings","locations":["westus2"]},{"resourceType":"vaults/providers/locks","locations":[null]},{"resourceType":"vaults/secrets","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"cntso-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/providers/Microsoft.Insights/diagnosticsettings/service","resourceType":"Microsoft.KeyVault/vaults/providers/diagnosticsettings","resourceName":"cntso-ssvcs-kv/Microsoft.Insights/service"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"cntso-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete","resourceType":"Microsoft.KeyVault/vaults/providers/locks","resourceName":"cntso-ssvcs-kv/Microsoft.Authorization/keyVaultDoNotDelete"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"cntso-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/secrets/admin-user","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"cntso-ssvcs-kv/admin-user"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"cntso-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/secrets/org","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"cntso-ssvcs-kv/org"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"cntso-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/secrets/self-certificate-base64","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"cntso-ssvcs-kv/self-certificate-base64"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv","resourceType":"Microsoft.KeyVault/vaults","resourceName":"cntso-ssvcs-kv"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/secrets/self-certificate-password","resourceType":"Microsoft.KeyVault/vaults/secrets","resourceName":"cntso-ssvcs-kv/self-certificate-password"}],"outputs":{"kv-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv"},"kv-name":{"type":"String","value":"cntso-ssvcs-kv"},"kv-resourceGroup":{"type":"String","value":"cntso-ssvcs-kv-rg"},"kv-uri":{"type":"String","value":"https://cntso-ssvcs-kv.vault.azure.net/"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/providers/Microsoft.Authorization/locks/keyVaultDoNotDelete"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/providers/Microsoft.Insights/diagnosticsettings/service"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/secrets/admin-user"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/secrets/org"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/secrets/self-certificate-base64"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv/secrets/self-certificate-password"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '8960' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 04:01:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 04:01:40 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 04:01:40 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK +- request: + body: 'b''b\''b\\\''{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv"}, + "kv-name": { "value": "cntso-ssvcs-kv"}, "kv-resourceGroup": { "value": "cntso-ssvcs-kv-rg"}, + "kv-uri": { "value": "https://cntso-ssvcs-kv.vault.azure.net/"}}\\\''\''''' + headers: + Connection: + - keep-alive + Content-Length: + - '369' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 04:01:40 GMT + x-ms-version: + - '2018-03-28' + method: PUT + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/kv/azureDeploy.parameters.output.json + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - LAvFJ8pjfwKMdovTMaGk/w== + date: + - Fri, 03 May 2019 04:01:40 GMT + etag: + - '"0x8D6CF7C0C590050"' + last-modified: + - Fri, 03 May 2019 04:01:40 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created +version: 1 diff --git a/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_m_shared_services_jumpbox_creation.yaml b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_m_shared_services_jumpbox_creation.yaml new file mode 100644 index 000000000..0d928f607 --- /dev/null +++ b/tests/integration_tests/shared_services/recordings/test_shared_services_integration_tests.test_m_shared_services_jumpbox_creation.yaml @@ -0,0 +1,569 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 06:17:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-storage/2.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vdc-storage-rg/providers/Microsoft.Storage/storageAccounts/storage/listKeys?api-version=2018-02-01 + response: + body: + string: '{"keys":[{"keyName":"key1","value":"0Lxn7MclNOJd0igAwsi3GgU8iKqNo60VCAKsqaXr6qcRq44zjyaLnMSk76/impol61VpH/BhSLneDYkVbyqwbg==","permissions":"FULL"},{"keyName":"key2","value":"BARXTAxfMvR7WzSsdrD8Lt+60pbIP0lhpgw7aX6Hv+91UCXTxWc2Ekq2XZzwM50RfVbEPNh6nFCnp56bDjwpJg==","permissions":"FULL"}]}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json + date: + - Fri, 03 May 2019 06:17:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 06:17:55 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/kv/azureDeploy.parameters.output.json + response: + body: + string: '{"kv-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv"}, + "kv-name": { "value": "cntso-ssvcs-kv"}, "kv-resourceGroup": { "value": "cntso-ssvcs-kv-rg"}, + "kv-uri": { "value": "https://cntso-ssvcs-kv.vault.azure.net/"}}' + headers: + accept-ranges: + - bytes + content-length: + - '369' + content-range: + - bytes 0-368/369 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 06:17:55 GMT + etag: + - '"0x8D6CF7C0C590050"' + last-modified: + - Fri, 03 May 2019 04:01:40 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - LAvFJ8pjfwKMdovTMaGk/w== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 23:04:03 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 06:17:55 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/shared-services-net/azureDeploy.parameters.output.json + response: + body: + string: '{"vnet-id": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"}, + "vnet-name": { "value": "cntso-ssvcs-vnet"}, "vnet-resourceGroup": { "value": + "cntso-ssvcs-net-rg"}}' + headers: + accept-ranges: + - bytes + content-length: + - '314' + content-range: + - bytes 0-313/314 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 06:17:55 GMT + etag: + - '"0x8D6CF7B3A133AA8"' + last-modified: + - Fri, 03 May 2019 03:55:48 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - uuncXP3nwK/2kckRf2nBzg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:42:15 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 06:17:56 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/la/azureDeploy.parameters.output.json + response: + body: + string: '{"la-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"}, + "la-workspace-resourceGroup": { "value": "cntso-ssvcs-diagnostics-rg"}, "la-workspace-name": + { "value": "cntso-ssvcs-la"}, "la-workspace-id": { "value": "d4856489-3d3d-4a90-939d-3d00f85d2cca"}, + "la-primary-shared-key": { "value": "GZflgFjoJgtzBIMryWzsx6c9zIpTZddkO9dfyADchEPEo9vCbVc59K2Ak2KZK4jLia05vTfiaLiaEYM6IjsDkw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '555' + content-range: + - bytes 0-554/555 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 06:17:56 GMT + etag: + - '"0x8D6CF7AC54B0169"' + last-modified: + - Fri, 03 May 2019 03:52:32 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - VSRHCa/+VUVqQZ3n66L9fQ== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:39:06 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 06:17:56 GMT + x-ms-range: + - bytes=0-33554431 + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/diagnostic-storage-account/azureDeploy.parameters.output.json + response: + body: + string: '{"storageAccount-resourceId": { "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"}, + "storageAccount-name": { "value": "cntsowus2shrdsvcs01diag"}, "storageAccount-sasToken": + { "value": "sv=2015-04-05&ss=bt&srt=co&sp=acuw&se=2119-12-31T23%3A59%3A59.0000000Z&spr=https&sig=S6l09DNkd4q1py%2FEBG2X2tpgxgVdZKHBY%2F6%2FmyyfpLk%3D"}, + "storageAccount-accessKey": { "value": "tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="}}' + headers: + accept-ranges: + - bytes + content-length: + - '590' + content-range: + - bytes 0-589/590 + content-type: + - application/octet-stream + date: + - Fri, 03 May 2019 06:17:55 GMT + etag: + - '"0x8D6CF7AB158698E"' + last-modified: + - Fri, 03 May 2019 03:51:58 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-blob-content-md5: + - UzcGkQ4IgSSQOnpmSwhZwg== + x-ms-blob-type: + - BlockBlob + x-ms-creation-time: + - Thu, 25 Apr 2019 22:38:01 GMT + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 206 + message: Partial Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: HEAD + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-jb-rg?api-version=2018-05-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 03 May 2019 06:17:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: '!!! The request body has been omitted from the recording because its size + 59407 is larger than 10KB. !!!' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '48920' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-jb?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-jb","name":"cntso-shared-services-ssvcs-deployment-j","properties":{"templateHash":"4998265894761262322","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"la-workspace-id":{"type":"SecureString"},"la-primary-shared-key":{"type":"SecureString"},"output-params-storage-key":{"type":"SecureString"},"output-params-storage-account-name":{"type":"SecureString"},"kv-uri":{"type":"SecureString"},"kv-id":{"type":"SecureString"},"aad-principal-id":{"type":"SecureString"},"aad-certificate-thumb":{"type":"SecureString"},"aad-certificate-url":{"type":"SecureString"},"jb-key":{"type":"SecureString"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"jb-asg-name":{"type":"String","value":"jb"},"shared-services-subnet-name":{"type":"String","value":"sharedsvcs"},"extension-name":{"type":"String","value":"jb"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv"},"secretName":"admin-user"}},"windows-virtualMachine-count":{"type":"Int","value":1},"windows-virtualMachine-size":{"type":"String","value":"Standard_DS2_v2"},"windows-os-type":{"type":"String","value":"Windows"},"windows-os-image":{"type":"Object","value":{"offer":"WindowsServer","publisher":"MicrosoftWindowsServer","sku":"2016-Datacenter"}},"linux-virtualMachine-count":{"type":"Int","value":1},"linux-virtualMachine-size":{"type":"String","value":"Standard_D2s_v3"},"linux-os-type":{"type":"String","value":"Linux"},"linux-os-image":{"type":"Object","value":{"publisher":"Canonical","offer":"UbuntuServer","sku":"18.04-LTS","version":"latest"}},"enable-encryption":{"type":"Bool","value":false},"encryption-secrets":{"type":"Array","value":[{"sourceVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv"},"vaultCertificates":[{"certificateUrl":"","certificateStore":"My"}]}]},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"SecureString"},"organization-name":{"type":"String","value":"cntso"},"kv-name":{"type":"String","value":"cntso-ssvcs-kv"},"kv-resourceGroup":{"type":"String","value":"cntso-ssvcs-kv-rg"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"sas-key":{"type":"String","value":"se=2019-05-03T23%3A17%3A55Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ZjaGk7jSYzke8h4IHOAUIiGPvtfJLogz5OO/zy6AooE%3D"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-05-03T06:17:59.7882988Z","duration":"PT0.6399214S","correlationId":"ac1696a7-1c78-4cea-811a-6759f5e93d49","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["westus2"]},{"resourceType":"virtualMachines","locations":["westus2"]},{"resourceType":"virtualMachines/extensions","locations":["westus2"]},{"resourceType":"virtualMachines/providers/guestConfigurationAssignments","locations":["westus2"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["westus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/availabilitySets/cntso-ssvcs-jb-win-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"cntso-ssvcs-jb-win-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Network/networkInterfaces/cntso-ssvcs-jb-win-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"cntso-ssvcs-jb-win-vm1-nic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-linux-vm1/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSAntimalware"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/PwdPolicies","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/PwdPolicies"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/PwdPolicies","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/PwdPolicies"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MinimumPasswordLength","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/MinimumPasswordLength"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MinimumPasswordAge","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/MinimumPasswordAge"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/EnforcePasswordHistory","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/EnforcePasswordHistory"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/StorePasswordsUsingReversibleEncryption","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/StorePasswordsUsingReversibleEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/AuditSecureProtocol"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MaximumPasswordAge","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/MaximumPasswordAge"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/PasswordMustMeetComplexityRequirements","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/PasswordMustMeetComplexityRequirements"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/AzurePolicyforWindows","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/AzurePolicyforWindows"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/PwdPolicies","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/PwdPolicies"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/AzurePolicyforWindows","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/AzurePolicyforWindows"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/PwdPolicies","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/PwdPolicies"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MinimumPasswordLength","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/MinimumPasswordLength"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MinimumPasswordAge","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/MinimumPasswordAge"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/EnforcePasswordHistory","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/EnforcePasswordHistory"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/StorePasswordsUsingReversibleEncryption","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/StorePasswordsUsingReversibleEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/AuditSecureProtocol"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MaximumPasswordAge","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/MaximumPasswordAge"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/PasswordMustMeetComplexityRequirements","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/PasswordMustMeetComplexityRequirements"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/AzurePolicyforWindows","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/AzurePolicyforWindows"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/vm1OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/availabilitySets/cntso-ssvcs-jb-linux-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"cntso-ssvcs-jb-linux-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Network/networkInterfaces/cntso-ssvcs-jb-linux-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"cntso-ssvcs-jb-linux-vm1-nic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-linux-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-linux-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-linux-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-linux-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-linux-vm1/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/LinuxDiagnostic","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-linux-vm1/LinuxDiagnostic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-linux-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-linux-vm1/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/linux-NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-linux-vm1/linux-NetworkWatcher"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-jb/operationStatuses/08586447426063293928?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '32566' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 06:17:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-jb/operationStatuses/08586447426063293928?api-version=2018-05-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 06:18:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.5 (Darwin-18.5.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cntso-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-jb?api-version=2018-05-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/cntso-shared-services-ssvcs-deployment-jb","name":"cntso-shared-services-ssvcs-deployment-j","properties":{"templateHash":"4998265894761262322","parameters":{"deployment-prefix":{"type":"String","value":"cntso-ssvcs"},"la-workspace-id":{"type":"SecureString"},"la-primary-shared-key":{"type":"SecureString"},"output-params-storage-key":{"type":"SecureString"},"output-params-storage-account-name":{"type":"SecureString"},"kv-uri":{"type":"SecureString"},"kv-id":{"type":"SecureString"},"aad-principal-id":{"type":"SecureString"},"aad-certificate-thumb":{"type":"SecureString"},"aad-certificate-url":{"type":"SecureString"},"jb-key":{"type":"SecureString"},"vnet-id":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-net-rg/providers/Microsoft.Network/virtualNetworks/cntso-ssvcs-vnet"},"vnet-resourceGroup":{"type":"String","value":"cntso-ssvcs-net-rg"},"jb-asg-name":{"type":"String","value":"jb"},"shared-services-subnet-name":{"type":"String","value":"sharedsvcs"},"extension-name":{"type":"String","value":"jb"},"admin-username":{"type":"String","value":"admin-user"},"admin-password":{"type":"SecureString","reference":{"keyVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv"},"secretName":"admin-user"}},"windows-virtualMachine-count":{"type":"Int","value":1},"windows-virtualMachine-size":{"type":"String","value":"Standard_DS2_v2"},"windows-os-type":{"type":"String","value":"Windows"},"windows-os-image":{"type":"Object","value":{"offer":"WindowsServer","publisher":"MicrosoftWindowsServer","sku":"2016-Datacenter"}},"linux-virtualMachine-count":{"type":"Int","value":1},"linux-virtualMachine-size":{"type":"String","value":"Standard_D2s_v3"},"linux-os-type":{"type":"String","value":"Linux"},"linux-os-image":{"type":"Object","value":{"publisher":"Canonical","offer":"UbuntuServer","sku":"18.04-LTS","version":"latest"}},"enable-encryption":{"type":"Bool","value":false},"encryption-secrets":{"type":"Array","value":[{"sourceVault":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-kv-rg/providers/Microsoft.KeyVault/vaults/cntso-ssvcs-kv"},"vaultCertificates":[{"certificateUrl":"","certificateStore":"My"}]}]},"storageAccount-name":{"type":"String","value":"cntsowus2shrdsvcs01diag"},"storageAccount-sasToken":{"type":"SecureString"},"organization-name":{"type":"String","value":"cntso"},"kv-name":{"type":"String","value":"cntso-ssvcs-kv"},"kv-resourceGroup":{"type":"String","value":"cntso-ssvcs-kv-rg"},"vnet-name":{"type":"String","value":"cntso-ssvcs-vnet"},"la-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.OperationalInsights/workspaces/cntso-ssvcs-la"},"la-workspace-resourceGroup":{"type":"String","value":"cntso-ssvcs-diagnostics-rg"},"la-workspace-name":{"type":"String","value":"cntso-ssvcs-la"},"storageAccount-resourceId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-diagnostics-rg/providers/Microsoft.Storage/storageAccounts/cntsowus2shrdsvcs01diag"},"storageAccount-accessKey":{"type":"String","value":"tY1tE79dGJFdVuVjR9XL/48fu97GeBxLpxr6obq2PsplTMHS7Bc+Uby5/w9sXam2mA0JzlWIxYY1+335cBqiSw=="},"sas-key":{"type":"String","value":"se=2019-05-03T23%3A17%3A55Z&sp=r&spr=https&sv=2018-03-28&ss=b&srt=o&sig=ZjaGk7jSYzke8h4IHOAUIiGPvtfJLogz5OO/zy6AooE%3D"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-05-03T06:18:18.3435836Z","duration":"PT19.1952062S","correlationId":"ac1696a7-1c78-4cea-811a-6759f5e93d49","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["westus2"]},{"resourceType":"virtualMachines","locations":["westus2"]},{"resourceType":"virtualMachines/extensions","locations":["westus2"]},{"resourceType":"virtualMachines/providers/guestConfigurationAssignments","locations":["westus2"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkInterfaces","locations":["westus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/availabilitySets/cntso-ssvcs-jb-win-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"cntso-ssvcs-jb-win-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Network/networkInterfaces/cntso-ssvcs-jb-win-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"cntso-ssvcs-jb-win-vm1-nic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-linux-vm1/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSAntimalware"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSAntimalware"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSDiagnostics"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/NetworkWatcher"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/PwdPolicies","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/PwdPolicies"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/PwdPolicies","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/PwdPolicies"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MinimumPasswordLength","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/MinimumPasswordLength"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MinimumPasswordAge","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/MinimumPasswordAge"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/EnforcePasswordHistory","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/EnforcePasswordHistory"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/StorePasswordsUsingReversibleEncryption","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/StorePasswordsUsingReversibleEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/AuditSecureProtocol"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MaximumPasswordAge","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/MaximumPasswordAge"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/PasswordMustMeetComplexityRequirements","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/PasswordMustMeetComplexityRequirements"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/AzurePolicyforWindows","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/AzurePolicyforWindows"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/PwdPolicies","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/PwdPolicies"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/AzurePolicyforWindows","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/AzurePolicyforWindows"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/AzureDiskEncryption"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSAntimalware","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/PwdPolicies","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/PwdPolicies"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/DependencyAgent"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MinimumPasswordLength","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/MinimumPasswordLength"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MinimumPasswordAge","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/MinimumPasswordAge"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/EnforcePasswordHistory","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/EnforcePasswordHistory"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/StorePasswordsUsingReversibleEncryption","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/StorePasswordsUsingReversibleEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/AuditSecureProtocol"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MaximumPasswordAge","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/MaximumPasswordAge"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/PasswordMustMeetComplexityRequirements","resourceType":"Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments","resourceName":"cntso-ssvcs-jb-win-vm1/Microsoft.GuestConfiguration/PasswordMustMeetComplexityRequirements"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/AzurePolicyforWindows","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/AzurePolicyforWindows"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/AzureDiskEncryption","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/AzureDiskEncryption"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Resources/deployments/vm1OSEncryptionNestedDeployment","resourceType":"Microsoft.Resources/deployments","resourceName":"vm1OSEncryptionNestedDeployment"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/availabilitySets/cntso-ssvcs-jb-linux-as","resourceType":"Microsoft.Compute/availabilitySets","resourceName":"cntso-ssvcs-jb-linux-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Network/networkInterfaces/cntso-ssvcs-jb-linux-vm1-nic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"cntso-ssvcs-jb-linux-vm1-nic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-linux-vm1"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-linux-vm1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-linux-vm1/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-linux-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-linux-vm1/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/LinuxDiagnostic","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-linux-vm1/LinuxDiagnostic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"cntso-ssvcs-jb-linux-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-win-vm1/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-linux-vm1/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/linux-NetworkWatcher","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"cntso-ssvcs-jb-linux-vm1/linux-NetworkWatcher"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/availabilitySets/cntso-ssvcs-jb-linux-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/availabilitySets/cntso-ssvcs-jb-win-as"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/LinuxDiagnostic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/linux-NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-linux-vm1/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/AzureDiskEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/AzurePolicyforWindows"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/DependencyAgent"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSAntimalware"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/IaaSDiagnostics"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/NetworkWatcher"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/extensions/PwdPolicies"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/EnforcePasswordHistory"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MaximumPasswordAge"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MinimumPasswordAge"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/MinimumPasswordLength"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/PasswordMustMeetComplexityRequirements"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Compute/virtualMachines/cntso-ssvcs-jb-win-vm1/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/StorePasswordsUsingReversibleEncryption"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Network/networkInterfaces/cntso-ssvcs-jb-linux-vm1-nic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cntso-ssvcs-jb-rg/providers/Microsoft.Network/networkInterfaces/cntso-ssvcs-jb-win-vm1-nic"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '37935' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 May 2019 06:18:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - keep-alive + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-date: + - Fri, 03 May 2019 06:18:30 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storage.blob.core.windows.net/output?restype=container + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Fri, 03 May 2019 06:18:29 GMT + etag: + - '"0x8D6C9C2C8DFA212"' + last-modified: + - Thu, 25 Apr 2019 21:12:55 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-has-immutability-policy: + - 'false' + x-ms-has-legal-hold: + - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked + x-ms-version: + - '2018-03-28' + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Connection: + - keep-alive + Content-Length: + - '2' + User-Agent: + - Azure-Storage/1.4.0-1.5.0 (Python CPython 3.6.5; Darwin 18.5.0) + x-ms-blob-type: + - BlockBlob + x-ms-date: + - Fri, 03 May 2019 06:18:30 GMT + x-ms-version: + - '2018-03-28' + method: PUT + uri: https://storage.blob.core.windows.net/output/cntso-shared-services-ssvcs/parameters/jb/azureDeploy.parameters.output.json + response: + body: + string: '' + headers: + content-length: + - '0' + content-md5: + - mZFLkyvTelC5g8XnyQrpOw== + date: + - Fri, 03 May 2019 06:18:29 GMT + etag: + - '"0x8D6CF8F29A96686"' + last-modified: + - Fri, 03 May 2019 06:18:30 GMT + server: + - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 + x-ms-request-server-encrypted: + - 'true' + x-ms-version: + - '2018-03-28' + status: + code: 201 + message: Created +version: 1 diff --git a/tests/integration_tests/shared_services/test_shared_services_integration_tests.py b/tests/integration_tests/shared_services/test_shared_services_integration_tests.py index 5e4a4fd39..71c842b56 100644 --- a/tests/integration_tests/shared_services/test_shared_services_integration_tests.py +++ b/tests/integration_tests/shared_services/test_shared_services_integration_tests.py @@ -34,11 +34,47 @@ def setUp(self): parameters_file) self._environment_type = 'shared-services' - def test_a_shared_services_log_analytics_creation(self): + def test_a_shared_services_diagnostic_storage_account_creation(self): + + self.set_resource_to_deploy('diagnostic-storage-account', args) + self.upload_scripts(args, False) + self.create_vdc_storage(args, False) + successful: bool = self.execute_deployment_test( + args, + self._shared_services_path, + self._environment_type) + + self.assertEqual(successful, True) + + def test_b_shared_services_log_analytics_creation(self): self.set_resource_to_deploy('la', args) self.upload_scripts(args, False) - self.create_vdc_storage(args, True) + self.create_vdc_storage(args, False) + successful: bool = self.execute_deployment_test( + args, + self._shared_services_path, + self._environment_type) + + self.assertEqual(successful, True) + + def test_c_shared_services_automation_account_creation(self): + + self.set_resource_to_deploy('automation-account', args) + self.upload_scripts(args, False) + self.create_vdc_storage(args, False) + successful: bool = self.execute_deployment_test( + args, + self._shared_services_path, + self._environment_type) + + self.assertEqual(successful, True) + + def test_d_shared_services_security_center_creation(self): + + self.set_resource_to_deploy('security-center', args) + self.upload_scripts(args, False) + self.create_vdc_storage(args, False) successful: bool = self.execute_deployment_test( args, self._shared_services_path, @@ -46,7 +82,7 @@ def test_a_shared_services_log_analytics_creation(self): self.assertEqual(successful, True) - def test_b_shared_services_nsg_creation(self): + def test_e_shared_services_nsg_creation(self): self.set_resource_to_deploy('nsg', args) self.upload_scripts(args, False) @@ -58,7 +94,7 @@ def test_b_shared_services_nsg_creation(self): self.assertEqual(successful, True) - def test_c_shared_services_network_creation(self): + def test_f_shared_services_network_creation(self): self.set_resource_to_deploy('shared-services-net', args) self.upload_scripts(args, False) @@ -70,9 +106,9 @@ def test_c_shared_services_network_creation(self): self.assertEqual(successful, True) - def test_d_shared_services_network_creation(self): + def test_g_shared_services_enable_service_endpoint_on_diagnostic_storage_account_creation(self): - self.set_resource_to_deploy('vgw', args) + self.set_resource_to_deploy('enable-service-endpoint-on-diagnostic-storage-account', args) self.upload_scripts(args, False) self.create_vdc_storage(args, False) successful: bool = self.execute_deployment_test( @@ -82,9 +118,9 @@ def test_d_shared_services_network_creation(self): self.assertEqual(successful, True) - def test_e_shared_services_network_creation(self): + def test_h_shared_services_network_creation(self): - self.set_resource_to_deploy('vgw-connection', args) + self.set_resource_to_deploy('vgw', args) self.upload_scripts(args, False) self.create_vdc_storage(args, False) successful: bool = self.execute_deployment_test( @@ -94,9 +130,9 @@ def test_e_shared_services_network_creation(self): self.assertEqual(successful, True) - def test_f_shared_services_network_creation(self): + def test_i_shared_services_network_creation(self): - self.set_resource_to_deploy('onprem-vgw-connection', args) + self.set_resource_to_deploy('vgw-connection', args) self.upload_scripts(args, False) self.create_vdc_storage(args, False) successful: bool = self.execute_deployment_test( @@ -106,9 +142,9 @@ def test_f_shared_services_network_creation(self): self.assertEqual(successful, True) - def test_g_shared_services_network_creation(self): + def test_j_shared_services_network_creation(self): - self.set_resource_to_deploy('azure-fw', args) + self.set_resource_to_deploy('onprem-vgw-connection', args) self.upload_scripts(args, False) self.create_vdc_storage(args, False) successful: bool = self.execute_deployment_test( @@ -118,9 +154,9 @@ def test_g_shared_services_network_creation(self): self.assertEqual(successful, True) - def test_h_shared_services_keyvault_creation(self): + def test_k_shared_services_network_creation(self): - self.set_resource_to_deploy('kv', args) + self.set_resource_to_deploy('azure-fw', args) self.upload_scripts(args, False) self.create_vdc_storage(args, False) successful: bool = self.execute_deployment_test( @@ -130,9 +166,9 @@ def test_h_shared_services_keyvault_creation(self): self.assertEqual(successful, True) - def test_i_shared_services_jumpbox_creation(self): + def test_l_shared_services_keyvault_creation(self): - self.set_resource_to_deploy('jb', args) + self.set_resource_to_deploy('kv', args) self.upload_scripts(args, False) self.create_vdc_storage(args, False) successful: bool = self.execute_deployment_test( @@ -142,9 +178,9 @@ def test_i_shared_services_jumpbox_creation(self): self.assertEqual(successful, True) - def test_j_shared_services_adds_creation(self): + def test_m_shared_services_jumpbox_creation(self): - self.set_resource_to_deploy('adds', args) + self.set_resource_to_deploy('jb', args) self.upload_scripts(args, False) self.create_vdc_storage(args, False) successful: bool = self.execute_deployment_test(