diff --git a/src/scheduled-query/HISTORY.rst b/src/scheduled-query/HISTORY.rst index 531e98eccd2..55b33e4bf01 100644 --- a/src/scheduled-query/HISTORY.rst +++ b/src/scheduled-query/HISTORY.rst @@ -2,6 +2,11 @@ Release History =============== +1.0.0b1 +++++++ +* Fix update action group failure with empty actions +* Fix action group parameter help message + 0.5.3 ++++++ * Upgrade antlr to 4.13.1 diff --git a/src/scheduled-query/azext_scheduled_query/_help.py b/src/scheduled-query/azext_scheduled_query/_help.py index 6f755a6ebbd..52a2a284a4f 100644 --- a/src/scheduled-query/azext_scheduled_query/_help.py +++ b/src/scheduled-query/azext_scheduled_query/_help.py @@ -47,9 +47,6 @@ short-summary: Update a scheduled query. parameters: - name: --action-groups - short-summary: Action Group resource Ids to invoke when the alert fires. - long-summary: | - Usage: --action-groups ACTION_GROUP_NAME_OR_ID [NAME_OR_ID,...] - name: --custom-properties short-summary: The properties of an alert payload. long-summary: | diff --git a/src/scheduled-query/azext_scheduled_query/custom.py b/src/scheduled-query/azext_scheduled_query/custom.py index 2dc739c53a6..56034994916 100644 --- a/src/scheduled-query/azext_scheduled_query/custom.py +++ b/src/scheduled-query/azext_scheduled_query/custom.py @@ -101,6 +101,9 @@ def update_scheduled_query(cmd, c.set_param('tags', tags) c.set_param('enabled', not disabled) c.set_param('description', description) + if instance.actions is None: + from azext_scheduled_query.vendored_sdks.azure_mgmt_scheduled_query.models import Actions + c.set_param("actions", Actions()) c.set_param('actions.action_groups', action_groups) c.set_param('actions.custom_properties', custom_properties) c.set_param('severity', severity) diff --git a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query.yaml b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query.yaml index a39316c671b..1038fbe214e 100644 --- a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query.yaml +++ b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query.yaml @@ -13,32 +13,33 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2023-03-28T11:21:12Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query","date":"2024-04-11T04:28:50Z","module":"scheduled-query"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '338' + - '395' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:13 GMT + - Thu, 11 Apr 2024 04:28:56 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: D65F4AD64988420B818713B3EA98F55C Ref B: MAA201060515029 Ref C: 2024-04-11T04:28:57Z' status: code: 200 message: OK @@ -52,57 +53,64 @@ interactions: Connection: - keep-alive User-Agent: - - python-requests/2.26.0 + - python-requests/2.31.0 method: GET uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: - string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n - \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": - {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": - \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": - {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n - \ \"sku\": \"7.5\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Debian\": {\n \"publisher\": - \"Debian\",\n \"offer\": \"debian-10\",\n \"sku\": \"10\",\n - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n - \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n - \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": - \"stable\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": - \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n \"sku\": - \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"RHEL\": {\n \"publisher\": \"RedHat\",\n - \ \"offer\": \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"SLES\": - {\n \"publisher\": \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n - \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"UbuntuLTS\": {\n \"publisher\": - \"Canonical\",\n \"offer\": \"UbuntuServer\",\n \"sku\": - \"18.04-LTS\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n }\n },\n \"Windows\": {\n \"Win2022Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"Win2022AzureEditionCore\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2022-datacenter-azure-edition-core\",\n - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n - \ },\n \"Win2019Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2019-Datacenter\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Win2016Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2016-Datacenter\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2012-R2-Datacenter\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Win2012Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2012-Datacenter\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Win2008R2SP1\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2008-R2-SP1\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n }\n }\n }\n }\n }\n}" + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ + ,\n \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\"\ + : {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"\ + type\": \"object\",\n \"value\": {\n \"Linux\": {\n \"\ + CentOS85Gen2\": {\n \"publisher\": \"OpenLogic\",\n \ + \ \"offer\": \"CentOS\",\n \"sku\": \"8_5-gen2\",\n \ + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ + \ },\n \"Debian11\": {\n \"publisher\": \"Debian\"\ + ,\n \"offer\": \"debian-11\",\n \"sku\": \"11-backports-gen2\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"FlatcarLinuxFreeGen2\": {\n \"\ + publisher\": \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\"\ + ,\n \"sku\": \"stable-gen2\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n },\n \"OpenSuseLeap154Gen2\"\ + : {\n \"publisher\": \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\"\ + ,\n \"sku\": \"gen2\",\n \"version\": \"latest\",\n\ + \ \"architecture\": \"x64\"\n },\n \"RHELRaw8LVMGen2\"\ + : {\n \"publisher\": \"RedHat\",\n \"offer\": \"\ + RHEL\",\n \"sku\": \"8-lvm-gen2\",\n \"version\": \ + \ \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"SuseSles15SP3\": {\n \"publisher\": \"SUSE\",\n \ + \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n \ + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ + \ },\n \"Ubuntu2204\": {\n \"publisher\": \"\ + Canonical\",\n \"offer\": \"0001-com-ubuntu-server-jammy\",\n\ + \ \"sku\": \"22_04-lts-gen2\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n }\n },\n \ + \ \"Windows\": {\n \"Win2022Datacenter\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2022-datacenter-g2\",\n \"version\": \"\ + latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2022AzureEditionCore\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2022-datacenter-azure-edition-core\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2019Datacenter\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2019-datacenter-gensecond\",\n \"version\"\ + : \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2016-datacenter-gensecond\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2012R2Datacenter\": {\n \"\ + publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\"\ + ,\n \"sku\": \"2012-R2-Datacenter\",\n \"version\":\ + \ \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2008R2SP1\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2008-R2-SP1\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n }\n }\n }\n\ + \ }\n }\n}\n" headers: accept-ranges: - bytes @@ -113,19 +121,21 @@ interactions: connection: - keep-alive content-length: - - '3463' + - '3615' content-security-policy: - default-src 'none'; style-src 'unsafe-inline'; sandbox content-type: - text/plain; charset=utf-8 + cross-origin-resource-policy: + - cross-origin date: - - Tue, 28 Mar 2023 11:21:14 GMT + - Thu, 11 Apr 2024 04:28:57 GMT etag: - - W/"41b202f4dc5098d126019dc00721a4c5e30df0c5196794514fadc3710ee2a5cb" + - W/"9fee27d398b0211e374a0f0e8e79c9b3a0342cfa43466b26b8548409639c8c17" expires: - - Tue, 28 Mar 2023 11:26:14 GMT + - Thu, 11 Apr 2024 04:33:57 GMT source-age: - - '43' + - '175' strict-transport-security: - max-age=31536000 vary: @@ -139,15 +149,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - 84fbb741d7ae8f6c9685785a72b09a567630c23f + - ee31c5a0518e316f2f0f7f5ad1c49735c7146397 x-frame-options: - deny x-github-request-id: - - 18DE:4A4E:BAA744:1186CB1:64229386 + - 20EE:2FD543:7B9942:98F696:661455A5 x-served-by: - - cache-iad-kiad7000104-IAD + - cache-qpg1253-QPG x-timer: - - S1680002474.003912,VS0,VE1 + - S1712809738.764449,VS0,VE1 x-xss-protection: - 1; mode=block status: @@ -167,41 +177,37 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2023-09-01 response: body: - string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"18.04.202303220\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202303220\"\r\n - \ }\r\n]" + string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ + \r\n }\r\n]" headers: cache-control: - no-cache content-length: - - '286' + - '307' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:13 GMT + - Thu, 11 Apr 2024 04:28:58 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43975 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43983 + x-msedge-ref: + - 'Ref A: DD4F89A06EE643C98BF879A6FAFAE3E0 Ref B: MAA201060514009 Ref C: 2024-04-11T04:28:58Z' status: code: 200 message: OK @@ -219,51 +225,50 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202303220?api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202404090?api-version=2023-09-01 response: body: - string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": - \"x64\",\r\n \"replicaType\": \"Unmanaged\",\r\n \"disallowed\": {\r\n - \ \"vmDiskType\": \"None\"\r\n },\r\n \"automaticOSUpgradeProperties\": - {\r\n \"automaticOSUpgradeSupported\": true\r\n },\r\n \"imageDeprecationStatus\": - {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\n - \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": - \"True\"\r\n },\r\n {\r\n \"name\": \"DiskControllerTypes\",\r\n - \ \"value\": \"SCSI, NVMe\"\r\n },\r\n {\r\n \"name\": - \"IsHibernateSupported\",\r\n \"value\": \"True\"\r\n }\r\n ],\r\n - \ \"osDiskImage\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": - 31,\r\n \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": - []\r\n },\r\n \"location\": \"eastus\",\r\n \"name\": \"18.04.202303220\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202303220\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V2\",\r\n \ + \ \"architecture\": \"x64\",\r\n \"replicaType\": \"Managed\",\r\n \ + \ \"replicaCount\": 10,\r\n \"disallowed\": {\r\n \"vmDiskType\"\ + : \"Unmanaged\"\r\n },\r\n \"automaticOSUpgradeProperties\": {\r\n \ + \ \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\"\ + : {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\ + \n {\r\n \"name\": \"SecurityType\",\r\n \"value\": \"\ + TrustedLaunchSupported\"\r\n },\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\"\ + ,\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\"\ + : \"DiskControllerTypes\",\r\n \"value\": \"SCSI, NVMe\"\r\n },\r\ + \n {\r\n \"name\": \"IsHibernateSupported\",\r\n \"value\"\ + : \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\"\ + : \"Linux\",\r\n \"sizeInGb\": 30\r\n },\r\n \"dataDiskImages\"\ + : []\r\n },\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ + \r\n}" headers: cache-control: - no-cache content-length: - - '1048' + - '1158' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:13 GMT + - Thu, 11 Apr 2024 04:28:59 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73978 + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73989 + x-msedge-ref: + - 'Ref A: B83A01FBCE8249348F3A9CFD2CA3050E Ref B: MAA201060515027 Ref C: 2024-04-11T04:28:59Z' status: code: 200 message: OK @@ -281,8 +286,7 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks?api-version=2022-01-01 response: @@ -296,17 +300,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:14 GMT + - Thu, 11 Apr 2024 04:29:01 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: F0D67F2CB0B94192B638E02C8EED7CB1 Ref B: MAA201060515019 Ref C: 2024-04-11T04:29:00Z' status: code: 200 message: OK @@ -320,57 +326,64 @@ interactions: Connection: - keep-alive User-Agent: - - python-requests/2.26.0 + - python-requests/2.31.0 method: GET uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: - string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n - \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": - {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": - \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": - {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n - \ \"sku\": \"7.5\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Debian\": {\n \"publisher\": - \"Debian\",\n \"offer\": \"debian-10\",\n \"sku\": \"10\",\n - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n - \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n - \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": - \"stable\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": - \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n \"sku\": - \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"RHEL\": {\n \"publisher\": \"RedHat\",\n - \ \"offer\": \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"SLES\": - {\n \"publisher\": \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n - \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"UbuntuLTS\": {\n \"publisher\": - \"Canonical\",\n \"offer\": \"UbuntuServer\",\n \"sku\": - \"18.04-LTS\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n }\n },\n \"Windows\": {\n \"Win2022Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"Win2022AzureEditionCore\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2022-datacenter-azure-edition-core\",\n - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n - \ },\n \"Win2019Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2019-Datacenter\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Win2016Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2016-Datacenter\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2012-R2-Datacenter\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Win2012Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2012-Datacenter\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Win2008R2SP1\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2008-R2-SP1\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n }\n }\n }\n }\n }\n}" + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ + ,\n \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\"\ + : {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"\ + type\": \"object\",\n \"value\": {\n \"Linux\": {\n \"\ + CentOS85Gen2\": {\n \"publisher\": \"OpenLogic\",\n \ + \ \"offer\": \"CentOS\",\n \"sku\": \"8_5-gen2\",\n \ + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ + \ },\n \"Debian11\": {\n \"publisher\": \"Debian\"\ + ,\n \"offer\": \"debian-11\",\n \"sku\": \"11-backports-gen2\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"FlatcarLinuxFreeGen2\": {\n \"\ + publisher\": \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\"\ + ,\n \"sku\": \"stable-gen2\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n },\n \"OpenSuseLeap154Gen2\"\ + : {\n \"publisher\": \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\"\ + ,\n \"sku\": \"gen2\",\n \"version\": \"latest\",\n\ + \ \"architecture\": \"x64\"\n },\n \"RHELRaw8LVMGen2\"\ + : {\n \"publisher\": \"RedHat\",\n \"offer\": \"\ + RHEL\",\n \"sku\": \"8-lvm-gen2\",\n \"version\": \ + \ \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"SuseSles15SP3\": {\n \"publisher\": \"SUSE\",\n \ + \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n \ + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ + \ },\n \"Ubuntu2204\": {\n \"publisher\": \"\ + Canonical\",\n \"offer\": \"0001-com-ubuntu-server-jammy\",\n\ + \ \"sku\": \"22_04-lts-gen2\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n }\n },\n \ + \ \"Windows\": {\n \"Win2022Datacenter\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2022-datacenter-g2\",\n \"version\": \"\ + latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2022AzureEditionCore\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2022-datacenter-azure-edition-core\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2019Datacenter\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2019-datacenter-gensecond\",\n \"version\"\ + : \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2016-datacenter-gensecond\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2012R2Datacenter\": {\n \"\ + publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\"\ + ,\n \"sku\": \"2012-R2-Datacenter\",\n \"version\":\ + \ \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2008R2SP1\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2008-R2-SP1\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n }\n }\n }\n\ + \ }\n }\n}\n" headers: accept-ranges: - bytes @@ -381,19 +394,21 @@ interactions: connection: - keep-alive content-length: - - '3463' + - '3615' content-security-policy: - default-src 'none'; style-src 'unsafe-inline'; sandbox content-type: - text/plain; charset=utf-8 + cross-origin-resource-policy: + - cross-origin date: - - Tue, 28 Mar 2023 11:21:14 GMT + - Thu, 11 Apr 2024 04:29:01 GMT etag: - - W/"41b202f4dc5098d126019dc00721a4c5e30df0c5196794514fadc3710ee2a5cb" + - W/"9fee27d398b0211e374a0f0e8e79c9b3a0342cfa43466b26b8548409639c8c17" expires: - - Tue, 28 Mar 2023 11:26:14 GMT + - Thu, 11 Apr 2024 04:34:01 GMT source-age: - - '44' + - '179' strict-transport-security: - max-age=31536000 vary: @@ -403,19 +418,19 @@ interactions: x-cache: - HIT x-cache-hits: - - '2' + - '1' x-content-type-options: - nosniff x-fastly-request-id: - - 8b92c5890c8a3c28ec446e642fab3bf2b4ef1420 + - 971cbc85e1d905df7460625e9c299136e2a3852d x-frame-options: - deny x-github-request-id: - - 18DE:4A4E:BAA744:1186CB1:64229386 + - 20EE:2FD543:7B9942:98F696:661455A5 x-served-by: - - cache-iad-kiad7000045-IAD + - cache-qpg1243-QPG x-timer: - - S1680002475.995652,VS0,VE0 + - S1712809742.588271,VS0,VE1 x-xss-protection: - 1; mode=block status: @@ -435,41 +450,37 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2023-09-01 response: body: - string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"18.04.202303220\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202303220\"\r\n - \ }\r\n]" + string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ + \r\n }\r\n]" headers: cache-control: - no-cache content-length: - - '286' + - '307' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:14 GMT + - Thu, 11 Apr 2024 04:29:02 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15998,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43974 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15998,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43982 + x-msedge-ref: + - 'Ref A: A6DAC0EF090C4C6FB586D6BDDF23FF6E Ref B: MAA201060516031 Ref C: 2024-04-11T04:29:02Z' status: code: 200 message: OK @@ -487,51 +498,50 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202303220?api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202404090?api-version=2023-09-01 response: body: - string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": - \"x64\",\r\n \"replicaType\": \"Unmanaged\",\r\n \"disallowed\": {\r\n - \ \"vmDiskType\": \"None\"\r\n },\r\n \"automaticOSUpgradeProperties\": - {\r\n \"automaticOSUpgradeSupported\": true\r\n },\r\n \"imageDeprecationStatus\": - {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\n - \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": - \"True\"\r\n },\r\n {\r\n \"name\": \"DiskControllerTypes\",\r\n - \ \"value\": \"SCSI, NVMe\"\r\n },\r\n {\r\n \"name\": - \"IsHibernateSupported\",\r\n \"value\": \"True\"\r\n }\r\n ],\r\n - \ \"osDiskImage\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": - 31,\r\n \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": - []\r\n },\r\n \"location\": \"eastus\",\r\n \"name\": \"18.04.202303220\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202303220\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V2\",\r\n \ + \ \"architecture\": \"x64\",\r\n \"replicaType\": \"Managed\",\r\n \ + \ \"replicaCount\": 10,\r\n \"disallowed\": {\r\n \"vmDiskType\"\ + : \"Unmanaged\"\r\n },\r\n \"automaticOSUpgradeProperties\": {\r\n \ + \ \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\"\ + : {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\ + \n {\r\n \"name\": \"SecurityType\",\r\n \"value\": \"\ + TrustedLaunchSupported\"\r\n },\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\"\ + ,\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\"\ + : \"DiskControllerTypes\",\r\n \"value\": \"SCSI, NVMe\"\r\n },\r\ + \n {\r\n \"name\": \"IsHibernateSupported\",\r\n \"value\"\ + : \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\"\ + : \"Linux\",\r\n \"sizeInGb\": 30\r\n },\r\n \"dataDiskImages\"\ + : []\r\n },\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ + \r\n}" headers: cache-control: - no-cache content-length: - - '1048' + - '1158' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:14 GMT + - Thu, 11 Apr 2024 04:29:03 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12998,Microsoft.Compute/GetVMImageFromLocation30Min;73977 + - Microsoft.Compute/GetVMImageFromLocation3Min;12998,Microsoft.Compute/GetVMImageFromLocation30Min;73988 + x-msedge-ref: + - 'Ref A: 3073727167E946F1AE02852D703AFF39 Ref B: MAA201060516011 Ref C: 2024-04-11T04:29:03Z' status: code: 200 message: OK @@ -549,41 +559,37 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2023-09-01 response: body: - string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"18.04.202303220\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202303220\"\r\n - \ }\r\n]" + string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ + \r\n }\r\n]" headers: cache-control: - no-cache content-length: - - '286' + - '307' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:14 GMT + - Thu, 11 Apr 2024 04:29:04 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15997,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43973 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15997,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43981 + x-msedge-ref: + - 'Ref A: 77DDCDB885474E7DBB8FD5AB3BA74464 Ref B: MAA201060513021 Ref C: 2024-04-11T04:29:04Z' status: code: 200 message: OK @@ -601,51 +607,50 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202303220?api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202404090?api-version=2023-09-01 response: body: - string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": - \"x64\",\r\n \"replicaType\": \"Unmanaged\",\r\n \"disallowed\": {\r\n - \ \"vmDiskType\": \"None\"\r\n },\r\n \"automaticOSUpgradeProperties\": - {\r\n \"automaticOSUpgradeSupported\": true\r\n },\r\n \"imageDeprecationStatus\": - {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\n - \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": - \"True\"\r\n },\r\n {\r\n \"name\": \"DiskControllerTypes\",\r\n - \ \"value\": \"SCSI, NVMe\"\r\n },\r\n {\r\n \"name\": - \"IsHibernateSupported\",\r\n \"value\": \"True\"\r\n }\r\n ],\r\n - \ \"osDiskImage\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": - 31,\r\n \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": - []\r\n },\r\n \"location\": \"eastus\",\r\n \"name\": \"18.04.202303220\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202303220\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V2\",\r\n \ + \ \"architecture\": \"x64\",\r\n \"replicaType\": \"Managed\",\r\n \ + \ \"replicaCount\": 10,\r\n \"disallowed\": {\r\n \"vmDiskType\"\ + : \"Unmanaged\"\r\n },\r\n \"automaticOSUpgradeProperties\": {\r\n \ + \ \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\"\ + : {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\ + \n {\r\n \"name\": \"SecurityType\",\r\n \"value\": \"\ + TrustedLaunchSupported\"\r\n },\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\"\ + ,\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\"\ + : \"DiskControllerTypes\",\r\n \"value\": \"SCSI, NVMe\"\r\n },\r\ + \n {\r\n \"name\": \"IsHibernateSupported\",\r\n \"value\"\ + : \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\"\ + : \"Linux\",\r\n \"sizeInGb\": 30\r\n },\r\n \"dataDiskImages\"\ + : []\r\n },\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ + \r\n}" headers: cache-control: - no-cache content-length: - - '1048' + - '1158' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:15 GMT + - Thu, 11 Apr 2024 04:29:04 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73976 + - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73987 + x-msedge-ref: + - 'Ref A: D7889074276A48C48741F3D3B4F1E17E Ref B: MAA201060513019 Ref C: 2024-04-11T04:29:05Z' status: code: 200 message: OK @@ -663,8 +668,7 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview response: @@ -680,17 +684,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:14 GMT + - Thu, 11 Apr 2024 04:29:06 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-failure-cause: - gateway + x-msedge-ref: + - 'Ref A: A031EE0DB9804E7FB0D3C166EC51B063 Ref B: MAA201060513039 Ref C: 2024-04-11T04:29:06Z' status: code: 404 message: Not Found @@ -708,32 +716,33 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2023-03-28T11:21:12Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query","date":"2024-04-11T04:28:50Z","module":"scheduled-query","Creator":"liwang3@microsoft.com","DateCreated":"2024-04-11T04:28:58Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '338' + - '466' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:14 GMT + - Thu, 11 Apr 2024 04:29:06 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: D7206254BE664DD99834FBEA3E5F2BEA Ref B: MAA201060514027 Ref C: 2024-04-11T04:29:07Z' status: code: 200 message: OK @@ -757,13 +766,12 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"d7238ed7-f476-46b9-ba6e-da60f0b95979","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-03-28T11:21:15.9030812Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-03-28T19:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-03-28T11:21:15.9030812Z","modifiedDate":"2023-03-28T11:21:15.9030812Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","name":"clitest000002","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"24b26ad8-2420-46b3-80eb-227bfcd8e8f8","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2024-04-11T04:29:09.3818062Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2024-04-11T10:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2024-04-11T04:29:09.3818062Z","modifiedDate":"2024-04-11T04:29:09.3818062Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","name":"clitest000002","type":"Microsoft.OperationalInsights/workspaces","etag":"\"30008a49-0000-0100-0000-661767150000\""}' headers: access-control-allow-origin: - '*' @@ -772,11 +780,11 @@ interactions: cache-control: - no-cache content-length: - - '847' + - '897' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:15 GMT + - Thu, 11 Apr 2024 04:29:09 GMT expires: - '-1' location: @@ -785,16 +793,16 @@ interactions: - no-cache request-context: - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' - x-powered-by: - - ASP.NET + - '1199' + x-msedge-ref: + - 'Ref A: 585145E308C64DC7A641B95CDAC52DFB Ref B: MAA201060513039 Ref C: 2024-04-11T04:29:07Z' status: code: 201 message: Created @@ -812,13 +820,12 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"d7238ed7-f476-46b9-ba6e-da60f0b95979","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-03-28T11:21:15.9030812Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-03-28T19:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-03-28T11:21:15.9030812Z","modifiedDate":"2023-03-28T11:21:15.9030812Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","name":"clitest000002","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"24b26ad8-2420-46b3-80eb-227bfcd8e8f8","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2024-04-11T04:29:09.3818062Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2024-04-11T10:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2024-04-11T04:29:09.3818062Z","modifiedDate":"2024-04-11T04:29:09.3818062Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","name":"clitest000002","type":"Microsoft.OperationalInsights/workspaces","etag":"\"30008a49-0000-0100-0000-661767150000\""}' headers: access-control-allow-origin: - '*' @@ -827,29 +834,25 @@ interactions: cache-control: - no-cache content-length: - - '848' + - '897' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:46 GMT + - Thu, 11 Apr 2024 04:29:10 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-powered-by: - - ASP.NET + x-msedge-ref: + - 'Ref A: DF815CFF725A493189F5E2E7DD400F04 Ref B: MAA201060513039 Ref C: 2024-04-11T04:29:09Z' status: code: 200 message: OK @@ -865,11 +868,12 @@ interactions: "2015-06-15", "location": "eastus", "tags": {}, "dependsOn": []}, {"apiVersion": "2022-01-01", "type": "Microsoft.Network/publicIPAddresses", "name": "myvm1PublicIP", "location": "eastus", "tags": {}, "dependsOn": [], "properties": {"publicIPAllocationMethod": - null}}, {"apiVersion": "2015-06-15", "type": "Microsoft.Network/networkInterfaces", - "name": "myvm1VMNic", "location": "eastus", "tags": {}, "dependsOn": ["Microsoft.Network/virtualNetworks/myvm1VNET", - "Microsoft.Network/networkSecurityGroups/myvm1NSG", "Microsoft.Network/publicIpAddresses/myvm1PublicIP"], - "properties": {"ipConfigurations": [{"name": "ipconfigmyvm1", "properties": - {"privateIPAllocationMethod": "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET/subnets/myvm1Subnet"}, + "Static"}, "sku": {"name": "Standard"}}, {"apiVersion": "2015-06-15", "type": + "Microsoft.Network/networkInterfaces", "name": "myvm1VMNic", "location": "eastus", + "tags": {}, "dependsOn": ["Microsoft.Network/virtualNetworks/myvm1VNET", "Microsoft.Network/networkSecurityGroups/myvm1NSG", + "Microsoft.Network/publicIpAddresses/myvm1PublicIP"], "properties": {"ipConfigurations": + [{"name": "ipconfigmyvm1", "properties": {"privateIPAllocationMethod": "Dynamic", + "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET/subnets/myvm1Subnet"}, "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP"}}}], "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG"}}}, {"type": "Microsoft.Compute/virtualMachines/extensions", "apiVersion": "2018-10-01", @@ -880,18 +884,20 @@ interactions: "protectedSettings": {"workspaceKey": "[listKeys(parameters(''workspaceId''), ''2015-11-01-preview'').primarySharedKey]"}}, "name": "myvm1/OmsAgentForLinux", "location": "eastus", "dependsOn": ["Microsoft.Compute/virtualMachines/myvm1"]}, - {"apiVersion": "2022-11-01", "type": "Microsoft.Compute/virtualMachines", "name": + {"apiVersion": "2023-09-01", "type": "Microsoft.Compute/virtualMachines", "name": "myvm1", "location": "eastus", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/myvm1VMNic"], "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic", "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": "ReadWrite", "managedDisk": {"storageAccountType": - null}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", - "sku": "18.04-LTS", "version": "latest"}}, "osProfile": {"computerName": "myvm1", - "adminUsername": "cloudtest", "linuxConfiguration": {"disablePasswordAuthentication": - true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4irSgSWZCYBT5vlBRrkYbpO6NKjGXbHD00zqr5jtj3VGTnVLifUa4nfW5W1f/7Yp5+PHuawBMtsdNo7QZD6hitH9kDl1W65Js1r8AoU1WAtF/OIn/Hq39htn+M8j5cuJw3LP2dPa5HVdhs9YRudjguRXpPR0K/FcnyCGPthCY8eM1H/3BlL87B11ge27KyNqvUf6gNaB5vcZe4ZoWVM9VBhSAnDLGypc2K97216eFP5ifp+ru8bxbQXKeSVj+m2/pBs3ldU/MVHTymL6NCDrtIRnKcZ6xJxE5IhgxUmKnD7SFEDj4ub6B8SRKG6GY6kn2VYDQX2GXlW9IFwaTIvoN", - "path": "/home/cloudtest/.ssh/authorized_keys"}]}}}}}], "outputs": {}}, "parameters": - {"workspaceId": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002"}}, + null}}, "imageReference": {"publisher": "Canonical", "offer": "0001-com-ubuntu-server-jammy", + "sku": "22_04-lts-gen2", "version": "latest"}}, "osProfile": {"computerName": + "myvm1", "adminUsername": "liwang3", "linuxConfiguration": {"disablePasswordAuthentication": + true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDadVxR1G/E6PgSUPxoXVdN67BCJQInbOeuxz/hyUt3c2DXVKW6P6zd01Nd2S1C+iWu50wERXoLPWePhcPSJlQTAGuC6ZoaaPf0Gs8NmNnYixvKE7A+J/S/KUcEcGJSKgdIObPgy05+Efu0FxE1j/HVI0C8CCEAPjvjKtljYLYXKRx2WPQuYfQ83mpwDdHAqBMgbhHcy93fS//opl4VnEfTNh19TsbW0Kjh1GCnfMd6i0D30pDtQcgfcOQ2D/giK7Wcy4OcbPOXaUYzqaEE580PxsreQZ7BSRpj8+3w4SkTNxuTZGUkqihOvsCiYWu/EvDR5cL/dh6JF3TeMbVrU+alsrT7/D0L3nYy5o+Jk66+AjciKD6da6aNsUYb10UdZrU5H1EHY2orJ9iet+ag9+UraEnk5pfxgF+zT2aOSZWmzO+PICgAB/Mc7DU5vhG1URSLvi7P2tZjGanviX4hZpGfDLVUsQCVGcjt2U6cv5hTaWOTKGDqvY3d7GuZOL73laE= + redmond\\liwang3@DESKTOP-SAW-LIWA\n", "path": "/home/liwang3/.ssh/authorized_keys"}]}}}, + "securityProfile": {"securityType": "TrustedLaunch", "uefiSettings": {"secureBootEnabled": + true, "vTpmEnabled": true}}}}], "outputs": {}}, "parameters": {"workspaceId": + {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002"}}, "mode": "incremental"}}' headers: Accept: @@ -903,22 +909,21 @@ interactions: Connection: - keep-alive Content-Length: - - '4175' + - '4553' Content-Type: - application/json ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/vm_deploy_qEyuogfzb8yUWiMEqYBzEvlATFmpJ67e","name":"vm_deploy_qEyuogfzb8yUWiMEqYBzEvlATFmpJ67e","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14697145673071388618","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-03-28T11:21:47.6945747Z","duration":"PT0.0004788S","correlationId":"71c5c0ea-727d-44cc-8ec0-3764216e6c2e","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/vm_deploy_r2We1Vi8l8MfuSxgcWRKqKAZ5vuqBs0Z","name":"vm_deploy_r2We1Vi8l8MfuSxgcWRKqKAZ5vuqBs0Z","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13429142081127113580","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2024-04-11T04:29:18.5515492Z","duration":"PT0.0003823S","correlationId":"69650520-de4d-483a-9a68-4be387aaba9e","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/vm_deploy_qEyuogfzb8yUWiMEqYBzEvlATFmpJ67e/operationStatuses/08585216043782735188?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/vm_deploy_r2We1Vi8l8MfuSxgcWRKqKAZ5vuqBs0Z/operationStatuses/08584887971302747881?api-version=2022-09-01 cache-control: - no-cache content-length: @@ -926,17 +931,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:21:47 GMT + - Thu, 11 Apr 2024 04:29:19 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' + x-msedge-ref: + - 'Ref A: F15E35A866D343D58693E881C9608ED1 Ref B: MAA201060516025 Ref C: 2024-04-11T04:29:11Z' status: code: 201 message: Created @@ -954,10 +963,9 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585216043782735188?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584887971302747881?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -969,17 +977,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:22:17 GMT + - Thu, 11 Apr 2024 04:29:21 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 864BB98A015143BCBDE087E1DA46F747 Ref B: MAA201060516025 Ref C: 2024-04-11T04:29:20Z' status: code: 200 message: OK @@ -997,10 +1007,9 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585216043782735188?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584887971302747881?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -1012,17 +1021,63 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:22:47 GMT + - Thu, 11 Apr 2024 04:29:52 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: F269AD3F1646438BBF341FC610230DC9 Ref B: MAA201060516025 Ref C: 2024-04-11T04:29:52Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584887971302747881?api-version=2022-09-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 04:30:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 06BC4C58A1504BDBACA9DBCC8AAF343F Ref B: MAA201060516025 Ref C: 2024-04-11T04:30:23Z' status: code: 200 message: OK @@ -1040,10 +1095,9 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585216043782735188?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584887971302747881?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -1055,17 +1109,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:23:17 GMT + - Thu, 11 Apr 2024 04:30:55 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: E95D963304F745C4BF851623007A3354 Ref B: MAA201060516025 Ref C: 2024-04-11T04:30:54Z' status: code: 200 message: OK @@ -1083,13 +1139,12 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/vm_deploy_qEyuogfzb8yUWiMEqYBzEvlATFmpJ67e","name":"vm_deploy_qEyuogfzb8yUWiMEqYBzEvlATFmpJ67e","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14697145673071388618","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-03-28T11:23:11.3718201Z","duration":"PT1M23.6777242S","correlationId":"71c5c0ea-727d-44cc-8ec0-3764216e6c2e","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/vm_deploy_r2We1Vi8l8MfuSxgcWRKqKAZ5vuqBs0Z","name":"vm_deploy_r2We1Vi8l8MfuSxgcWRKqKAZ5vuqBs0Z","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13429142081127113580","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2024-04-11T04:30:53.8249603Z","duration":"PT1M35.2737934S","correlationId":"69650520-de4d-483a-9a68-4be387aaba9e","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET"}]}}' headers: cache-control: - no-cache @@ -1098,17 +1153,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:23:17 GMT + - Thu, 11 Apr 2024 04:30:56 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 93DE48E42673480F931F68D65CB7D495 Ref B: MAA201060516025 Ref C: 2024-04-11T04:30:56Z' status: code: 200 message: OK @@ -1126,104 +1183,110 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1?$expand=instanceView&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1?$expand=instanceView&api-version=2023-09-01 response: body: - string: "{\r\n \"name\": \"myvm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1\",\r\n - \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"4c4dd4f2-be14-4283-9c0b-dc0460437eaa\",\r\n - \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n - \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": - \"18.04.202303220\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"myvm1_OsDisk_1_a9b076ac16e84ff9bf663b684947ca9a\",\r\n - \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/disks/myvm1_OsDisk_1_a9b076ac16e84ff9bf663b684947ca9a\"\r\n - \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": - 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": - {\r\n \"computerName\": \"myvm1\",\r\n \"adminUsername\": \"cloudtest\",\r\n - \ \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n - \ \"path\": \"/home/cloudtest/.ssh/authorized_keys\",\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4irSgSWZCYBT5vlBRrkYbpO6NKjGXbHD00zqr5jtj3VGTnVLifUa4nfW5W1f/7Yp5+PHuawBMtsdNo7QZD6hitH9kDl1W65Js1r8AoU1WAtF/OIn/Hq39htn+M8j5cuJw3LP2dPa5HVdhs9YRudjguRXpPR0K/FcnyCGPthCY8eM1H/3BlL87B11ge27KyNqvUf6gNaB5vcZe4ZoWVM9VBhSAnDLGypc2K97216eFP5ifp+ru8bxbQXKeSVj+m2/pBs3ldU/MVHTymL6NCDrtIRnKcZ6xJxE5IhgxUmKnD7SFEDj4ub6B8SRKG6GY6kn2VYDQX2GXlW9IFwaTIvoN\"\r\n - \ }\r\n ]\r\n },\r\n \"provisionVMAgent\": - true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n - \ \"assessmentMode\": \"ImageDefault\"\r\n },\r\n \"enableVMAgentPlatformUpdates\": - false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": - true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": - {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": - \"myvm1\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n - \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.9.0.4\",\r\n \"statuses\": - [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n - \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n - \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2023-03-28T11:23:09+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - [\r\n {\r\n \"type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n - \ \"typeHandlerVersion\": \"1.14.23\",\r\n \"status\": - {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": - \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \"message\": - \"Plugin enabled\"\r\n }\r\n }\r\n ]\r\n },\r\n - \ \"disks\": [\r\n {\r\n \"name\": \"myvm1_OsDisk_1_a9b076ac16e84ff9bf663b684947ca9a\",\r\n - \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n - \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-03-28T11:21:56.1124033+00:00\"\r\n - \ }\r\n ]\r\n }\r\n ],\r\n \"extensions\": - [\r\n {\r\n \"name\": \"OmsAgentForLinux\",\r\n \"type\": - \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n \"typeHandlerVersion\": - \"1.14.23\",\r\n \"statuses\": [\r\n {\r\n \"code\": - \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n - \ \"displayStatus\": \"Provisioning succeeded\",\r\n \"message\": - \"Enable succeeded\"\r\n }\r\n ]\r\n }\r\n ],\r\n - \ \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n - \ \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": - \"Info\",\r\n \"displayStatus\": \"Provisioning succeeded\",\r\n - \ \"time\": \"2023-03-28T11:23:10.5656009+00:00\"\r\n },\r\n - \ {\r\n \"code\": \"PowerState/running\",\r\n \"level\": - \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n }\r\n - \ ]\r\n },\r\n \"timeCreated\": \"2023-03-28T11:21:53.3780233+00:00\"\r\n - \ },\r\n \"resources\": [\r\n {\r\n \"name\": \"OmsAgentForLinux\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux\",\r\n - \ \"type\": \"Microsoft.Compute/virtualMachines/extensions\",\r\n \"location\": - \"eastus\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": - true,\r\n \"provisioningState\": \"Succeeded\",\r\n \"publisher\": - \"Microsoft.EnterpriseCloud.Monitoring\",\r\n \"type\": \"OmsAgentForLinux\",\r\n - \ \"typeHandlerVersion\": \"1.0\",\r\n \"settings\": {\"workspaceId\":\"d7238ed7-f476-46b9-ba6e-da60f0b95979\",\"stopOnMultipleConnections\":\"true\"}\r\n - \ }\r\n }\r\n ]\r\n}" + string: "{\r\n \"name\": \"myvm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1\"\ + ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ + : \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"hardwareProfile\"\ + : {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \"provisioningState\"\ + : \"Succeeded\",\r\n \"vmId\": \"49c0758e-0874-4b48-beac-91a07d29a89b\"\ + ,\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"\ + publisher\": \"Canonical\",\r\n \"offer\": \"0001-com-ubuntu-server-jammy\"\ + ,\r\n \"sku\": \"22_04-lts-gen2\",\r\n \"version\": \"latest\"\ + ,\r\n \"exactVersion\": \"22.04.202404090\"\r\n },\r\n \"\ + osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": \"myvm1_disk1_cf693bc8b33c4ccc942432ea654770ee\"\ + ,\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\"\ + ,\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/disks/myvm1_disk1_cf693bc8b33c4ccc942432ea654770ee\"\ + \r\n },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\"\ + : 30\r\n },\r\n \"dataDisks\": [],\r\n \"diskControllerType\"\ + : \"SCSI\"\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"\ + myvm1\",\r\n \"adminUsername\": \"liwang3\",\r\n \"linuxConfiguration\"\ + : {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\"\ + : {\r\n \"publicKeys\": [\r\n {\r\n \"path\"\ + : \"/home/liwang3/.ssh/authorized_keys\",\r\n \"keyData\": \"\ + ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDadVxR1G/E6PgSUPxoXVdN67BCJQInbOeuxz/hyUt3c2DXVKW6P6zd01Nd2S1C+iWu50wERXoLPWePhcPSJlQTAGuC6ZoaaPf0Gs8NmNnYixvKE7A+J/S/KUcEcGJSKgdIObPgy05+Efu0FxE1j/HVI0C8CCEAPjvjKtljYLYXKRx2WPQuYfQ83mpwDdHAqBMgbhHcy93fS//opl4VnEfTNh19TsbW0Kjh1GCnfMd6i0D30pDtQcgfcOQ2D/giK7Wcy4OcbPOXaUYzqaEE580PxsreQZ7BSRpj8+3w4SkTNxuTZGUkqihOvsCiYWu/EvDR5cL/dh6JF3TeMbVrU+alsrT7/D0L3nYy5o+Jk66+AjciKD6da6aNsUYb10UdZrU5H1EHY2orJ9iet+ag9+UraEnk5pfxgF+zT2aOSZWmzO+PICgAB/Mc7DU5vhG1URSLvi7P2tZjGanviX4hZpGfDLVUsQCVGcjt2U6cv5hTaWOTKGDqvY3d7GuZOL73laE=\ + \ redmond\\\\liwang3@DESKTOP-SAW-LIWA\\n\"\r\n }\r\n ]\r\ + \n },\r\n \"provisionVMAgent\": true,\r\n \"patchSettings\"\ + : {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\"\ + : \"ImageDefault\"\r\n },\r\n \"enableVMAgentPlatformUpdates\"\ + : false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\"\ + : true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"\ + securityProfile\": {\r\n \"uefiSettings\": {\r\n \"secureBootEnabled\"\ + : true,\r\n \"vTpmEnabled\": true\r\n },\r\n \"securityType\"\ + : \"TrustedLaunch\"\r\n },\r\n \"networkProfile\": {\"networkInterfaces\"\ + :[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic\"\ + }]},\r\n \"instanceView\": {\r\n \"computerName\": \"myvm1\",\r\n\ + \ \"osName\": \"ubuntu\",\r\n \"osVersion\": \"22.04\",\r\n \ + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.10.0.8\",\r\n \ + \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\"\ + ,\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"\ + Ready\",\r\n \"message\": \"Guest Agent is running\",\r\n \ + \ \"time\": \"2024-04-11T04:30:45+00:00\"\r\n }\r\n \ + \ ],\r\n \"extensionHandlers\": [\r\n {\r\n \"\ + type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n \ + \ \"typeHandlerVersion\": \"1.19.0\",\r\n \"status\": {\r\ + \n \"code\": \"ProvisioningState/succeeded\",\r\n \ + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n\ + \ \"message\": \"Plugin enabled\"\r\n }\r\n \ + \ }\r\n ]\r\n },\r\n \"disks\": [\r\n {\r\n \ + \ \"name\": \"myvm1_disk1_cf693bc8b33c4ccc942432ea654770ee\",\r\n \ + \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\"\ + ,\r\n \"level\": \"Info\",\r\n \"displayStatus\"\ + : \"Provisioning succeeded\",\r\n \"time\": \"2024-04-11T04:29:39.9625467+00:00\"\ + \r\n }\r\n ]\r\n }\r\n ],\r\n \"extensions\"\ + : [\r\n {\r\n \"name\": \"OmsAgentForLinux\",\r\n \ + \ \"type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n\ + \ \"typeHandlerVersion\": \"1.19.0\",\r\n \"statuses\":\ + \ [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\"\ + ,\r\n \"level\": \"Info\",\r\n \"displayStatus\"\ + : \"Provisioning succeeded\",\r\n \"message\": \"Enable succeeded\"\ + \r\n }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\"\ + : \"V2\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"\ + ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \ + \ \"displayStatus\": \"Provisioning succeeded\",\r\n \"time\"\ + : \"2024-04-11T04:30:47.071631+00:00\"\r\n },\r\n {\r\n \ + \ \"code\": \"PowerState/running\",\r\n \"level\": \"Info\"\ + ,\r\n \"displayStatus\": \"VM running\"\r\n }\r\n ]\r\ + \n },\r\n \"timeCreated\": \"2024-04-11T04:29:37.9625546+00:00\"\r\n\ + \ },\r\n \"resources\": [\r\n {\r\n \"name\": \"OmsAgentForLinux\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux\"\ + ,\r\n \"type\": \"Microsoft.Compute/virtualMachines/extensions\",\r\n\ + \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"\ + autoUpgradeMinorVersion\": true,\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"publisher\": \"Microsoft.EnterpriseCloud.Monitoring\",\r\n\ + \ \"type\": \"OmsAgentForLinux\",\r\n \"typeHandlerVersion\"\ + : \"1.0\",\r\n \"settings\": {\"workspaceId\":\"24b26ad8-2420-46b3-80eb-227bfcd8e8f8\"\ + ,\"stopOnMultipleConnections\":\"true\"}\r\n }\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache content-length: - - '5461' + - '5885' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:23:17 GMT + - Thu, 11 Apr 2024 04:30:58 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31918 + - Microsoft.Compute/LowCostGetSubscriptionMaximum;23997,Microsoft.Compute/LowCostGetResource;35 + x-msedge-ref: + - 'Ref A: 3507A2081E4346938F9D80B7528A7D46 Ref B: MAA201060513023 Ref C: 2024-04-11T04:30:57Z' status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -1238,36 +1301,37 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic?api-version=2022-01-01 response: body: - string: "{\r\n \"name\": \"myvm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic\",\r\n - \ \"etag\": \"W/\\\"f2b17de7-493a-495c-9477-464699278c49\\\"\",\r\n \"tags\": - {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"82529812-dde4-46c6-8478-8b3aa6b28180\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"ipconfigmyvm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic/ipConfigurations/ipconfigmyvm1\",\r\n - \ \"etag\": \"W/\\\"f2b17de7-493a-495c-9477-464699278c49\\\"\",\r\n - \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": - \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET/subnets/myvm1Subnet\"\r\n - \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": - \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": - [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"zerwdjy2qznufpiknpsm0fs4lc.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-23-51-89\",\r\n \"enableAcceleratedNetworking\": false,\r\n - \ \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": false,\r\n - \ \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG\"\r\n - \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1\"\r\n - \ },\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\n - \ \"nicType\": \"Standard\",\r\n \"allowPort25Out\": true\r\n },\r\n - \ \"type\": \"Microsoft.Network/networkInterfaces\",\r\n \"location\": \"eastus\",\r\n - \ \"kind\": \"Regular\"\r\n}" + string: "{\r\n \"name\": \"myvm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic\"\ + ,\r\n \"etag\": \"W/\\\"677c511e-7f8a-4112-a4e8-94d03464ba9d\\\"\",\r\n \ + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"resourceGuid\": \"5ea2ede0-89d8-42f8-93c0-f3af7fbd3c70\",\r\n \ + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigmyvm1\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic/ipConfigurations/ipconfigmyvm1\"\ + ,\r\n \"etag\": \"W/\\\"677c511e-7f8a-4112-a4e8-94d03464ba9d\\\"\"\ + ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ + : \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\":\ + \ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP\"\ + \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET/subnets/myvm1Subnet\"\ + \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ + : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ + \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ + internalDomainNameSuffix\": \"ef3swvtg2xzezfhdl2jcfiucuc.bx.internal.cloudapp.net\"\ + \r\n },\r\n \"macAddress\": \"00-0D-3A-54-BD-C7\",\r\n \"enableAcceleratedNetworking\"\ + : false,\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\"\ + : false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG\"\ + \r\n },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1\"\ + \r\n },\r\n \"hostedWorkloads\": [],\r\n \"nicType\": \"Standard\"\ + ,\r\n \"allowPort25Out\": true,\r\n \"auxiliaryMode\": \"None\"\r\n\ + \ },\r\n \"type\": \"Microsoft.Network/networkInterfaces\",\r\n \"location\"\ + : \"eastus\",\r\n \"kind\": \"Regular\"\r\n}" headers: cache-control: - no-cache @@ -1276,25 +1340,26 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:23:18 GMT + - Thu, 11 Apr 2024 04:31:00 GMT etag: - - W/"f2b17de7-493a-495c-9477-464699278c49" + - W/"677c511e-7f8a-4112-a4e8-94d03464ba9d" expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 78b023c0-feaf-460a-9440-ab9b0fe2e5ec + - 111c2df5-f0a6-45bf-9690-d863cf5629c0 + x-msedge-ref: + - 'Ref A: E0F68457936F46DDBC56BE25D4028D35 Ref B: MAA201060515037 Ref C: 2024-04-11T04:30:59Z' status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -1309,50 +1374,47 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP?api-version=2022-01-01 response: body: - string: "{\r\n \"name\": \"myvm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"214d357e-6546-43dd-b0f8-211dcc37a76e\\\"\",\r\n \"location\": - \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"b79c20bc-129a-41d8-a643-635c4d45759f\",\r\n - \ \"ipAddress\": \"40.76.218.120\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n - \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": - 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic/ipConfigurations/ipconfigmyvm1\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n - \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n - \ }\r\n}" + string: "{\r\n \"name\": \"myvm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP\"\ + ,\r\n \"etag\": \"W/\\\"aec5cf4e-92e8-44a3-8b96-1a62e62687ee\\\"\",\r\n \ + \ \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n\ + \ \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"a1898daa-7a92-4770-a19b-944b0bba5b55\"\ + ,\r\n \"ipAddress\": \"52.255.185.91\",\r\n \"publicIPAddressVersion\"\ + : \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\"\ + : 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic/ipConfigurations/ipconfigmyvm1\"\ + \r\n }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\ + \n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ + \r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '940' + - '942' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:23:19 GMT + - Thu, 11 Apr 2024 04:31:02 GMT etag: - - W/"214d357e-6546-43dd-b0f8-211dcc37a76e" + - W/"aec5cf4e-92e8-44a3-8b96-1a62e62687ee" expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 37f55639-6719-4d08-b937-15c56d1c5aec + - c09d118e-2ea0-4784-b3ba-c30e15459d06 + x-msedge-ref: + - 'Ref A: 3C99ADD5075541FE8FA9D95F3BD68D96 Ref B: MAA201060515039 Ref C: 2024-04-11T04:31:01Z' status: code: 200 message: OK @@ -1374,14 +1436,18 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxPerformanceCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","etag":"W/\"datetime''2023-03-28T11%3A23%3A19.7843441Z''\"","name":"DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"properties":{"state":"Enabled"},"kind":"LinuxPerformanceCollection","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","name":"DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A31%3A04.2062902Z''\""}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1389,25 +1455,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:23:19 GMT + - Thu, 11 Apr 2024 04:31:03 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' - x-powered-by: - - ASP.NET + - '1199' + x-msedge-ref: + - 'Ref A: 621FF5A03B5944C1AFE7A8F23B3DADA7 Ref B: MAA201060516031 Ref C: 2024-04-11T04:31:03Z' status: code: 200 message: OK @@ -1432,16 +1496,20 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Memory","performanceCounters":[{"counterName":"Available + string: '{"properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Memory","performanceCounters":[{"counterName":"Available MBytes Memory"},{"counterName":"% Used Memory"},{"counterName":"% Used Swap - Space"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","etag":"W/\"datetime''2023-03-28T11%3A23%3A20.4405303Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Space"}]},"kind":"LinuxPerformanceObject","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A31%3A05.7288143Z''\""}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1449,25 +1517,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:23:20 GMT + - Thu, 11 Apr 2024 04:31:05 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' - x-powered-by: - - ASP.NET + - '1199' + x-msedge-ref: + - 'Ref A: 72DD13A29EDD47F6B79F6C81AE6763AE Ref B: MAA201060516031 Ref C: 2024-04-11T04:31:04Z' status: code: 200 message: OK @@ -1491,15 +1557,19 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Processor","performanceCounters":[{"counterName":"% - Processor Time"},{"counterName":"% Privileged Time"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","etag":"W/\"datetime''2023-03-28T11%3A23%3A20.7842818Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Processor","performanceCounters":[{"counterName":"% + Processor Time"},{"counterName":"% Privileged Time"}]},"kind":"LinuxPerformanceObject","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A31%3A07.1814166Z''\""}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1507,25 +1577,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:23:20 GMT + - Thu, 11 Apr 2024 04:31:06 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' - x-powered-by: - - ASP.NET + - '1198' + x-msedge-ref: + - 'Ref A: 826A3543DECD4A56B0EE9388BEB470F2 Ref B: MAA201060516031 Ref C: 2024-04-11T04:31:06Z' status: code: 200 message: OK @@ -1551,17 +1619,21 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Logical + string: '{"properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Logical Disk","performanceCounters":[{"counterName":"% Used Inodes"},{"counterName":"Free Megabytes"},{"counterName":"% Used Space"},{"counterName":"Disk Transfers/sec"},{"counterName":"Disk - Reads/sec"},{"counterName":"Disk Writes/sec"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","etag":"W/\"datetime''2023-03-28T11%3A23%3A21.2218378Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Reads/sec"},{"counterName":"Disk Writes/sec"}]},"kind":"LinuxPerformanceObject","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A31%3A08.5971716Z''\""}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1569,25 +1641,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:23:21 GMT + - Thu, 11 Apr 2024 04:31:08 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' - x-powered-by: - - ASP.NET + - '1198' + x-msedge-ref: + - 'Ref A: 7A6CDE67A5434134A5010AE91076DEBD Ref B: MAA201060516031 Ref C: 2024-04-11T04:31:07Z' status: code: 200 message: OK @@ -1611,15 +1681,19 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Network","performanceCounters":[{"counterName":"Total - Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","etag":"W/\"datetime''2023-03-28T11%3A23%3A21.7062090Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Network","performanceCounters":[{"counterName":"Total + Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"kind":"LinuxPerformanceObject","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A31%3A10.2180384Z''\""}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1627,25 +1701,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:23:21 GMT + - Thu, 11 Apr 2024 04:31:09 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' - x-powered-by: - - ASP.NET + - '1198' + x-msedge-ref: + - 'Ref A: A79679DFE96640B399D3C06CD89BA120 Ref B: MAA201060516031 Ref C: 2024-04-11T04:31:09Z' status: code: 200 message: OK @@ -1667,14 +1739,18 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxSyslogCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","etag":"W/\"datetime''2023-03-28T11%3A23%3A22.2531269Z''\"","name":"DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"properties":{"state":"Enabled"},"kind":"LinuxSyslogCollection","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","name":"DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A31%3A11.2210783Z''\""}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1682,25 +1758,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:23:22 GMT + - Thu, 11 Apr 2024 04:31:10 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' - x-powered-by: - - ASP.NET + - '1198' + x-msedge-ref: + - 'Ref A: F7777A6244164FABA0686211D19EEA1B Ref B: MAA201060516031 Ref C: 2024-04-11T04:31:10Z' status: code: 200 message: OK @@ -1723,14 +1797,18 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxSyslog","properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","etag":"W/\"datetime''2023-03-28T11%3A23%3A22.6437598Z''\"","name":"DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"kind":"LinuxSyslog","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","name":"DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A31%3A12.1483032Z''\""}' headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1738,25 +1816,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:23:22 GMT + - Thu, 11 Apr 2024 04:31:11 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' - x-powered-by: - - ASP.NET + - '1197' + x-msedge-ref: + - 'Ref A: 879DEF62DC9E4A8E91BFDAA026BFF501 Ref B: MAA201060516031 Ref C: 2024-04-11T04:31:11Z' status: code: 200 message: OK @@ -1774,32 +1850,33 @@ interactions: ParameterSetName: - -g -n --scopes --condition --condition-query --description User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2023-03-28T11:21:12Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query","date":"2024-04-11T04:28:50Z","module":"scheduled-query","Creator":"liwang3@microsoft.com","DateCreated":"2024-04-11T04:28:58Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '338' + - '466' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:24 GMT + - Thu, 11 Apr 2024 04:34:15 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: D24B415654CE4BAFB56878AA8F7AE485 Ref B: MAA201060516049 Ref C: 2024-04-11T04:34:15Z' status: code: 200 message: OK @@ -1828,42 +1905,52 @@ interactions: ParameterSetName: - -g -n --scopes --condition --condition-query --description User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:24.7905574Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:24.7905574Z"},"properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:17.1412697Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:17.1412697Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - - '1147' + - '1136' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:32 GMT + - Thu, 11 Apr 2024 04:34:20 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=baf2f7141898162fc06616416bf1b7030430ee2fc9dd5736fc8f08ce522682d3;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=baf2f7141898162fc06616416bf1b7030430ee2fc9dd5736fc8f08ce522682d3;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1198' + x-msedge-ref: + - 'Ref A: 3E55210938B64E0C866B0D2063AB22F9 Ref B: MAA201060513053 Ref C: 2024-04-11T04:34:16Z' + x-powered-by: + - ASP.NET x-rate-limit-limit: - 1m x-rate-limit-remaining: - - '14' + - '29' x-rate-limit-reset: - - '2023-03-28T11:27:24.8306641Z' + - '2024-04-11T04:35:18.4593918Z' status: code: 201 message: Created @@ -1881,32 +1968,33 @@ interactions: ParameterSetName: - -g -n --scopes --condition --description User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2023-03-28T11:21:12Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query","date":"2024-04-11T04:28:50Z","module":"scheduled-query","Creator":"liwang3@microsoft.com","DateCreated":"2024-04-11T04:28:58Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '338' + - '466' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:32 GMT + - Thu, 11 Apr 2024 04:34:21 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 30F1B95DBBEF4129B8FF6BE23B64891B Ref B: MAA201060514031 Ref C: 2024-04-11T04:34:21Z' status: code: 200 message: OK @@ -1935,42 +2023,52 @@ interactions: ParameterSetName: - -g -n --scopes --condition --description User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq02?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:33.9046077Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:33.9046077Z"},"properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:22.6689826Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:22.6689826Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - - '1130' + - '1119' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:35 GMT + - Thu, 11 Apr 2024 04:34:25 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=b166a90e62456752594f81d91d3a0138a0972c9ace2eaf27fb2e4f52b791ce2d;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=b166a90e62456752594f81d91d3a0138a0972c9ace2eaf27fb2e4f52b791ce2d;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' + x-msedge-ref: + - 'Ref A: 31FB4528A7004528B3E1AB22CBEE4A86 Ref B: MAA201060513017 Ref C: 2024-04-11T04:34:21Z' + x-powered-by: + - ASP.NET x-rate-limit-limit: - 1m x-rate-limit-remaining: - - '14' + - '29' x-rate-limit-reset: - - '2023-03-28T11:27:33.9564319Z' + - '2024-04-11T04:35:24.0147992Z' status: code: 201 message: Created @@ -1989,44 +2087,46 @@ interactions: - -g -n --condition --condition-query --description --severity --disabled --evaluation-frequency --window-size User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:24.7905574Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:24.7905574Z"},"properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:17.1412697Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:17.1412697Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - - '1147' + - '1136' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:35 GMT + - Thu, 11 Apr 2024 04:34:28 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=32d373d00a8b5e26dbcbf6b70acfc401bf046d1aff11239e37098bd4ef35d3d6;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=32d373d00a8b5e26dbcbf6b70acfc401bf046d1aff11239e37098bd4ef35d3d6;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-rate-limit-limit: - - 1m - x-rate-limit-remaining: - - '49' - x-rate-limit-reset: - - '2023-03-28T11:27:36.0019234Z' + x-msedge-ref: + - 'Ref A: B590F0970B04498584FF53F99AE23B95 Ref B: MAA201060514025 Ref C: 2024-04-11T04:34:26Z' + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -2037,7 +2137,7 @@ interactions: [{"query": "union Event | where TimeGenerated > ago(2h)", "timeAggregation": "Count", "resourceIdColumn": "_ResourceId", "dimensions": [], "operator": "LessThan", "threshold": 260.0, "failingPeriods": {"numberOfEvaluationPeriods": 3, "minFailingPeriodsToAlert": - 2}}]}, "checkWorkspaceAlertsStorageConfigured": false, "skipQueryValidation": + 2}}]}, "actions": {}, "checkWorkspaceAlertsStorageConfigured": false, "skipQueryValidation": false, "autoMitigate": true}}' headers: Accept: @@ -2049,53 +2149,61 @@ interactions: Connection: - keep-alive Content-Length: - - '710' + - '725' Content-Type: - application/json ParameterSetName: - -g -n --condition --condition-query --description --severity --disabled --evaluation-frequency --window-size User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:24.7905574Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:36.2359471Z"},"properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:17.1412697Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:29.3678453Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule 2","severity":4,"enabled":false,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - - '1174' + - '1163' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:36 GMT + - Thu, 11 Apr 2024 04:34:36 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=6a220fd8c7f3ee2a32fbcf063d5ce235d5915c3e7a850e9910a88d3d6a69220e;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=6a220fd8c7f3ee2a32fbcf063d5ce235d5915c3e7a850e9910a88d3d6a69220e;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' + x-msedge-ref: + - 'Ref A: 642EF5A7FB024269AC21DBBE91C1CE04 Ref B: MAA201060513033 Ref C: 2024-04-11T04:34:28Z' + x-powered-by: + - ASP.NET x-rate-limit-limit: - 1m x-rate-limit-remaining: - - '14' + - '29' x-rate-limit-reset: - - '2023-03-28T11:27:36.2564284Z' + - '2024-04-11T04:35:30.4296060Z' status: code: 200 message: OK @@ -2113,44 +2221,46 @@ interactions: ParameterSetName: - -g -n --mad --auto-mitigate --skip-query-validation User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:24.7905574Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:36.2359471Z"},"properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:17.1412697Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:29.3678453Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule 2","severity":4,"enabled":false,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - - '1174' + - '1163' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:37 GMT + - Thu, 11 Apr 2024 04:34:39 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=f8d7fadf2909ff4e586acf5f4d58abc3ba7f56ba5654aec79a4f0995507cc6b6;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=f8d7fadf2909ff4e586acf5f4d58abc3ba7f56ba5654aec79a4f0995507cc6b6;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-rate-limit-limit: - - 1m - x-rate-limit-remaining: - - '49' - x-rate-limit-reset: - - '2023-03-28T11:27:37.7382835Z' + x-msedge-ref: + - 'Ref A: 526FBD5A9CE04DEB9F458177E8272096 Ref B: MAA201060514033 Ref C: 2024-04-11T04:34:38Z' + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -2161,7 +2271,7 @@ interactions: [{"query": "union Event | where TimeGenerated > ago(2h)", "timeAggregation": "Count", "resourceIdColumn": "_ResourceId", "dimensions": [], "operator": "LessThan", "threshold": 260.0, "failingPeriods": {"numberOfEvaluationPeriods": 3, "minFailingPeriodsToAlert": - 2}}]}, "muteActionsDuration": "PT30M", "checkWorkspaceAlertsStorageConfigured": + 2}}]}, "muteActionsDuration": "PT30M", "actions": {}, "checkWorkspaceAlertsStorageConfigured": false, "skipQueryValidation": true, "autoMitigate": false}}' headers: Accept: @@ -2173,61 +2283,66 @@ interactions: Connection: - keep-alive Content-Length: - - '741' + - '756' Content-Type: - application/json ParameterSetName: - -g -n --mad --auto-mitigate --skip-query-validation User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:24.7905574Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:38.5829108Z"},"properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:17.1412697Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:40.8099528Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule 2","severity":4,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":false,"muteActionsDuration":"PT30M","checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":true}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - - '1203' + - '1192' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:40 GMT + - Thu, 11 Apr 2024 04:34:43 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=52f8a4371de16c7afc44f037d30946a21b847265bb64e90f074cad5f16452d0c;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=52f8a4371de16c7afc44f037d30946a21b847265bb64e90f074cad5f16452d0c;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1198' + x-msedge-ref: + - 'Ref A: BBEA681E372D40AA87D48BE05E6142F9 Ref B: MAA201060515021 Ref C: 2024-04-11T04:34:40Z' + x-powered-by: + - ASP.NET x-rate-limit-limit: - 1m x-rate-limit-remaining: - - '14' + - '29' x-rate-limit-reset: - - '2023-03-28T11:27:38.6881507Z' + - '2024-04-11T04:35:42.0905424Z' status: code: 200 message: OK - request: - body: '{"location": "Global", "properties": {"groupShortName": "clitesty32dj", - "enabled": true, "emailReceivers": [], "smsReceivers": [], "webhookReceivers": - [], "itsmReceivers": [], "azureAppPushReceivers": [], "automationRunbookReceivers": - [], "voiceReceivers": [], "logicAppReceivers": [], "azureFunctionReceivers": - [], "armRoleReceivers": [], "eventHubReceivers": []}}' + body: '{"location": "Global", "properties": {"enabled": true, "groupShortName": + "clitestz5acy"}}' headers: Accept: - application/json @@ -2238,58 +2353,59 @@ interactions: Connection: - keep-alive Content-Length: - - '365' + - '89' Content-Type: - application/json ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-monitor/5.0.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/actionGroups/clitest000003?api-version=2022-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000003","type":"Microsoft.Insights/ActionGroups","name":"clitest000003","location":"Global","tags":null,"properties":{"groupShortName":"clitesty32dj","enabled":true,"emailReceivers":[],"smsReceivers":[],"webhookReceivers":[],"eventHubReceivers":[],"itsmReceivers":[],"azureAppPushReceivers":[],"automationRunbookReceivers":[],"voiceReceivers":[],"logicAppReceivers":[],"azureFunctionReceivers":[],"armRoleReceivers":[]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000003","type":"Microsoft.Insights/ActionGroups","name":"clitest000003","location":"Global","kind":null,"tags":null,"properties":{"groupShortName":"clitestz5acy","enabled":true,"emailReceivers":[],"smsReceivers":[],"webhookReceivers":[],"eventHubReceivers":[],"itsmReceivers":[],"azureAppPushReceivers":[],"automationRunbookReceivers":[],"voiceReceivers":[],"logicAppReceivers":[],"azureFunctionReceivers":[],"armRoleReceivers":[]}}' headers: access-control-expose-headers: - x-activityid api-supported-versions: - 2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, - 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview + 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, + 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview cache-control: - no-cache content-length: - - '574' + - '586' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:40 GMT + - Thu, 11 Apr 2024 04:34:45 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains x-activityid: - - 69531b24-cd5b-11ed-94a0-af9aed12f2e2 + - d1afe355-f7bc-11ee-98f1-00155d040a01 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-frame-options: + - SAMEORIGIN x-ms-ratelimit-remaining-subscription-resource-requests: - '24' + x-msedge-ref: + - 'Ref A: 4BE3F618DC9D4205B4D560A1CE3E50E0 Ref B: MAA201060515021 Ref C: 2024-04-11T04:34:44Z' x-servedby: - - eus2oneim000002 + - WUS2ONEIM000001 status: code: 201 message: Created - request: - body: '{"location": "Global", "properties": {"groupShortName": "clitestkxmzj", - "enabled": true, "emailReceivers": [], "smsReceivers": [], "webhookReceivers": - [], "itsmReceivers": [], "azureAppPushReceivers": [], "automationRunbookReceivers": - [], "voiceReceivers": [], "logicAppReceivers": [], "azureFunctionReceivers": - [], "armRoleReceivers": [], "eventHubReceivers": []}}' + body: '{"location": "Global", "properties": {"enabled": true, "groupShortName": + "clitestiykbj"}}' headers: Accept: - application/json @@ -2300,49 +2416,53 @@ interactions: Connection: - keep-alive Content-Length: - - '365' + - '89' Content-Type: - application/json ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-monitor/5.0.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/actionGroups/clitest000004?api-version=2022-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000004","type":"Microsoft.Insights/ActionGroups","name":"clitest000004","location":"Global","tags":null,"properties":{"groupShortName":"clitestkxmzj","enabled":true,"emailReceivers":[],"smsReceivers":[],"webhookReceivers":[],"eventHubReceivers":[],"itsmReceivers":[],"azureAppPushReceivers":[],"automationRunbookReceivers":[],"voiceReceivers":[],"logicAppReceivers":[],"azureFunctionReceivers":[],"armRoleReceivers":[]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000004","type":"Microsoft.Insights/ActionGroups","name":"clitest000004","location":"Global","kind":null,"tags":null,"properties":{"groupShortName":"clitestiykbj","enabled":true,"emailReceivers":[],"smsReceivers":[],"webhookReceivers":[],"eventHubReceivers":[],"itsmReceivers":[],"azureAppPushReceivers":[],"automationRunbookReceivers":[],"voiceReceivers":[],"logicAppReceivers":[],"azureFunctionReceivers":[],"armRoleReceivers":[]}}' headers: access-control-expose-headers: - x-activityid api-supported-versions: - 2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, - 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview + 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, + 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview cache-control: - no-cache content-length: - - '574' + - '586' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:41 GMT + - Thu, 11 Apr 2024 04:34:48 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains x-activityid: - - 69531b25-cd5b-11ed-94a0-af9aed12f2e2 + - d3139f8d-f7bc-11ee-b704-00155d040a01 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-frame-options: + - SAMEORIGIN x-ms-ratelimit-remaining-subscription-resource-requests: - '24' + x-msedge-ref: + - 'Ref A: 5186C973CB644EFFBDBCD3E03329FD80 Ref B: MAA201060514025 Ref C: 2024-04-11T04:34:47Z' x-servedby: - - eus2oneim000000 + - eus2oneim000007 status: code: 201 message: Created @@ -2360,32 +2480,33 @@ interactions: ParameterSetName: - -g -n --scopes --condition --description --action-groups --custom-properties User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2023-03-28T11:21:12Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query","date":"2024-04-11T04:28:50Z","module":"scheduled-query","Creator":"liwang3@microsoft.com","DateCreated":"2024-04-11T04:28:58Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '338' + - '466' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:42 GMT + - Thu, 11 Apr 2024 04:34:49 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: AD075A2445C54033A97CEEB4AB2855C1 Ref B: MAA201060513047 Ref C: 2024-04-11T04:34:49Z' status: code: 200 message: OK @@ -2415,42 +2536,52 @@ interactions: ParameterSetName: - -g -n --scopes --condition --description --action-groups --custom-properties User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq03?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:43.2904868Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:43.2904868Z"},"properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:50.9514731Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:50.9514731Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000003"],"customProperties":{"k1":"v1"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - - '1346' + - '1335' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:45 GMT + - Thu, 11 Apr 2024 04:34:54 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=9e445b50e97abf7bffc7635616816f63b7204ce68c81e7d5a4f27cc71369236e;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=9e445b50e97abf7bffc7635616816f63b7204ce68c81e7d5a4f27cc71369236e;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' + x-msedge-ref: + - 'Ref A: 577D892F25F64534982125FC38FA6A01 Ref B: MAA201060514029 Ref C: 2024-04-11T04:34:50Z' + x-powered-by: + - ASP.NET x-rate-limit-limit: - 1m x-rate-limit-remaining: - - '14' + - '29' x-rate-limit-reset: - - '2023-03-28T11:27:43.3621684Z' + - '2024-04-11T04:35:51.9749194Z' status: code: 201 message: Created @@ -2468,44 +2599,46 @@ interactions: ParameterSetName: - -g -n --action-groups --custom-properties User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq03?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:43.2904868Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:43.2904868Z"},"properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:50.9514731Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:50.9514731Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000003"],"customProperties":{"k1":"v1"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - - '1346' + - '1335' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:45 GMT + - Thu, 11 Apr 2024 04:34:56 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=52f8a4371de16c7afc44f037d30946a21b847265bb64e90f074cad5f16452d0c;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=52f8a4371de16c7afc44f037d30946a21b847265bb64e90f074cad5f16452d0c;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-rate-limit-limit: - - 1m - x-rate-limit-remaining: - - '49' - x-rate-limit-reset: - - '2023-03-28T11:27:45.7686402Z' + x-msedge-ref: + - 'Ref A: B03106B09D95493AA24997309C854902 Ref B: MAA201060513051 Ref C: 2024-04-11T04:34:55Z' + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -2535,46 +2668,54 @@ interactions: ParameterSetName: - -g -n --action-groups --custom-properties User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq03?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:43.2904868Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:46.1708901Z"},"properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:50.9514731Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:58.7433725Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000004"],"customProperties":{"k2":"v2"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - - '1346' + - '1335' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:48 GMT + - Thu, 11 Apr 2024 04:35:02 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=b0db226f54f91162bb3d06330e0980059a4c957d9ec5ced874db3bec0ab1f4c5;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=b0db226f54f91162bb3d06330e0980059a4c957d9ec5ced874db3bec0ab1f4c5;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' + x-msedge-ref: + - 'Ref A: 7C1113D5F0B9426DA2A9A28230763979 Ref B: MAA201060516023 Ref C: 2024-04-11T04:34:58Z' + x-powered-by: + - ASP.NET x-rate-limit-limit: - 1m x-rate-limit-remaining: - - '14' + - '29' x-rate-limit-reset: - - '2023-03-28T11:27:46.2150082Z' + - '2024-04-11T04:35:59.7977240Z' status: code: 200 message: OK @@ -2592,44 +2733,46 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:24.7905574Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:38.5829108Z"},"properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:17.1412697Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:40.8099528Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule 2","severity":4,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":false,"muteActionsDuration":"PT30M","checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":true}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - - '1203' + - '1192' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:49 GMT + - Thu, 11 Apr 2024 04:35:05 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=f8b348ab603aeb654affd202b4559f2bcbc3b8205c82a60887bb0f9057a54b31;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=f8b348ab603aeb654affd202b4559f2bcbc3b8205c82a60887bb0f9057a54b31;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-rate-limit-limit: - - 1m - x-rate-limit-remaining: - - '49' - x-rate-limit-reset: - - '2023-03-28T11:27:49.2441994Z' + x-msedge-ref: + - 'Ref A: F3DDE92C0D0B4ED7969D2ABFE784230A Ref B: MAA201060515035 Ref C: 2024-04-11T04:35:03Z' + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -2647,48 +2790,50 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules?api-version=2021-08-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:24.7905574Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:38.5829108Z"},"properties":{"description":"Test + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:17.1412697Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:40.8099528Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule 2","severity":4,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union - Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":false,"muteActionsDuration":"PT30M","checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":true}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:33.9046077Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:33.9046077Z"},"properties":{"description":"Test + Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":false,"muteActionsDuration":"PT30M","checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":true}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:22.6689826Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:22.6689826Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union - Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:43.2904868Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:46.1708901Z"},"properties":{"description":"Test + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:34:50.9514731Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:34:58.7433725Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000004"],"customProperties":{"k2":"v2"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}]}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - - '3693' + - '3660' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:49 GMT + - Thu, 11 Apr 2024 04:35:06 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=023a45785bdace8159926e32ed246de2ecb9ebb01ac6c32b6774e624489f5dd2;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=023a45785bdace8159926e32ed246de2ecb9ebb01ac6c32b6774e624489f5dd2;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-rate-limit-limit: - - 1m - x-rate-limit-remaining: - - '49' - x-rate-limit-reset: - - '2023-03-28T11:27:49.5672761Z' + x-msedge-ref: + - 'Ref A: A0C980866CBE43C2B764A5A3E24A8CB0 Ref B: MAA201060515009 Ref C: 2024-04-11T04:35:05Z' + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -2704,42 +2849,33 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Insights/scheduledQueryRules?api-version=2021-08-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:24.7905574Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:38.5829108Z"},"properties":{"description":"Test - rule 2","severity":4,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union - Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":false,"muteActionsDuration":"PT30M","checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":true}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:33.9046077Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:33.9046077Z"},"properties":{"description":"Test - rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union - Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-03-28T11:26:43.2904868Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-28T11:26:46.1708901Z"},"properties":{"description":"Test - rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union - Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000004"],"customProperties":{"k2":"v2"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}]}' + string: '{"value":[]}' headers: cache-control: - no-cache content-length: - - '3693' + - '12' content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:49 GMT + - Thu, 11 Apr 2024 04:35:07 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: B9D1C8A14DC84B79849303C3C1F3960F Ref B: MAA201060515009 Ref C: 2024-04-11T04:35:08Z' status: code: 200 message: OK @@ -2759,32 +2895,42 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: body: string: '' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - '0' date: - - Tue, 28 Mar 2023 11:26:51 GMT + - Thu, 11 Apr 2024 04:35:16 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=3e7b782186a30014a0b7d72b5e7d1ec8d51c1f4dd874c70959b76530e9a37dd3;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=3e7b782186a30014a0b7d72b5e7d1ec8d51c1f4dd874c70959b76530e9a37dd3;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - '14999' + x-msedge-ref: + - 'Ref A: 50F0DF2197754FCA8398F4226F2203BE Ref B: MAA201060515035 Ref C: 2024-04-11T04:35:08Z' + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -2802,8 +2948,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.46.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: @@ -2819,17 +2964,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 28 Mar 2023 11:26:52 GMT + - Thu, 11 Apr 2024 04:35:17 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-failure-cause: - gateway + x-msedge-ref: + - 'Ref A: 5F46A7E515184015B1FAAFA1F1BBD0C1 Ref B: MAA201060513023 Ref C: 2024-04-11T04:35:17Z' status: code: 404 message: Not Found diff --git a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_condition_operator.yaml b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_condition_operator.yaml index 406b62ce611..664a6e69c37 100644 --- a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_condition_operator.yaml +++ b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_condition_operator.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001","name":"cli_test_scheduled_query_operator000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query_condition_operator","date":"2023-08-22T06:37:48Z","module":"scheduled-query"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001","name":"cli_test_scheduled_query_operator000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query_condition_operator","date":"2024-04-11T04:21:18Z","module":"scheduled-query"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,17 +27,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:37:53 GMT + - Thu, 11 Apr 2024 04:21:23 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 6FFA87FA06874318B1300744CFF3550B Ref B: MAA201060515035 Ref C: 2024-04-11T04:21:23Z' status: code: 200 message: OK @@ -60,70 +62,48 @@ interactions: ,\n \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\"\ : {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"\ type\": \"object\",\n \"value\": {\n \"Linux\": {\n \"\ - CentOS\": {\n \"publisher\": \"OpenLogic\",\n \"offer\"\ - : \"CentOS\",\n \"sku\": \"7.5\",\n \"version\": \"\ - latest\",\n \"architecture\": \"x64\"\n },\n \ - \ \"CentOS85Gen2\": {\n \"publisher\": \"OpenLogic\",\n \ - \ \"offer\": \"CentOS\",\n \"sku\": \"8_5-gen2\",\n \ - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n\ - \ },\n \"Debian\": {\n \"publisher\": \"Debian\"\ - ,\n \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \ - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\ - \n },\n \"Debian11\": {\n \"publisher\": \"\ - Debian\",\n \"offer\": \"debian-11\",\n \"sku\": \"\ - 11-backports-gen2\",\n \"version\": \"latest\",\n \"\ - architecture\": \"x64\"\n },\n \"Flatcar\": {\n \ - \ \"publisher\": \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\"\ - ,\n \"sku\": \"stable\",\n \"version\": \"latest\",\n\ - \ \"architecture\": \"x64\"\n },\n \"FlatcarLinuxFreeGen2\"\ - : {\n \"publisher\": \"kinvolk\",\n \"offer\": \"\ - flatcar-container-linux-free\",\n \"sku\": \"stable-gen2\",\n\ - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\ - \n },\n \"openSUSE-Leap\": {\n \"publisher\"\ - : \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n \"\ - sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\"\ - : \"x64\"\n },\n \"OpenSuseLeap154Gen2\": {\n \ - \ \"publisher\": \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\"\ + CentOS85Gen2\": {\n \"publisher\": \"OpenLogic\",\n \ + \ \"offer\": \"CentOS\",\n \"sku\": \"8_5-gen2\",\n \ + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ + \ },\n \"Debian11\": {\n \"publisher\": \"Debian\"\ + ,\n \"offer\": \"debian-11\",\n \"sku\": \"11-backports-gen2\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"FlatcarLinuxFreeGen2\": {\n \"\ + publisher\": \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\"\ + ,\n \"sku\": \"stable-gen2\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n },\n \"OpenSuseLeap154Gen2\"\ + : {\n \"publisher\": \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\"\ ,\n \"sku\": \"gen2\",\n \"version\": \"latest\",\n\ - \ \"architecture\": \"x64\"\n },\n \"RHEL\":\ - \ {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\"\ - ,\n \"sku\": \"7-LVM\",\n \"version\": \"latest\",\n\ \ \"architecture\": \"x64\"\n },\n \"RHELRaw8LVMGen2\"\ : {\n \"publisher\": \"RedHat\",\n \"offer\": \"\ RHEL\",\n \"sku\": \"8-lvm-gen2\",\n \"version\": \ \ \"latest\",\n \"architecture\": \"x64\"\n },\n \ - \ \"SLES\": {\n \"publisher\": \"SUSE\",\n \"offer\"\ - : \"sles-15-sp3\",\n \"sku\": \"gen2\",\n \"version\"\ - : \"latest\",\n \"architecture\": \"x64\"\n },\n \ \ \"SuseSles15SP3\": {\n \"publisher\": \"SUSE\",\n \ \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n \ \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ - \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\"\ - ,\n \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\"\ - ,\n \"version\": \"latest\",\n \"architecture\": \"\ - x64\"\n },\n \"Ubuntu2204\": {\n \"publisher\"\ - : \"Canonical\",\n \"offer\": \"0001-com-ubuntu-server-jammy\"\ - ,\n \"sku\": \"22_04-lts-gen2\",\n \"version\": \"\ - latest\",\n \"architecture\": \"x64\"\n }\n },\n\ - \ \"Windows\": {\n \"Win2022Datacenter\": {\n \"\ - publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\"\ - ,\n \"sku\": \"2022-Datacenter\",\n \"version\": \"\ + \ },\n \"Ubuntu2204\": {\n \"publisher\": \"\ + Canonical\",\n \"offer\": \"0001-com-ubuntu-server-jammy\",\n\ + \ \"sku\": \"22_04-lts-gen2\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n }\n },\n \ + \ \"Windows\": {\n \"Win2022Datacenter\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2022-datacenter-g2\",\n \"version\": \"\ latest\",\n \"architecture\": \"x64\"\n },\n \ \ \"Win2022AzureEditionCore\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2022-datacenter-azure-edition-core\"\ ,\n \"version\": \"latest\",\n \"architecture\": \"\ x64\"\n },\n \"Win2019Datacenter\": {\n \"publisher\"\ : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ - \ \"sku\": \"2019-Datacenter\",\n \"version\": \"latest\"\ - ,\n \"architecture\": \"x64\"\n },\n \"Win2016Datacenter\"\ - : {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"\ - offer\": \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \ - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\ - \n },\n \"Win2012R2Datacenter\": {\n \"publisher\"\ - : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ - \ \"sku\": \"2012-R2-Datacenter\",\n \"version\": \"\ - latest\",\n \"architecture\": \"x64\"\n },\n \ - \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + \ \"sku\": \"2019-datacenter-gensecond\",\n \"version\"\ + : \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2016-datacenter-gensecond\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2012R2Datacenter\": {\n \"\ + publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\"\ + ,\n \"sku\": \"2012-R2-Datacenter\",\n \"version\":\ + \ \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\"\ ,\n \"version\": \"latest\",\n \"architecture\": \"\ x64\"\n },\n \"Win2008R2SP1\": {\n \"publisher\"\ @@ -141,7 +121,7 @@ interactions: connection: - keep-alive content-length: - - '5018' + - '3615' content-security-policy: - default-src 'none'; style-src 'unsafe-inline'; sandbox content-type: @@ -149,13 +129,13 @@ interactions: cross-origin-resource-policy: - cross-origin date: - - Tue, 22 Aug 2023 06:37:54 GMT + - Thu, 11 Apr 2024 04:21:24 GMT etag: - - W/"0a553f088c358b909a2940b5a97fcb731c1d443cb7a332ca4933eb2b7df38468" + - W/"9fee27d398b0211e374a0f0e8e79c9b3a0342cfa43466b26b8548409639c8c17" expires: - - Tue, 22 Aug 2023 06:42:54 GMT + - Thu, 11 Apr 2024 04:26:24 GMT source-age: - - '0' + - '86' strict-transport-security: - max-age=31536000 vary: @@ -165,19 +145,19 @@ interactions: x-cache: - HIT x-cache-hits: - - '1' + - '4015' x-content-type-options: - nosniff x-fastly-request-id: - - 2d92396b776637cf73b09d243b3a7d89cbe5e017 + - 3bce1dbb8dd7a93044757bad2188d17c80081693 x-frame-options: - deny x-github-request-id: - - C216:052D:131F2D:161398:64E142E1 + - 20EE:2FD543:7B9942:98F696:661455A5 x-served-by: - - cache-qpg1234-QPG + - cache-qpg120113-QPG x-timer: - - S1692686274.231290,VS0,VE308 + - S1712809284.301285,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -197,40 +177,37 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2023-09-01 response: body: - string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"18.04.202306070\"\ - ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\ + string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ \r\n }\r\n]" headers: cache-control: - no-cache content-length: - - '286' + - '307' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:37:54 GMT + - Thu, 11 Apr 2024 04:21:25 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43994 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43982 + x-msedge-ref: + - 'Ref A: ED921BAEC70F4A06BC8B36A9FA2EE78F Ref B: MAA201060516021 Ref C: 2024-04-11T04:21:24Z' status: code: 200 message: OK @@ -248,52 +225,50 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202404090?api-version=2023-09-01 response: body: - string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \ - \ \"architecture\": \"x64\",\r\n \"replicaType\": \"Unmanaged\",\r\n\ - \ \"disallowed\": {\r\n \"vmDiskType\": \"None\"\r\n },\r\n \ - \ \"automaticOSUpgradeProperties\": {\r\n \"automaticOSUpgradeSupported\"\ - : true\r\n },\r\n \"imageDeprecationStatus\": {\r\n \"imageState\"\ - : \"Active\"\r\n },\r\n \"features\": [\r\n {\r\n \"name\"\ - : \"IsAcceleratedNetworkSupported\",\r\n \"value\": \"True\"\r\n \ - \ },\r\n {\r\n \"name\": \"DiskControllerTypes\",\r\n \ - \ \"value\": \"SCSI, NVMe\"\r\n },\r\n {\r\n \"name\":\ - \ \"IsHibernateSupported\",\r\n \"value\": \"True\"\r\n }\r\n\ - \ ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\": \"Linux\"\ - ,\r\n \"sizeInGb\": 31,\r\n \"sizeInBytes\": 32213303808\r\n \ - \ },\r\n \"dataDiskImages\": []\r\n },\r\n \"location\": \"eastus\",\r\ - \n \"name\": \"18.04.202306070\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\ + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V2\",\r\n \ + \ \"architecture\": \"x64\",\r\n \"replicaType\": \"Managed\",\r\n \ + \ \"replicaCount\": 10,\r\n \"disallowed\": {\r\n \"vmDiskType\"\ + : \"Unmanaged\"\r\n },\r\n \"automaticOSUpgradeProperties\": {\r\n \ + \ \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\"\ + : {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\ + \n {\r\n \"name\": \"SecurityType\",\r\n \"value\": \"\ + TrustedLaunchSupported\"\r\n },\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\"\ + ,\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\"\ + : \"DiskControllerTypes\",\r\n \"value\": \"SCSI, NVMe\"\r\n },\r\ + \n {\r\n \"name\": \"IsHibernateSupported\",\r\n \"value\"\ + : \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\"\ + : \"Linux\",\r\n \"sizeInGb\": 30\r\n },\r\n \"dataDiskImages\"\ + : []\r\n },\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ \r\n}" headers: cache-control: - no-cache content-length: - - '1048' + - '1158' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:37:55 GMT + - Thu, 11 Apr 2024 04:21:26 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73995 + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73989 + x-msedge-ref: + - 'Ref A: C55BB2ECB35B420299AD3DF916ADC3DF Ref B: MAA201060515019 Ref C: 2024-04-11T04:21:26Z' status: code: 200 message: OK @@ -311,7 +286,7 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/virtualNetworks?api-version=2022-01-01 response: @@ -325,17 +300,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:37:56 GMT + - Thu, 11 Apr 2024 04:21:26 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: F45269D4E0CC496E9FD07B8CE1FE2F8C Ref B: MAA201060515047 Ref C: 2024-04-11T04:21:27Z' status: code: 200 message: OK @@ -358,70 +335,48 @@ interactions: ,\n \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\"\ : {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"\ type\": \"object\",\n \"value\": {\n \"Linux\": {\n \"\ - CentOS\": {\n \"publisher\": \"OpenLogic\",\n \"offer\"\ - : \"CentOS\",\n \"sku\": \"7.5\",\n \"version\": \"\ - latest\",\n \"architecture\": \"x64\"\n },\n \ - \ \"CentOS85Gen2\": {\n \"publisher\": \"OpenLogic\",\n \ - \ \"offer\": \"CentOS\",\n \"sku\": \"8_5-gen2\",\n \ - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n\ - \ },\n \"Debian\": {\n \"publisher\": \"Debian\"\ - ,\n \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \ - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\ - \n },\n \"Debian11\": {\n \"publisher\": \"\ - Debian\",\n \"offer\": \"debian-11\",\n \"sku\": \"\ - 11-backports-gen2\",\n \"version\": \"latest\",\n \"\ - architecture\": \"x64\"\n },\n \"Flatcar\": {\n \ - \ \"publisher\": \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\"\ - ,\n \"sku\": \"stable\",\n \"version\": \"latest\",\n\ - \ \"architecture\": \"x64\"\n },\n \"FlatcarLinuxFreeGen2\"\ - : {\n \"publisher\": \"kinvolk\",\n \"offer\": \"\ - flatcar-container-linux-free\",\n \"sku\": \"stable-gen2\",\n\ - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\ - \n },\n \"openSUSE-Leap\": {\n \"publisher\"\ - : \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n \"\ - sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\"\ - : \"x64\"\n },\n \"OpenSuseLeap154Gen2\": {\n \ - \ \"publisher\": \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\"\ + CentOS85Gen2\": {\n \"publisher\": \"OpenLogic\",\n \ + \ \"offer\": \"CentOS\",\n \"sku\": \"8_5-gen2\",\n \ + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ + \ },\n \"Debian11\": {\n \"publisher\": \"Debian\"\ + ,\n \"offer\": \"debian-11\",\n \"sku\": \"11-backports-gen2\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"FlatcarLinuxFreeGen2\": {\n \"\ + publisher\": \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\"\ + ,\n \"sku\": \"stable-gen2\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n },\n \"OpenSuseLeap154Gen2\"\ + : {\n \"publisher\": \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\"\ ,\n \"sku\": \"gen2\",\n \"version\": \"latest\",\n\ - \ \"architecture\": \"x64\"\n },\n \"RHEL\":\ - \ {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\"\ - ,\n \"sku\": \"7-LVM\",\n \"version\": \"latest\",\n\ \ \"architecture\": \"x64\"\n },\n \"RHELRaw8LVMGen2\"\ : {\n \"publisher\": \"RedHat\",\n \"offer\": \"\ RHEL\",\n \"sku\": \"8-lvm-gen2\",\n \"version\": \ \ \"latest\",\n \"architecture\": \"x64\"\n },\n \ - \ \"SLES\": {\n \"publisher\": \"SUSE\",\n \"offer\"\ - : \"sles-15-sp3\",\n \"sku\": \"gen2\",\n \"version\"\ - : \"latest\",\n \"architecture\": \"x64\"\n },\n \ \ \"SuseSles15SP3\": {\n \"publisher\": \"SUSE\",\n \ \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n \ \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ - \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\"\ - ,\n \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\"\ - ,\n \"version\": \"latest\",\n \"architecture\": \"\ - x64\"\n },\n \"Ubuntu2204\": {\n \"publisher\"\ - : \"Canonical\",\n \"offer\": \"0001-com-ubuntu-server-jammy\"\ - ,\n \"sku\": \"22_04-lts-gen2\",\n \"version\": \"\ - latest\",\n \"architecture\": \"x64\"\n }\n },\n\ - \ \"Windows\": {\n \"Win2022Datacenter\": {\n \"\ - publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\"\ - ,\n \"sku\": \"2022-Datacenter\",\n \"version\": \"\ + \ },\n \"Ubuntu2204\": {\n \"publisher\": \"\ + Canonical\",\n \"offer\": \"0001-com-ubuntu-server-jammy\",\n\ + \ \"sku\": \"22_04-lts-gen2\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n }\n },\n \ + \ \"Windows\": {\n \"Win2022Datacenter\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2022-datacenter-g2\",\n \"version\": \"\ latest\",\n \"architecture\": \"x64\"\n },\n \ \ \"Win2022AzureEditionCore\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2022-datacenter-azure-edition-core\"\ ,\n \"version\": \"latest\",\n \"architecture\": \"\ x64\"\n },\n \"Win2019Datacenter\": {\n \"publisher\"\ : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ - \ \"sku\": \"2019-Datacenter\",\n \"version\": \"latest\"\ - ,\n \"architecture\": \"x64\"\n },\n \"Win2016Datacenter\"\ - : {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"\ - offer\": \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \ - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\ - \n },\n \"Win2012R2Datacenter\": {\n \"publisher\"\ - : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ - \ \"sku\": \"2012-R2-Datacenter\",\n \"version\": \"\ - latest\",\n \"architecture\": \"x64\"\n },\n \ - \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + \ \"sku\": \"2019-datacenter-gensecond\",\n \"version\"\ + : \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2016-datacenter-gensecond\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2012R2Datacenter\": {\n \"\ + publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\"\ + ,\n \"sku\": \"2012-R2-Datacenter\",\n \"version\":\ + \ \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\"\ ,\n \"version\": \"latest\",\n \"architecture\": \"\ x64\"\n },\n \"Win2008R2SP1\": {\n \"publisher\"\ @@ -439,7 +394,7 @@ interactions: connection: - keep-alive content-length: - - '5018' + - '3615' content-security-policy: - default-src 'none'; style-src 'unsafe-inline'; sandbox content-type: @@ -447,13 +402,13 @@ interactions: cross-origin-resource-policy: - cross-origin date: - - Tue, 22 Aug 2023 06:37:57 GMT + - Thu, 11 Apr 2024 04:21:28 GMT etag: - - W/"0a553f088c358b909a2940b5a97fcb731c1d443cb7a332ca4933eb2b7df38468" + - W/"9fee27d398b0211e374a0f0e8e79c9b3a0342cfa43466b26b8548409639c8c17" expires: - - Tue, 22 Aug 2023 06:42:57 GMT + - Thu, 11 Apr 2024 04:26:28 GMT source-age: - - '3' + - '90' strict-transport-security: - max-age=31536000 vary: @@ -467,15 +422,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - bca78b0baeca00604b9eaf80571daff091f74cdf + - a437c8b692dc5f41f6b89716a3545584cb5d35ed x-frame-options: - deny x-github-request-id: - - C216:052D:131F2D:161398:64E142E1 + - 20EE:2FD543:7B9942:98F696:661455A5 x-served-by: - - cache-qpg1271-QPG + - cache-qpg1238-QPG x-timer: - - S1692686277.125973,VS0,VE2 + - S1712809288.422278,VS0,VE1 x-xss-protection: - 1; mode=block status: @@ -495,40 +450,37 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2023-09-01 response: body: - string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"18.04.202306070\"\ - ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\ + string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ \r\n }\r\n]" headers: cache-control: - no-cache content-length: - - '286' + - '307' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:37:57 GMT + - Thu, 11 Apr 2024 04:21:28 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15998,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43993 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15998,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43981 + x-msedge-ref: + - 'Ref A: 2E8C122526DB4213B77263BA714A820C Ref B: MAA201060514009 Ref C: 2024-04-11T04:21:28Z' status: code: 200 message: OK @@ -546,52 +498,50 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202404090?api-version=2023-09-01 response: body: - string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \ - \ \"architecture\": \"x64\",\r\n \"replicaType\": \"Unmanaged\",\r\n\ - \ \"disallowed\": {\r\n \"vmDiskType\": \"None\"\r\n },\r\n \ - \ \"automaticOSUpgradeProperties\": {\r\n \"automaticOSUpgradeSupported\"\ - : true\r\n },\r\n \"imageDeprecationStatus\": {\r\n \"imageState\"\ - : \"Active\"\r\n },\r\n \"features\": [\r\n {\r\n \"name\"\ - : \"IsAcceleratedNetworkSupported\",\r\n \"value\": \"True\"\r\n \ - \ },\r\n {\r\n \"name\": \"DiskControllerTypes\",\r\n \ - \ \"value\": \"SCSI, NVMe\"\r\n },\r\n {\r\n \"name\":\ - \ \"IsHibernateSupported\",\r\n \"value\": \"True\"\r\n }\r\n\ - \ ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\": \"Linux\"\ - ,\r\n \"sizeInGb\": 31,\r\n \"sizeInBytes\": 32213303808\r\n \ - \ },\r\n \"dataDiskImages\": []\r\n },\r\n \"location\": \"eastus\",\r\ - \n \"name\": \"18.04.202306070\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\ + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V2\",\r\n \ + \ \"architecture\": \"x64\",\r\n \"replicaType\": \"Managed\",\r\n \ + \ \"replicaCount\": 10,\r\n \"disallowed\": {\r\n \"vmDiskType\"\ + : \"Unmanaged\"\r\n },\r\n \"automaticOSUpgradeProperties\": {\r\n \ + \ \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\"\ + : {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\ + \n {\r\n \"name\": \"SecurityType\",\r\n \"value\": \"\ + TrustedLaunchSupported\"\r\n },\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\"\ + ,\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\"\ + : \"DiskControllerTypes\",\r\n \"value\": \"SCSI, NVMe\"\r\n },\r\ + \n {\r\n \"name\": \"IsHibernateSupported\",\r\n \"value\"\ + : \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\"\ + : \"Linux\",\r\n \"sizeInGb\": 30\r\n },\r\n \"dataDiskImages\"\ + : []\r\n },\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ \r\n}" headers: cache-control: - no-cache content-length: - - '1048' + - '1158' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:37:58 GMT + - Thu, 11 Apr 2024 04:21:30 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12998,Microsoft.Compute/GetVMImageFromLocation30Min;73994 + - Microsoft.Compute/GetVMImageFromLocation3Min;12998,Microsoft.Compute/GetVMImageFromLocation30Min;73988 + x-msedge-ref: + - 'Ref A: FE41A22B337B49468255972BD78A78C9 Ref B: MAA201060513021 Ref C: 2024-04-11T04:21:30Z' status: code: 200 message: OK @@ -609,40 +559,37 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2023-09-01 response: body: - string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"18.04.202306070\"\ - ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\ + string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ \r\n }\r\n]" headers: cache-control: - no-cache content-length: - - '286' + - '307' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:37:59 GMT + - Thu, 11 Apr 2024 04:21:31 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15997,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43992 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15997,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43980 + x-msedge-ref: + - 'Ref A: B707BA91FDA1472F833C6A8A03160B23 Ref B: MAA201060516029 Ref C: 2024-04-11T04:21:31Z' status: code: 200 message: OK @@ -660,52 +607,50 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202404090?api-version=2023-09-01 response: body: - string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \ - \ \"architecture\": \"x64\",\r\n \"replicaType\": \"Unmanaged\",\r\n\ - \ \"disallowed\": {\r\n \"vmDiskType\": \"None\"\r\n },\r\n \ - \ \"automaticOSUpgradeProperties\": {\r\n \"automaticOSUpgradeSupported\"\ - : true\r\n },\r\n \"imageDeprecationStatus\": {\r\n \"imageState\"\ - : \"Active\"\r\n },\r\n \"features\": [\r\n {\r\n \"name\"\ - : \"IsAcceleratedNetworkSupported\",\r\n \"value\": \"True\"\r\n \ - \ },\r\n {\r\n \"name\": \"DiskControllerTypes\",\r\n \ - \ \"value\": \"SCSI, NVMe\"\r\n },\r\n {\r\n \"name\":\ - \ \"IsHibernateSupported\",\r\n \"value\": \"True\"\r\n }\r\n\ - \ ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\": \"Linux\"\ - ,\r\n \"sizeInGb\": 31,\r\n \"sizeInBytes\": 32213303808\r\n \ - \ },\r\n \"dataDiskImages\": []\r\n },\r\n \"location\": \"eastus\",\r\ - \n \"name\": \"18.04.202306070\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\ + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V2\",\r\n \ + \ \"architecture\": \"x64\",\r\n \"replicaType\": \"Managed\",\r\n \ + \ \"replicaCount\": 10,\r\n \"disallowed\": {\r\n \"vmDiskType\"\ + : \"Unmanaged\"\r\n },\r\n \"automaticOSUpgradeProperties\": {\r\n \ + \ \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\"\ + : {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\ + \n {\r\n \"name\": \"SecurityType\",\r\n \"value\": \"\ + TrustedLaunchSupported\"\r\n },\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\"\ + ,\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\"\ + : \"DiskControllerTypes\",\r\n \"value\": \"SCSI, NVMe\"\r\n },\r\ + \n {\r\n \"name\": \"IsHibernateSupported\",\r\n \"value\"\ + : \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\"\ + : \"Linux\",\r\n \"sizeInGb\": 30\r\n },\r\n \"dataDiskImages\"\ + : []\r\n },\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ \r\n}" headers: cache-control: - no-cache content-length: - - '1048' + - '1158' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:37:59 GMT + - Thu, 11 Apr 2024 04:21:32 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73993 + - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73987 + x-msedge-ref: + - 'Ref A: 635232CAC06D424AB43296019276E87A Ref B: MAA201060515049 Ref C: 2024-04-11T04:21:32Z' status: code: 200 message: OK @@ -723,7 +668,7 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview response: @@ -739,17 +684,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:38:00 GMT + - Thu, 11 Apr 2024 04:21:33 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-failure-cause: - gateway + x-msedge-ref: + - 'Ref A: 9DBE78FE1D514422BA361812791E82CF Ref B: MAA201060513023 Ref C: 2024-04-11T04:21:33Z' status: code: 404 message: Not Found @@ -767,31 +716,33 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001","name":"cli_test_scheduled_query_operator000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query_condition_operator","date":"2023-08-22T06:37:48Z","module":"scheduled-query"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001","name":"cli_test_scheduled_query_operator000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query_condition_operator","date":"2024-04-11T04:21:18Z","module":"scheduled-query","Creator":"liwang3@microsoft.com","DateCreated":"2024-04-11T04:21:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '432' + - '503' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:38:01 GMT + - Thu, 11 Apr 2024 04:21:34 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 14BA31EB923541929AD0276C23561FF1 Ref B: MAA201060513049 Ref C: 2024-04-11T04:21:34Z' status: code: 200 message: OK @@ -815,12 +766,12 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"1209443a-4c65-41fe-80e5-69cc811b2cab","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-08-22T06:38:06.2306521Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-08-22T09:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-08-22T06:38:06.2306521Z","modifiedDate":"2023-08-22T06:38:06.2306521Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","name":"clitest000002","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"6a322269-2e2d-4de1-80d3-2e3a7fc97133","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2024-04-11T04:21:36.8312365Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2024-04-11T18:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2024-04-11T04:21:36.8312365Z","modifiedDate":"2024-04-11T04:21:36.8312365Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","name":"clitest000002","type":"Microsoft.OperationalInsights/workspaces","etag":"\"30002144-0000-0100-0000-661765500000\""}' headers: access-control-allow-origin: - '*' @@ -829,11 +780,11 @@ interactions: cache-control: - no-cache content-length: - - '856' + - '906' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:38:07 GMT + - Thu, 11 Apr 2024 04:21:37 GMT expires: - '-1' location: @@ -844,12 +795,14 @@ interactions: - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-powered-by: - - ASP.NET + - '1198' + x-msedge-ref: + - 'Ref A: C4EE2BC5D99744A4A099725DB87A37C5 Ref B: MAA201060513023 Ref C: 2024-04-11T04:21:34Z' status: code: 201 message: Created @@ -867,12 +820,12 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview response: body: - string: '{"properties":{"customerId":"1209443a-4c65-41fe-80e5-69cc811b2cab","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-08-22T06:38:06.2306521Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-08-22T09:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-08-22T06:38:06.2306521Z","modifiedDate":"2023-08-22T06:38:07.3612085Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","name":"clitest000002","type":"Microsoft.OperationalInsights/workspaces"}' + string: '{"properties":{"customerId":"6a322269-2e2d-4de1-80d3-2e3a7fc97133","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2024-04-11T04:21:36.8312365Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2024-04-11T18:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2024-04-11T04:21:36.8312365Z","modifiedDate":"2024-04-11T04:21:37.8882895Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","name":"clitest000002","type":"Microsoft.OperationalInsights/workspaces","etag":"\"30002a44-0000-0100-0000-661765510000\""}' headers: access-control-allow-origin: - '*' @@ -881,11 +834,11 @@ interactions: cache-control: - no-cache content-length: - - '857' + - '907' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:38:07 GMT + - Thu, 11 Apr 2024 04:21:38 GMT expires: - '-1' pragma: @@ -894,14 +847,12 @@ interactions: - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-powered-by: - - ASP.NET + x-msedge-ref: + - 'Ref A: 1D0C9C4CCDC54C5CA90EFE819AC36B7D Ref B: MAA201060513023 Ref C: 2024-04-11T04:21:37Z' status: code: 200 message: OK @@ -917,11 +868,12 @@ interactions: "2015-06-15", "location": "eastus", "tags": {}, "dependsOn": []}, {"apiVersion": "2022-01-01", "type": "Microsoft.Network/publicIPAddresses", "name": "myvm1PublicIP", "location": "eastus", "tags": {}, "dependsOn": [], "properties": {"publicIPAllocationMethod": - null}}, {"apiVersion": "2015-06-15", "type": "Microsoft.Network/networkInterfaces", - "name": "myvm1VMNic", "location": "eastus", "tags": {}, "dependsOn": ["Microsoft.Network/virtualNetworks/myvm1VNET", - "Microsoft.Network/networkSecurityGroups/myvm1NSG", "Microsoft.Network/publicIpAddresses/myvm1PublicIP"], - "properties": {"ipConfigurations": [{"name": "ipconfigmyvm1", "properties": - {"privateIPAllocationMethod": "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET/subnets/myvm1Subnet"}, + "Static"}, "sku": {"name": "Standard"}}, {"apiVersion": "2015-06-15", "type": + "Microsoft.Network/networkInterfaces", "name": "myvm1VMNic", "location": "eastus", + "tags": {}, "dependsOn": ["Microsoft.Network/virtualNetworks/myvm1VNET", "Microsoft.Network/networkSecurityGroups/myvm1NSG", + "Microsoft.Network/publicIpAddresses/myvm1PublicIP"], "properties": {"ipConfigurations": + [{"name": "ipconfigmyvm1", "properties": {"privateIPAllocationMethod": "Dynamic", + "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET/subnets/myvm1Subnet"}, "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP"}}}], "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG"}}}, {"type": "Microsoft.Compute/virtualMachines/extensions", "apiVersion": "2018-10-01", @@ -932,18 +884,20 @@ interactions: "protectedSettings": {"workspaceKey": "[listKeys(parameters(''workspaceId''), ''2015-11-01-preview'').primarySharedKey]"}}, "name": "myvm1/OmsAgentForLinux", "location": "eastus", "dependsOn": ["Microsoft.Compute/virtualMachines/myvm1"]}, - {"apiVersion": "2022-11-01", "type": "Microsoft.Compute/virtualMachines", "name": + {"apiVersion": "2023-09-01", "type": "Microsoft.Compute/virtualMachines", "name": "myvm1", "location": "eastus", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/myvm1VMNic"], "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic", "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": "ReadWrite", "managedDisk": {"storageAccountType": - null}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", - "sku": "18.04-LTS", "version": "latest"}}, "osProfile": {"computerName": "myvm1", - "adminUsername": "allywang", "linuxConfiguration": {"disablePasswordAuthentication": - true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFSknCfonnWcpgV7oFG3p19Kc/FITqfH8/U80YU75CMyr4oJQR07eUQHET8U+cCeFsYPIZoSIYwMGaykwMolralf5do9NPDCqcDqnlKQ4vQoCdZwbD0lGDwlkkxQBXUaBxbur0XL3KAqh7uDaytp4+G8jRtDL5EVZJfMJiGSTnKmouYSL1nZpNqTYcZKLasbCLiCoJ6zUQYWXgiPaZFCItIFE+YWqmMTGRMSYzAJzEdRf5Gkgh0gqf2lbDWu97Br9IePxW0UyvWxP5MUfKGjie9bO2Hx41W5qMkvmN3JUhqEZwVqR66J+sXoOkctmRNSAvDGRC4n2O0wMq9CoHRMY1 - allywang@lalala\n", "path": "/home/allywang/.ssh/authorized_keys"}]}}}}}], "outputs": - {}}, "parameters": {"workspaceId": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002"}}, + null}}, "imageReference": {"publisher": "Canonical", "offer": "0001-com-ubuntu-server-jammy", + "sku": "22_04-lts-gen2", "version": "latest"}}, "osProfile": {"computerName": + "myvm1", "adminUsername": "liwang3", "linuxConfiguration": {"disablePasswordAuthentication": + true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDadVxR1G/E6PgSUPxoXVdN67BCJQInbOeuxz/hyUt3c2DXVKW6P6zd01Nd2S1C+iWu50wERXoLPWePhcPSJlQTAGuC6ZoaaPf0Gs8NmNnYixvKE7A+J/S/KUcEcGJSKgdIObPgy05+Efu0FxE1j/HVI0C8CCEAPjvjKtljYLYXKRx2WPQuYfQ83mpwDdHAqBMgbhHcy93fS//opl4VnEfTNh19TsbW0Kjh1GCnfMd6i0D30pDtQcgfcOQ2D/giK7Wcy4OcbPOXaUYzqaEE580PxsreQZ7BSRpj8+3w4SkTNxuTZGUkqihOvsCiYWu/EvDR5cL/dh6JF3TeMbVrU+alsrT7/D0L3nYy5o+Jk66+AjciKD6da6aNsUYb10UdZrU5H1EHY2orJ9iet+ag9+UraEnk5pfxgF+zT2aOSZWmzO+PICgAB/Mc7DU5vhG1URSLvi7P2tZjGanviX4hZpGfDLVUsQCVGcjt2U6cv5hTaWOTKGDqvY3d7GuZOL73laE= + redmond\\liwang3@DESKTOP-SAW-LIWA\n", "path": "/home/liwang3/.ssh/authorized_keys"}]}}}, + "securityProfile": {"securityType": "TrustedLaunch", "uefiSettings": {"secureBootEnabled": + true, "vTpmEnabled": true}}}}], "outputs": {}}, "parameters": {"workspaceId": + {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002"}}, "mode": "incremental"}}' headers: Accept: @@ -955,39 +909,43 @@ interactions: Connection: - keep-alive Content-Length: - - '4236' + - '4598' Content-Type: - application/json ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/vm_deploy_RjMbrbsQePVl2aEz9TfGv5qDAeoo4RIL","name":"vm_deploy_RjMbrbsQePVl2aEz9TfGv5qDAeoo4RIL","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17711336129887255666","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-08-22T06:38:15.8748099Z","duration":"PT0.0003101S","correlationId":"5d8fe954-7174-4caa-a169-c70ed6d34c72","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/vm_deploy_vOyQLDVnCO9pQogccMY5aDbyEUOSSXn9","name":"vm_deploy_vOyQLDVnCO9pQogccMY5aDbyEUOSSXn9","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4402500407915207469","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2024-04-11T04:21:47.4457309Z","duration":"PT0.000687S","correlationId":"62aee470-783e-45e7-aeae-b29d10c026c8","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/vm_deploy_RjMbrbsQePVl2aEz9TfGv5qDAeoo4RIL/operationStatuses/08585089205928796308?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/vm_deploy_vOyQLDVnCO9pQogccMY5aDbyEUOSSXn9/operationStatuses/08584887975816377818?api-version=2022-09-01 cache-control: - no-cache content-length: - - '3803' + - '3801' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:38:16 GMT + - Thu, 11 Apr 2024 04:21:48 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 7D97E45BFF2D4F499B2BEBDC790A3810 Ref B: MAA201060515011 Ref C: 2024-04-11T04:21:39Z' status: code: 201 message: Created @@ -1005,9 +963,9 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585089205928796308?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584887975816377818?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -1019,17 +977,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:38:17 GMT + - Thu, 11 Apr 2024 04:21:50 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 55412B083EA04397A3010108140282EC Ref B: MAA201060515011 Ref C: 2024-04-11T04:21:49Z' status: code: 200 message: OK @@ -1047,9 +1007,9 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585089205928796308?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584887975816377818?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -1061,17 +1021,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:38:48 GMT + - Thu, 11 Apr 2024 04:22:21 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 48992CF5139143CAA80047A21B9478D9 Ref B: MAA201060515011 Ref C: 2024-04-11T04:22:21Z' status: code: 200 message: OK @@ -1089,9 +1051,9 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585089205928796308?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584887975816377818?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -1103,17 +1065,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:39:18 GMT + - Thu, 11 Apr 2024 04:22:53 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 32FDCF93653341EEA5B76FD27816BD8E Ref B: MAA201060515011 Ref C: 2024-04-11T04:22:52Z' status: code: 200 message: OK @@ -1131,9 +1095,9 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585089205928796308?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584887975816377818?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -1145,17 +1109,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:39:48 GMT + - Thu, 11 Apr 2024 04:23:24 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: A7C9D726EBA64B43A05A7361A12BD302 Ref B: MAA201060515011 Ref C: 2024-04-11T04:23:24Z' status: code: 200 message: OK @@ -1173,9 +1139,9 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585089205928796308?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584887975816377818?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -1187,17 +1153,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:40:20 GMT + - Thu, 11 Apr 2024 04:23:55 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 484B089E424F4BC2A2CA4130CAF9FFFF Ref B: MAA201060515011 Ref C: 2024-04-11T04:23:55Z' status: code: 200 message: OK @@ -1215,31 +1183,33 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/vm_deploy_RjMbrbsQePVl2aEz9TfGv5qDAeoo4RIL","name":"vm_deploy_RjMbrbsQePVl2aEz9TfGv5qDAeoo4RIL","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17711336129887255666","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-08-22T06:40:08.2933581Z","duration":"PT1M52.4188583S","correlationId":"5d8fe954-7174-4caa-a169-c70ed6d34c72","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Resources/deployments/vm_deploy_vOyQLDVnCO9pQogccMY5aDbyEUOSSXn9","name":"vm_deploy_vOyQLDVnCO9pQogccMY5aDbyEUOSSXn9","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4402500407915207469","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2024-04-11T04:23:42.7069572Z","duration":"PT1M55.2619133S","correlationId":"62aee470-783e-45e7-aeae-b29d10c026c8","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '4894' + - '4893' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:40:20 GMT + - Thu, 11 Apr 2024 04:23:57 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 87017D7E39FB481C9E59881002DDAAD2 Ref B: MAA201060515011 Ref C: 2024-04-11T04:23:56Z' status: code: 200 message: OK @@ -1257,72 +1227,75 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1?$expand=instanceView&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1?$expand=instanceView&api-version=2023-09-01 response: body: string: "{\r\n \"name\": \"myvm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1\"\ ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"\ - 3ca78ec0-255d-49d7-9125-b3e28ea7bd1a\",\r\n \"hardwareProfile\": {\r\n\ - \ \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \"storageProfile\"\ - : {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\"\ - ,\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\"\ - ,\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"18.04.202306070\"\ - \r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n\ - \ \"name\": \"myvm1_disk1_d2dac20178ca4fd9b61b783296efef38\",\r\n \ - \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\"\ + : \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"hardwareProfile\"\ + : {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \"provisioningState\"\ + : \"Succeeded\",\r\n \"vmId\": \"dbc961da-c855-4768-bdca-18f5e9966859\"\ + ,\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"\ + publisher\": \"Canonical\",\r\n \"offer\": \"0001-com-ubuntu-server-jammy\"\ + ,\r\n \"sku\": \"22_04-lts-gen2\",\r\n \"version\": \"latest\"\ + ,\r\n \"exactVersion\": \"22.04.202404090\"\r\n },\r\n \"\ + osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": \"myvm1_disk1_2d3f2484093c4f0f8dc23b1b7120e2b5\"\ + ,\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\"\ ,\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/disks/myvm1_disk1_d2dac20178ca4fd9b61b783296efef38\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/disks/myvm1_disk1_2d3f2484093c4f0f8dc23b1b7120e2b5\"\ \r\n },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\"\ - : 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\"\ - : {\r\n \"computerName\": \"myvm1\",\r\n \"adminUsername\": \"allywang\"\ - ,\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\"\ - : true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n \ - \ {\r\n \"path\": \"/home/allywang/.ssh/authorized_keys\",\r\ - \n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFSknCfonnWcpgV7oFG3p19Kc/FITqfH8/U80YU75CMyr4oJQR07eUQHET8U+cCeFsYPIZoSIYwMGaykwMolralf5do9NPDCqcDqnlKQ4vQoCdZwbD0lGDwlkkxQBXUaBxbur0XL3KAqh7uDaytp4+G8jRtDL5EVZJfMJiGSTnKmouYSL1nZpNqTYcZKLasbCLiCoJ6zUQYWXgiPaZFCItIFE+YWqmMTGRMSYzAJzEdRf5Gkgh0gqf2lbDWu97Br9IePxW0UyvWxP5MUfKGjie9bO2Hx41W5qMkvmN3JUhqEZwVqR66J+sXoOkctmRNSAvDGRC4n2O0wMq9CoHRMY1\ - \ allywang@lalala\\n\"\r\n }\r\n ]\r\n },\r\n \ - \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \ - \ \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\"\ + : 30\r\n },\r\n \"dataDisks\": [],\r\n \"diskControllerType\"\ + : \"SCSI\"\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"\ + myvm1\",\r\n \"adminUsername\": \"liwang3\",\r\n \"linuxConfiguration\"\ + : {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\"\ + : {\r\n \"publicKeys\": [\r\n {\r\n \"path\"\ + : \"/home/liwang3/.ssh/authorized_keys\",\r\n \"keyData\": \"\ + ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDadVxR1G/E6PgSUPxoXVdN67BCJQInbOeuxz/hyUt3c2DXVKW6P6zd01Nd2S1C+iWu50wERXoLPWePhcPSJlQTAGuC6ZoaaPf0Gs8NmNnYixvKE7A+J/S/KUcEcGJSKgdIObPgy05+Efu0FxE1j/HVI0C8CCEAPjvjKtljYLYXKRx2WPQuYfQ83mpwDdHAqBMgbhHcy93fS//opl4VnEfTNh19TsbW0Kjh1GCnfMd6i0D30pDtQcgfcOQ2D/giK7Wcy4OcbPOXaUYzqaEE580PxsreQZ7BSRpj8+3w4SkTNxuTZGUkqihOvsCiYWu/EvDR5cL/dh6JF3TeMbVrU+alsrT7/D0L3nYy5o+Jk66+AjciKD6da6aNsUYb10UdZrU5H1EHY2orJ9iet+ag9+UraEnk5pfxgF+zT2aOSZWmzO+PICgAB/Mc7DU5vhG1URSLvi7P2tZjGanviX4hZpGfDLVUsQCVGcjt2U6cv5hTaWOTKGDqvY3d7GuZOL73laE=\ + \ redmond\\\\liwang3@DESKTOP-SAW-LIWA\\n\"\r\n }\r\n ]\r\ + \n },\r\n \"provisionVMAgent\": true,\r\n \"patchSettings\"\ + : {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\"\ : \"ImageDefault\"\r\n },\r\n \"enableVMAgentPlatformUpdates\"\ : false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\"\ : true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic\"\ - }]},\r\n \"provisioningState\": \"Succeeded\",\r\n \"instanceView\"\ - : {\r\n \"computerName\": \"myvm1\",\r\n \"osName\": \"ubuntu\"\ - ,\r\n \"osVersion\": \"18.04\",\r\n \"vmAgent\": {\r\n \"\ - vmAgentVersion\": \"2.9.1.1\",\r\n \"statuses\": [\r\n {\r\ - \n \"code\": \"ProvisioningState/succeeded\",\r\n \"\ - level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ - \ \"message\": \"Guest Agent is running\",\r\n \"time\": \"\ - 2023-08-22T06:39:53+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\"\ - : [\r\n {\r\n \"type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\"\ - ,\r\n \"typeHandlerVersion\": \"1.16.0\",\r\n \"status\"\ - : {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ - \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\"\ - ,\r\n \"message\": \"Plugin enabled\"\r\n }\r\n \ - \ }\r\n ]\r\n },\r\n \"disks\": [\r\n {\r\n\ - \ \"name\": \"myvm1_disk1_d2dac20178ca4fd9b61b783296efef38\",\r\n\ - \ \"statuses\": [\r\n {\r\n \"code\": \"\ - ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \ - \ \"displayStatus\": \"Provisioning succeeded\",\r\n \ - \ \"time\": \"2023-08-22T06:38:40.5932012+00:00\"\r\n }\r\n\ - \ ]\r\n }\r\n ],\r\n \"extensions\": [\r\n \ - \ {\r\n \"name\": \"OmsAgentForLinux\",\r\n \"type\":\ - \ \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n \ - \ \"typeHandlerVersion\": \"1.16.0\",\r\n \"statuses\": [\r\n \ - \ {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n\ - \ \"level\": \"Info\",\r\n \"displayStatus\": \"\ - Provisioning succeeded\",\r\n \"message\": \"Enable succeeded\"\ + securityProfile\": {\r\n \"uefiSettings\": {\r\n \"secureBootEnabled\"\ + : true,\r\n \"vTpmEnabled\": true\r\n },\r\n \"securityType\"\ + : \"TrustedLaunch\"\r\n },\r\n \"networkProfile\": {\"networkInterfaces\"\ + :[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic\"\ + }]},\r\n \"instanceView\": {\r\n \"computerName\": \"myvm1\",\r\n\ + \ \"osName\": \"ubuntu\",\r\n \"osVersion\": \"22.04\",\r\n \ + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.10.0.8\",\r\n \ + \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\"\ + ,\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"\ + Ready\",\r\n \"message\": \"Guest Agent is running\",\r\n \ + \ \"time\": \"2024-04-11T04:23:35+00:00\"\r\n }\r\n \ + \ ],\r\n \"extensionHandlers\": [\r\n {\r\n \"\ + type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n \ + \ \"typeHandlerVersion\": \"1.19.0\",\r\n \"status\": {\r\ + \n \"code\": \"ProvisioningState/succeeded\",\r\n \ + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n\ + \ \"message\": \"Plugin enabled\"\r\n }\r\n \ + \ }\r\n ]\r\n },\r\n \"disks\": [\r\n {\r\n \ + \ \"name\": \"myvm1_disk1_2d3f2484093c4f0f8dc23b1b7120e2b5\",\r\n \ + \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\"\ + ,\r\n \"level\": \"Info\",\r\n \"displayStatus\"\ + : \"Provisioning succeeded\",\r\n \"time\": \"2024-04-11T04:22:09.7325484+00:00\"\ + \r\n }\r\n ]\r\n }\r\n ],\r\n \"extensions\"\ + : [\r\n {\r\n \"name\": \"OmsAgentForLinux\",\r\n \ + \ \"type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n\ + \ \"typeHandlerVersion\": \"1.19.0\",\r\n \"statuses\":\ + \ [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\"\ + ,\r\n \"level\": \"Info\",\r\n \"displayStatus\"\ + : \"Provisioning succeeded\",\r\n \"message\": \"Enable succeeded\"\ \r\n }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\"\ - : \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"\ + : \"V2\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"\ ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \ \ \"displayStatus\": \"Provisioning succeeded\",\r\n \"time\"\ - : \"2023-08-22T06:40:02.8896354+00:00\"\r\n },\r\n {\r\n \ + : \"2024-04-11T04:23:37.8405379+00:00\"\r\n },\r\n {\r\n \ \ \"code\": \"PowerState/running\",\r\n \"level\": \"Info\"\ ,\r\n \"displayStatus\": \"VM running\"\r\n }\r\n ]\r\ - \n },\r\n \"timeCreated\": \"2023-08-22T06:38:37.3119676+00:00\"\r\n\ + \n },\r\n \"timeCreated\": \"2024-04-11T04:22:07.8888439+00:00\"\r\n\ \ },\r\n \"resources\": [\r\n {\r\n \"name\": \"OmsAgentForLinux\"\ ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux\"\ ,\r\n \"type\": \"Microsoft.Compute/virtualMachines/extensions\",\r\n\ @@ -1330,37 +1303,34 @@ interactions: autoUpgradeMinorVersion\": true,\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"publisher\": \"Microsoft.EnterpriseCloud.Monitoring\",\r\n\ \ \"type\": \"OmsAgentForLinux\",\r\n \"typeHandlerVersion\"\ - : \"1.0\",\r\n \"settings\": {\"workspaceId\":\"1209443a-4c65-41fe-80e5-69cc811b2cab\"\ + : \"1.0\",\r\n \"settings\": {\"workspaceId\":\"6a322269-2e2d-4de1-80d3-2e3a7fc97133\"\ ,\"stopOnMultipleConnections\":\"true\"}\r\n }\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache content-length: - - '5502' + - '5922' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:40:22 GMT + - Thu, 11 Apr 2024 04:23:59 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3989,Microsoft.Compute/LowCostGet30Min;31984 + - Microsoft.Compute/LowCostGetSubscriptionMaximum;23999,Microsoft.Compute/LowCostGetResource;32 + x-msedge-ref: + - 'Ref A: 954D3B73579F44C294D1344936A50112 Ref B: MAA201060515029 Ref C: 2024-04-11T04:23:59Z' status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -1375,18 +1345,18 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"myvm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic\"\ - ,\r\n \"etag\": \"W/\\\"13362f5c-6e4e-42bd-b69d-7219639f5636\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"a7fee93b-5a44-4431-8bc9-749edd1af6aa\\\"\",\r\n \ \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"0ff98f1d-4a0c-4e0b-9f8d-57d691d602db\",\r\n \ + ,\r\n \"resourceGuid\": \"52570152-061a-4275-8ca5-1dbe95d9af4f\",\r\n \ \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigmyvm1\"\ ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic/ipConfigurations/ipconfigmyvm1\"\ - ,\r\n \"etag\": \"W/\\\"13362f5c-6e4e-42bd-b69d-7219639f5636\\\"\"\ + ,\r\n \"etag\": \"W/\\\"a7fee93b-5a44-4431-8bc9-749edd1af6aa\\\"\"\ ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ @@ -1396,47 +1366,44 @@ interactions: \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"uobdex3ntepurocbxcsk0gz5eh.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"macAddress\": \"00-0D-3A-8E-4C-7F\",\r\n \"enableAcceleratedNetworking\"\ + internalDomainNameSuffix\": \"tws5fjsnaesedgyxlq0fcix0pa.bx.internal.cloudapp.net\"\ + \r\n },\r\n \"macAddress\": \"60-45-BD-EF-EB-A7\",\r\n \"enableAcceleratedNetworking\"\ : false,\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\"\ : false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG\"\ \r\n },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1\"\ - \r\n },\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\",\r\n \"allowPort25Out\": true,\r\n \"\ - auxiliaryMode\": \"None\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - ,\r\n \"location\": \"eastus\",\r\n \"kind\": \"Regular\"\r\n}" + \r\n },\r\n \"hostedWorkloads\": [],\r\n \"nicType\": \"Standard\"\ + ,\r\n \"allowPort25Out\": true,\r\n \"auxiliaryMode\": \"None\"\r\n\ + \ },\r\n \"type\": \"Microsoft.Network/networkInterfaces\",\r\n \"location\"\ + : \"eastus\",\r\n \"kind\": \"Regular\"\r\n}" headers: cache-control: - no-cache content-length: - - '2578' + - '2548' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:40:22 GMT + - Thu, 11 Apr 2024 04:24:01 GMT etag: - - W/"13362f5c-6e4e-42bd-b69d-7219639f5636" + - W/"a7fee93b-5a44-4431-8bc9-749edd1af6aa" expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 18dbe66b-b231-433d-96ac-c467d12eb63e + - 9b7dafd8-7a25-4c83-9608-7aff2962fa0d + x-msedge-ref: + - 'Ref A: 9F2EED816AA04CC7B0841621BE6ECDF6 Ref B: MAA201060513031 Ref C: 2024-04-11T04:24:00Z' status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -1451,22 +1418,22 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 (AAZ) azsdk-python-core/1.26.0 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"myvm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP\"\ - ,\r\n \"etag\": \"W/\\\"2fc5b19d-2d99-4692-919f-2db920380aa9\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"c86a5d12-14d3-46a1-86fa-7f81bd138539\\\"\",\r\n \ \ \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n\ - \ \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"631e4a0c-a070-448c-aa51-aba7422bf44a\"\ - ,\r\n \"ipAddress\": \"172.172.219.75\",\r\n \"publicIPAddressVersion\"\ - : \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\"\ + \ \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"9c16c3a1-876e-4362-b5bc-4e2514d9c026\"\ + ,\r\n \"ipAddress\": \"40.88.42.152\",\r\n \"publicIPAddressVersion\"\ + : \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\"\ : 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\"\ : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic/ipConfigurations/ipconfigmyvm1\"\ \r\n }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\ - \n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\ - \n }\r\n}" + \n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ + \r\n }\r\n}" headers: cache-control: - no-cache @@ -1475,29 +1442,26 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:40:23 GMT + - Thu, 11 Apr 2024 04:24:03 GMT etag: - - W/"2fc5b19d-2d99-4692-919f-2db920380aa9" + - W/"c86a5d12-14d3-46a1-86fa-7f81bd138539" expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c5266e01-e0d8-4aec-90d1-bad577395640 + - 2878a611-e8e1-4ca5-88b1-47aadafe81cc + x-msedge-ref: + - 'Ref A: 3E21E4F27704492EBD184479F9CC93A4 Ref B: MAA201060514047 Ref C: 2024-04-11T04:24:03Z' status: code: 200 - message: OK + message: '' - request: body: '{"properties": {"state": "Enabled"}, "kind": "LinuxPerformanceCollection"}' headers: @@ -1516,15 +1480,18 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxPerformanceCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","etag":"W/\"datetime''2023-08-22T06%3A40%3A26.2182550Z''\"","name":"DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"properties":{"state":"Enabled"},"kind":"LinuxPerformanceCollection","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","name":"DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A24%3A05.4597429Z''\""}' headers: access-control-allow-origin: - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1532,7 +1499,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:40:26 GMT + - Thu, 11 Apr 2024 04:24:05 GMT expires: - '-1' pragma: @@ -1541,16 +1508,14 @@ interactions: - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' - x-powered-by: - - ASP.NET + x-msedge-ref: + - 'Ref A: BFB4A8DCA5884756AD165DBD1DE2AA53 Ref B: MAA201060516023 Ref C: 2024-04-11T04:24:04Z' status: code: 200 message: OK @@ -1575,17 +1540,20 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Memory","performanceCounters":[{"counterName":"Available + string: '{"properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Memory","performanceCounters":[{"counterName":"Available MBytes Memory"},{"counterName":"% Used Memory"},{"counterName":"% Used Swap - Space"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","etag":"W/\"datetime''2023-08-22T06%3A40%3A27.8825854Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Space"}]},"kind":"LinuxPerformanceObject","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A24%3A06.9015543Z''\""}' headers: access-control-allow-origin: - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1593,7 +1561,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:40:28 GMT + - Thu, 11 Apr 2024 04:24:06 GMT expires: - '-1' pragma: @@ -1602,16 +1570,14 @@ interactions: - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1198' - x-powered-by: - - ASP.NET + x-msedge-ref: + - 'Ref A: 9A9E911A48F949B9B7C79DD48F23FB11 Ref B: MAA201060516023 Ref C: 2024-04-11T04:24:05Z' status: code: 200 message: OK @@ -1635,16 +1601,19 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Processor","performanceCounters":[{"counterName":"% - Processor Time"},{"counterName":"% Privileged Time"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","etag":"W/\"datetime''2023-08-22T06%3A40%3A29.5514598Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Processor","performanceCounters":[{"counterName":"% + Processor Time"},{"counterName":"% Privileged Time"}]},"kind":"LinuxPerformanceObject","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A24%3A08.4189307Z''\""}' headers: access-control-allow-origin: - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1652,7 +1621,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:40:29 GMT + - Thu, 11 Apr 2024 04:24:08 GMT expires: - '-1' pragma: @@ -1661,16 +1630,14 @@ interactions: - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' - x-powered-by: - - ASP.NET + - '1199' + x-msedge-ref: + - 'Ref A: C9368110DE58462990E3E2D2DB5ED001 Ref B: MAA201060516023 Ref C: 2024-04-11T04:24:07Z' status: code: 200 message: OK @@ -1696,18 +1663,21 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Logical + string: '{"properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Logical Disk","performanceCounters":[{"counterName":"% Used Inodes"},{"counterName":"Free Megabytes"},{"counterName":"% Used Space"},{"counterName":"Disk Transfers/sec"},{"counterName":"Disk - Reads/sec"},{"counterName":"Disk Writes/sec"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","etag":"W/\"datetime''2023-08-22T06%3A40%3A31.1277162Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Reads/sec"},{"counterName":"Disk Writes/sec"}]},"kind":"LinuxPerformanceObject","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A24%3A09.9088605Z''\""}' headers: access-control-allow-origin: - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1715,7 +1685,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:40:31 GMT + - Thu, 11 Apr 2024 04:24:09 GMT expires: - '-1' pragma: @@ -1724,16 +1694,14 @@ interactions: - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' - x-powered-by: - - ASP.NET + - '1199' + x-msedge-ref: + - 'Ref A: 4F8FC85C26B041AA8CC0CD035756F21E Ref B: MAA201060516023 Ref C: 2024-04-11T04:24:08Z' status: code: 200 message: OK @@ -1757,16 +1725,19 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Network","performanceCounters":[{"counterName":"Total - Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","etag":"W/\"datetime''2023-08-22T06%3A40%3A33.0491615Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Network","performanceCounters":[{"counterName":"Total + Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"kind":"LinuxPerformanceObject","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A24%3A11.3704160Z''\""}' headers: access-control-allow-origin: - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1774,7 +1745,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:40:33 GMT + - Thu, 11 Apr 2024 04:24:11 GMT expires: - '-1' pragma: @@ -1783,16 +1754,14 @@ interactions: - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' - x-powered-by: - - ASP.NET + - '1197' + x-msedge-ref: + - 'Ref A: 67E441D984D343419F5E4A45D756F306 Ref B: MAA201060516023 Ref C: 2024-04-11T04:24:10Z' status: code: 200 message: OK @@ -1814,15 +1783,18 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxSyslogCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","etag":"W/\"datetime''2023-08-22T06%3A40%3A34.8157629Z''\"","name":"DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"properties":{"state":"Enabled"},"kind":"LinuxSyslogCollection","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","name":"DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A24%3A12.9193736Z''\""}' headers: access-control-allow-origin: - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1830,7 +1802,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:40:35 GMT + - Thu, 11 Apr 2024 04:24:12 GMT expires: - '-1' pragma: @@ -1839,16 +1811,14 @@ interactions: - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' - x-powered-by: - - ASP.NET + - '1199' + x-msedge-ref: + - 'Ref A: 788A1A01084345349AB6727105903DCD Ref B: MAA201060516023 Ref C: 2024-04-11T04:24:11Z' status: code: 200 message: OK @@ -1871,15 +1841,18 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-loganalytics/13.0.0b4 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxSyslog","properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","etag":"W/\"datetime''2023-08-22T06%3A40%3A36.7068021Z''\"","name":"DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"kind":"LinuxSyslog","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","name":"DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T04%3A24%3A14.3789735Z''\""}' headers: access-control-allow-origin: - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 cache-control: - no-cache content-length: @@ -1887,7 +1860,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:40:36 GMT + - Thu, 11 Apr 2024 04:24:14 GMT expires: - '-1' pragma: @@ -1896,16 +1869,14 @@ interactions: - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' - x-powered-by: - - ASP.NET + - '1199' + x-msedge-ref: + - 'Ref A: 247B006FC7B94E759DEDFBE8336D8BBC Ref B: MAA201060516023 Ref C: 2024-04-11T04:24:13Z' status: code: 200 message: OK @@ -1923,31 +1894,33 @@ interactions: ParameterSetName: - -g -n --scopes --condition --condition-query --description User-Agent: - - AZURECLI/2.51.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_operator000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001","name":"cli_test_scheduled_query_operator000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query_condition_operator","date":"2023-08-22T06:37:48Z","module":"scheduled-query"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001","name":"cli_test_scheduled_query_operator000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query_condition_operator","date":"2024-04-11T04:21:18Z","module":"scheduled-query","Creator":"liwang3@microsoft.com","DateCreated":"2024-04-11T04:21:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '432' + - '503' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:43:42 GMT + - Thu, 11 Apr 2024 04:27:15 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 174BE38585204E97B5B29DE2FA719481 Ref B: MAA201060514037 Ref C: 2024-04-11T04:27:16Z' status: code: 200 message: OK @@ -1976,15 +1949,19 @@ interactions: ParameterSetName: - -g -n --scopes --condition --condition-query --description User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-08-22T06:43:46.3783405Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-08-22T06:43:46.3783405Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:27:17.8582335Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:27:17.8582335Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"Equal","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: @@ -1992,25 +1969,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:43:54 GMT + - Thu, 11 Apr 2024 04:27:22 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=52f8a4371de16c7afc44f037d30946a21b847265bb64e90f074cad5f16452d0c;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=52f8a4371de16c7afc44f037d30946a21b847265bb64e90f074cad5f16452d0c;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' + x-msedge-ref: + - 'Ref A: 949CACE2D65C4AC5AC069001BBBD1F45 Ref B: MAA201060516021 Ref C: 2024-04-11T04:27:17Z' + x-powered-by: + - ASP.NET x-rate-limit-limit: - 1m x-rate-limit-remaining: - - '14' + - '29' x-rate-limit-reset: - - '2023-08-22T06:44:46.4511299Z' + - '2024-04-11T04:28:19.2199393Z' status: code: 201 message: Created @@ -2029,15 +2013,19 @@ interactions: - -g -n --condition --condition-query --description --severity --disabled --evaluation-frequency --window-size User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-08-22T06:43:46.3783405Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-08-22T06:43:46.3783405Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:27:17.8582335Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:27:17.8582335Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"Equal","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: @@ -2045,27 +2033,26 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:43:56 GMT + - Thu, 11 Apr 2024 04:27:25 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=52f8a4371de16c7afc44f037d30946a21b847265bb64e90f074cad5f16452d0c;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=52f8a4371de16c7afc44f037d30946a21b847265bb64e90f074cad5f16452d0c;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-rate-limit-limit: - - 1m - x-rate-limit-remaining: - - '49' - x-rate-limit-reset: - - '2023-08-22T06:44:56.4345746Z' + x-msedge-ref: + - 'Ref A: EC10480E69E64195A43A94A71F71B34D Ref B: MAA201060513047 Ref C: 2024-04-11T04:27:23Z' + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -2075,8 +2062,9 @@ interactions: "evaluationFrequency": "PT10M", "windowSize": "PT10M", "criteria": {"allOf": [{"query": "union Event | where TimeGenerated > ago(2h)", "timeAggregation": "Count", "dimensions": [], "operator": "Equal", "threshold": 260.0, "failingPeriods": - {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": 1}}]}, "checkWorkspaceAlertsStorageConfigured": - false, "skipQueryValidation": false, "autoMitigate": true}}' + {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": 1}}]}, "actions": + {}, "checkWorkspaceAlertsStorageConfigured": false, "skipQueryValidation": false, + "autoMitigate": true}}' headers: Accept: - application/json @@ -2087,52 +2075,61 @@ interactions: Connection: - keep-alive Content-Length: - - '681' + - '696' Content-Type: - application/json ParameterSetName: - -g -n --condition --condition-query --description --severity --disabled --evaluation-frequency --window-size User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2023-08-22T06:43:46.3783405Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-08-22T06:43:57.6399888Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T04:27:17.8582335Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T04:27:26.779838Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test rule 2","severity":4,"enabled":false,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"operator":"Equal","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - - '1145' + - '1144' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:44:01 GMT + - Thu, 11 Apr 2024 04:27:28 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=abd7c4840ba964924efab1042419df7a54898eed822d8ed3e504734b7322b016;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=abd7c4840ba964924efab1042419df7a54898eed822d8ed3e504734b7322b016;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 3CBF163CE1894B5B839C0B24B7E14C47 Ref B: MAA201060513011 Ref C: 2024-04-11T04:27:26Z' + x-powered-by: + - ASP.NET x-rate-limit-limit: - 1m x-rate-limit-remaining: - - '14' + - '29' x-rate-limit-reset: - - '2023-08-22T06:44:58.3989647Z' + - '2024-04-11T04:28:28.1083547Z' status: code: 200 message: OK @@ -2152,31 +2149,42 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: body: string: '' headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview cache-control: - no-cache content-length: - '0' date: - - Tue, 22 Aug 2023 06:44:10 GMT + - Thu, 11 Apr 2024 04:27:39 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel + set-cookie: + - ARRAffinity=0ab763e894b5dcbf898fb98875afbc0e5a1087178c76157c58c54b39a9ed3029;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=0ab763e894b5dcbf898fb98875afbc0e5a1087178c76157c58c54b39a9ed3029;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - '14999' + x-msedge-ref: + - 'Ref A: 16608ABF3B564D0DA213EB06971B7DA3 Ref B: MAA201060516037 Ref C: 2024-04-11T04:27:30Z' + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -2194,7 +2202,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.51.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.10.6 (macOS-13.5-x86_64-i386-64bit) + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_operator000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 response: @@ -2210,17 +2218,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Aug 2023 06:44:11 GMT + - Thu, 11 Apr 2024 04:27:39 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-failure-cause: - gateway + x-msedge-ref: + - 'Ref A: 891AA807A3D246E087AB96D1FBA23DE5 Ref B: MAA201060514017 Ref C: 2024-04-11T04:27:40Z' status: code: 404 message: Not Found diff --git a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_update_action_group.yaml b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_update_action_group.yaml new file mode 100644 index 00000000000..b45b5125d79 --- /dev/null +++ b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_update_action_group.yaml @@ -0,0 +1,2879 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001","name":"cli_test_scheduled_query_update000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query_update_action_group","date":"2024-04-11T03:12:03Z","module":"scheduled-query"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '429' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 248E747A69EA4150896F8A9B8FBC8C30 Ref B: MAA201060516027 Ref C: 2024-04-11T03:12:09Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + response: + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ + ,\n \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\"\ + : {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"\ + type\": \"object\",\n \"value\": {\n \"Linux\": {\n \"\ + CentOS85Gen2\": {\n \"publisher\": \"OpenLogic\",\n \ + \ \"offer\": \"CentOS\",\n \"sku\": \"8_5-gen2\",\n \ + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ + \ },\n \"Debian11\": {\n \"publisher\": \"Debian\"\ + ,\n \"offer\": \"debian-11\",\n \"sku\": \"11-backports-gen2\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"FlatcarLinuxFreeGen2\": {\n \"\ + publisher\": \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\"\ + ,\n \"sku\": \"stable-gen2\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n },\n \"OpenSuseLeap154Gen2\"\ + : {\n \"publisher\": \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\"\ + ,\n \"sku\": \"gen2\",\n \"version\": \"latest\",\n\ + \ \"architecture\": \"x64\"\n },\n \"RHELRaw8LVMGen2\"\ + : {\n \"publisher\": \"RedHat\",\n \"offer\": \"\ + RHEL\",\n \"sku\": \"8-lvm-gen2\",\n \"version\": \ + \ \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"SuseSles15SP3\": {\n \"publisher\": \"SUSE\",\n \ + \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n \ + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ + \ },\n \"Ubuntu2204\": {\n \"publisher\": \"\ + Canonical\",\n \"offer\": \"0001-com-ubuntu-server-jammy\",\n\ + \ \"sku\": \"22_04-lts-gen2\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n }\n },\n \ + \ \"Windows\": {\n \"Win2022Datacenter\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2022-datacenter-g2\",\n \"version\": \"\ + latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2022AzureEditionCore\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2022-datacenter-azure-edition-core\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2019Datacenter\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2019-datacenter-gensecond\",\n \"version\"\ + : \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2016-datacenter-gensecond\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2012R2Datacenter\": {\n \"\ + publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\"\ + ,\n \"sku\": \"2012-R2-Datacenter\",\n \"version\":\ + \ \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2008R2SP1\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2008-R2-SP1\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n }\n }\n }\n\ + \ }\n }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '3615' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + cross-origin-resource-policy: + - cross-origin + date: + - Thu, 11 Apr 2024 03:12:09 GMT + etag: + - W/"9fee27d398b0211e374a0f0e8e79c9b3a0342cfa43466b26b8548409639c8c17" + expires: + - Thu, 11 Apr 2024 03:17:09 GMT + source-age: + - '217' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding,Origin + via: + - 1.1 varnish + x-cache: + - HIT + x-cache-hits: + - '0' + x-content-type-options: + - nosniff + x-fastly-request-id: + - ad6a42eb4ef8bd9aed53e1c8752544d55f53b221 + x-frame-options: + - deny + x-github-request-id: + - 20EE:2FD543:7B9942:98F696:661455A5 + x-served-by: + - cache-qpg1237-QPG + x-timer: + - S1712805130.794075,VS0,VE1 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2023-09-01 + response: + body: + string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ + \r\n }\r\n]" + headers: + cache-control: + - no-cache + content-length: + - '307' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43999 + x-msedge-ref: + - 'Ref A: CDF091A2688C4A59BE2FC024A9429EF0 Ref B: MAA201060516023 Ref C: 2024-04-11T03:12:10Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202404090?api-version=2023-09-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V2\",\r\n \ + \ \"architecture\": \"x64\",\r\n \"replicaType\": \"Managed\",\r\n \ + \ \"replicaCount\": 10,\r\n \"disallowed\": {\r\n \"vmDiskType\"\ + : \"Unmanaged\"\r\n },\r\n \"automaticOSUpgradeProperties\": {\r\n \ + \ \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\"\ + : {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\ + \n {\r\n \"name\": \"SecurityType\",\r\n \"value\": \"\ + TrustedLaunchSupported\"\r\n },\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\"\ + ,\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\"\ + : \"DiskControllerTypes\",\r\n \"value\": \"SCSI, NVMe\"\r\n },\r\ + \n {\r\n \"name\": \"IsHibernateSupported\",\r\n \"value\"\ + : \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\"\ + : \"Linux\",\r\n \"sizeInGb\": 30\r\n },\r\n \"dataDiskImages\"\ + : []\r\n },\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ + \r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1158' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73999 + x-msedge-ref: + - 'Ref A: A60E7B139A54440EA8EAB40E7EFAABC8 Ref B: MAA201060514033 Ref C: 2024-04-11T03:12:11Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/virtualNetworks?api-version=2022-01-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 79E1963A8A6D40C6BA65E7EF68D41373 Ref B: MAA201060515031 Ref C: 2024-04-11T03:12:12Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + response: + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ + ,\n \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\"\ + : {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"\ + type\": \"object\",\n \"value\": {\n \"Linux\": {\n \"\ + CentOS85Gen2\": {\n \"publisher\": \"OpenLogic\",\n \ + \ \"offer\": \"CentOS\",\n \"sku\": \"8_5-gen2\",\n \ + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ + \ },\n \"Debian11\": {\n \"publisher\": \"Debian\"\ + ,\n \"offer\": \"debian-11\",\n \"sku\": \"11-backports-gen2\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"FlatcarLinuxFreeGen2\": {\n \"\ + publisher\": \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\"\ + ,\n \"sku\": \"stable-gen2\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n },\n \"OpenSuseLeap154Gen2\"\ + : {\n \"publisher\": \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\"\ + ,\n \"sku\": \"gen2\",\n \"version\": \"latest\",\n\ + \ \"architecture\": \"x64\"\n },\n \"RHELRaw8LVMGen2\"\ + : {\n \"publisher\": \"RedHat\",\n \"offer\": \"\ + RHEL\",\n \"sku\": \"8-lvm-gen2\",\n \"version\": \ + \ \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"SuseSles15SP3\": {\n \"publisher\": \"SUSE\",\n \ + \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n \ + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ + \ },\n \"Ubuntu2204\": {\n \"publisher\": \"\ + Canonical\",\n \"offer\": \"0001-com-ubuntu-server-jammy\",\n\ + \ \"sku\": \"22_04-lts-gen2\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n }\n },\n \ + \ \"Windows\": {\n \"Win2022Datacenter\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2022-datacenter-g2\",\n \"version\": \"\ + latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2022AzureEditionCore\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2022-datacenter-azure-edition-core\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2019Datacenter\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2019-datacenter-gensecond\",\n \"version\"\ + : \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2016-datacenter-gensecond\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2012R2Datacenter\": {\n \"\ + publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\"\ + ,\n \"sku\": \"2012-R2-Datacenter\",\n \"version\":\ + \ \"latest\",\n \"architecture\": \"x64\"\n },\n \ + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\"\ + ,\n \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\"\ + ,\n \"version\": \"latest\",\n \"architecture\": \"\ + x64\"\n },\n \"Win2008R2SP1\": {\n \"publisher\"\ + : \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n\ + \ \"sku\": \"2008-R2-SP1\",\n \"version\": \"latest\"\ + ,\n \"architecture\": \"x64\"\n }\n }\n }\n\ + \ }\n }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '3615' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + cross-origin-resource-policy: + - cross-origin + date: + - Thu, 11 Apr 2024 03:12:13 GMT + etag: + - W/"9fee27d398b0211e374a0f0e8e79c9b3a0342cfa43466b26b8548409639c8c17" + expires: + - Thu, 11 Apr 2024 03:17:13 GMT + source-age: + - '222' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding,Origin + via: + - 1.1 varnish + x-cache: + - HIT + x-cache-hits: + - '1' + x-content-type-options: + - nosniff + x-fastly-request-id: + - 6af15875f95d8a870fcbc5229c69436af162f56a + x-frame-options: + - deny + x-github-request-id: + - 20EE:2FD543:7B9942:98F696:661455A5 + x-served-by: + - cache-qpg1258-QPG + x-timer: + - S1712805134.904720,VS0,VE1 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2023-09-01 + response: + body: + string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ + \r\n }\r\n]" + headers: + cache-control: + - no-cache + content-length: + - '307' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15998,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43998 + x-msedge-ref: + - 'Ref A: BB1EB7EDA85847FA852043F9E61A30D5 Ref B: MAA201060516027 Ref C: 2024-04-11T03:12:14Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202404090?api-version=2023-09-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V2\",\r\n \ + \ \"architecture\": \"x64\",\r\n \"replicaType\": \"Managed\",\r\n \ + \ \"replicaCount\": 10,\r\n \"disallowed\": {\r\n \"vmDiskType\"\ + : \"Unmanaged\"\r\n },\r\n \"automaticOSUpgradeProperties\": {\r\n \ + \ \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\"\ + : {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\ + \n {\r\n \"name\": \"SecurityType\",\r\n \"value\": \"\ + TrustedLaunchSupported\"\r\n },\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\"\ + ,\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\"\ + : \"DiskControllerTypes\",\r\n \"value\": \"SCSI, NVMe\"\r\n },\r\ + \n {\r\n \"name\": \"IsHibernateSupported\",\r\n \"value\"\ + : \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\"\ + : \"Linux\",\r\n \"sizeInGb\": 30\r\n },\r\n \"dataDiskImages\"\ + : []\r\n },\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ + \r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1158' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMImageFromLocation3Min;12998,Microsoft.Compute/GetVMImageFromLocation30Min;73998 + x-msedge-ref: + - 'Ref A: 88709CFC0B074ABD891F1D3423200C2D Ref B: MAA201060513031 Ref C: 2024-04-11T03:12:15Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2023-09-01 + response: + body: + string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ + \r\n }\r\n]" + headers: + cache-control: + - no-cache + content-length: + - '307' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15997,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43997 + x-msedge-ref: + - 'Ref A: 7BC1C4CC11D94B5794CD2DE0F800E0AB Ref B: MAA201060514019 Ref C: 2024-04-11T03:12:16Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202404090?api-version=2023-09-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V2\",\r\n \ + \ \"architecture\": \"x64\",\r\n \"replicaType\": \"Managed\",\r\n \ + \ \"replicaCount\": 10,\r\n \"disallowed\": {\r\n \"vmDiskType\"\ + : \"Unmanaged\"\r\n },\r\n \"automaticOSUpgradeProperties\": {\r\n \ + \ \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\"\ + : {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\ + \n {\r\n \"name\": \"SecurityType\",\r\n \"value\": \"\ + TrustedLaunchSupported\"\r\n },\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\"\ + ,\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\"\ + : \"DiskControllerTypes\",\r\n \"value\": \"SCSI, NVMe\"\r\n },\r\ + \n {\r\n \"name\": \"IsHibernateSupported\",\r\n \"value\"\ + : \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\"\ + : \"Linux\",\r\n \"sizeInGb\": 30\r\n },\r\n \"dataDiskImages\"\ + : []\r\n },\r\n \"location\": \"eastus\",\r\n \"name\": \"22.04.202404090\"\ + ,\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/0001-com-ubuntu-server-jammy/Skus/22_04-lts-gen2/Versions/22.04.202404090\"\ + \r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1158' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73997 + x-msedge-ref: + - 'Ref A: 4178AFAA41FC4452A32A8B838FEDCDC5 Ref B: MAA201060514027 Ref C: 2024-04-11T03:12:17Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.OperationalInsights/workspaces/clitest000002'' + under resource group ''cli_test_scheduled_query_update000001'' was not found. + For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '263' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + x-msedge-ref: + - 'Ref A: D695E9F432A64DEE941DC25A92248BA4 Ref B: MAA201060516023 Ref C: 2024-04-11T03:12:19Z' + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001","name":"cli_test_scheduled_query_update000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query_update_action_group","date":"2024-04-11T03:12:03Z","module":"scheduled-query","Creator":"liwang3@microsoft.com","DateCreated":"2024-04-11T03:12:13Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '500' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 43AAA25597474744BBA1C8FB53B88CE2 Ref B: MAA201060516019 Ref C: 2024-04-11T03:12:20Z' + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"sku": {"name": "PerGB2018"}, "retentionInDays": + 30, "publicNetworkAccessForIngestion": "Enabled", "publicNetworkAccessForQuery": + "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '179' + Content-Type: + - application/json + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview + response: + body: + string: '{"properties":{"customerId":"c68736ec-6884-4dd8-b42c-dcf26e5fdfb2","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2024-04-11T03:12:22.3028967Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2024-04-11T15:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2024-04-11T03:12:22.3028967Z","modifiedDate":"2024-04-11T03:12:22.3028967Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","name":"clitest000002","type":"Microsoft.OperationalInsights/workspaces","etag":"\"3000f219-0000-0100-0000-661755160000\""}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview + cache-control: + - no-cache + content-length: + - '904' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:22 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: CA854ED98A4F4735BA39E9FCEA820423 Ref B: MAA201060516023 Ref C: 2024-04-11T03:12:20Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2021-12-01-preview + response: + body: + string: '{"properties":{"customerId":"c68736ec-6884-4dd8-b42c-dcf26e5fdfb2","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2024-04-11T03:12:22.3028967Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2024-04-11T15:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2024-04-11T03:12:22.3028967Z","modifiedDate":"2024-04-11T03:12:22.3028967Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","name":"clitest000002","type":"Microsoft.OperationalInsights/workspaces","etag":"\"3000f219-0000-0100-0000-661755160000\""}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2021-12-01-preview + cache-control: + - no-cache + content-length: + - '904' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:23 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: CF39D01D65A449FDAAE71B7E335400B4 Ref B: MAA201060516023 Ref C: 2024-04-11T03:12:22Z' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"workspaceId": {"type": "securestring", + "metadata": {"description": "Secure workspaceId"}}}, "variables": {}, "resources": + [{"name": "myvm1VNET", "type": "Microsoft.Network/virtualNetworks", "location": + "eastus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, "properties": + {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": [{"name": + "myvm1Subnet", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": + "Microsoft.Network/networkSecurityGroups", "name": "myvm1NSG", "apiVersion": + "2015-06-15", "location": "eastus", "tags": {}, "dependsOn": []}, {"apiVersion": + "2022-01-01", "type": "Microsoft.Network/publicIPAddresses", "name": "myvm1PublicIP", + "location": "eastus", "tags": {}, "dependsOn": [], "properties": {"publicIPAllocationMethod": + "Static"}, "sku": {"name": "Standard"}}, {"apiVersion": "2015-06-15", "type": + "Microsoft.Network/networkInterfaces", "name": "myvm1VMNic", "location": "eastus", + "tags": {}, "dependsOn": ["Microsoft.Network/virtualNetworks/myvm1VNET", "Microsoft.Network/networkSecurityGroups/myvm1NSG", + "Microsoft.Network/publicIpAddresses/myvm1PublicIP"], "properties": {"ipConfigurations": + [{"name": "ipconfigmyvm1", "properties": {"privateIPAllocationMethod": "Dynamic", + "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET/subnets/myvm1Subnet"}, + "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP"}}}], + "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG"}}}, + {"type": "Microsoft.Compute/virtualMachines/extensions", "apiVersion": "2018-10-01", + "properties": {"publisher": "Microsoft.EnterpriseCloud.Monitoring", "type": + "OmsAgentForLinux", "typeHandlerVersion": "1.0", "autoUpgradeMinorVersion": + "true", "settings": {"workspaceId": "[reference(parameters(''workspaceId''), + ''2015-11-01-preview'').customerId]", "stopOnMultipleConnections": "true"}, + "protectedSettings": {"workspaceKey": "[listKeys(parameters(''workspaceId''), + ''2015-11-01-preview'').primarySharedKey]"}}, "name": "myvm1/OmsAgentForLinux", + "location": "eastus", "dependsOn": ["Microsoft.Compute/virtualMachines/myvm1"]}, + {"apiVersion": "2023-09-01", "type": "Microsoft.Compute/virtualMachines", "name": + "myvm1", "location": "eastus", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/myvm1VMNic"], + "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": + {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic", + "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"createOption": + "fromImage", "name": null, "caching": "ReadWrite", "managedDisk": {"storageAccountType": + null}}, "imageReference": {"publisher": "Canonical", "offer": "0001-com-ubuntu-server-jammy", + "sku": "22_04-lts-gen2", "version": "latest"}}, "osProfile": {"computerName": + "myvm1", "adminUsername": "liwang3", "linuxConfiguration": {"disablePasswordAuthentication": + true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDadVxR1G/E6PgSUPxoXVdN67BCJQInbOeuxz/hyUt3c2DXVKW6P6zd01Nd2S1C+iWu50wERXoLPWePhcPSJlQTAGuC6ZoaaPf0Gs8NmNnYixvKE7A+J/S/KUcEcGJSKgdIObPgy05+Efu0FxE1j/HVI0C8CCEAPjvjKtljYLYXKRx2WPQuYfQ83mpwDdHAqBMgbhHcy93fS//opl4VnEfTNh19TsbW0Kjh1GCnfMd6i0D30pDtQcgfcOQ2D/giK7Wcy4OcbPOXaUYzqaEE580PxsreQZ7BSRpj8+3w4SkTNxuTZGUkqihOvsCiYWu/EvDR5cL/dh6JF3TeMbVrU+alsrT7/D0L3nYy5o+Jk66+AjciKD6da6aNsUYb10UdZrU5H1EHY2orJ9iet+ag9+UraEnk5pfxgF+zT2aOSZWmzO+PICgAB/Mc7DU5vhG1URSLvi7P2tZjGanviX4hZpGfDLVUsQCVGcjt2U6cv5hTaWOTKGDqvY3d7GuZOL73laE= + redmond\\liwang3@DESKTOP-SAW-LIWA\n", "path": "/home/liwang3/.ssh/authorized_keys"}]}}}, + "securityProfile": {"securityType": "TrustedLaunch", "uefiSettings": {"secureBootEnabled": + true, "vTpmEnabled": true}}}}], "outputs": {}}, "parameters": {"workspaceId": + {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002"}}, + "mode": "incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '4588' + Content-Type: + - application/json + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Resources/deployments/vm_deploy_TBhv2y6UDpun0yWBN3fg94c65AgT7elL","name":"vm_deploy_TBhv2y6UDpun0yWBN3fg94c65AgT7elL","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18267170703947306259","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2024-04-11T03:12:31.7006821Z","duration":"PT0.0001824S","correlationId":"195e4fd4-6d24-4107-a94d-0b8469658b6d","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.Resources/deployments/vm_deploy_TBhv2y6UDpun0yWBN3fg94c65AgT7elL/operationStatuses/08584888017372549591?api-version=2022-09-01 + cache-control: + - no-cache + content-length: + - '3781' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: 9A8CC24E37C042BCBC3E6431F0E5F4AF Ref B: MAA201060516029 Ref C: 2024-04-11T03:12:24Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584888017372549591?api-version=2022-09-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:12:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 49E12E38C8F0498BB33C8455658E5639 Ref B: MAA201060516029 Ref C: 2024-04-11T03:12:33Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584888017372549591?api-version=2022-09-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:13:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 425DA0A90605418992A6BFAD60B497DB Ref B: MAA201060516029 Ref C: 2024-04-11T03:13:05Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584888017372549591?api-version=2022-09-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:13:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 1D3862D8A8614E74AEBA267279AC7FEF Ref B: MAA201060516029 Ref C: 2024-04-11T03:13:35Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584888017372549591?api-version=2022-09-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 718B1589F1BD4B65ACCBD17888855EBE Ref B: MAA201060516029 Ref C: 2024-04-11T03:14:07Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584888017372549591?api-version=2022-09-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 01AC5CE232AA4BF6A1B085752506BB8E Ref B: MAA201060516029 Ref C: 2024-04-11T03:14:37Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Resources/deployments/vm_deploy_TBhv2y6UDpun0yWBN3fg94c65AgT7elL","name":"vm_deploy_TBhv2y6UDpun0yWBN3fg94c65AgT7elL","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18267170703947306259","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2024-04-11T03:14:27.9035126Z","duration":"PT1M56.2030129S","correlationId":"195e4fd4-6d24-4107-a94d-0b8469658b6d","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002","resourceType":"Microsoft.OperationalInsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '4860' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 2413FE9B053E4ED589570C70299CE012 Ref B: MAA201060516029 Ref C: 2024-04-11T03:14:39Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1?$expand=instanceView&api-version=2023-09-01 + response: + body: + string: "{\r\n \"name\": \"myvm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1\"\ + ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ + : \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"hardwareProfile\"\ + : {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \"provisioningState\"\ + : \"Succeeded\",\r\n \"vmId\": \"48c5ad90-be41-4ef1-a335-ffc2c8505d9a\"\ + ,\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"\ + publisher\": \"Canonical\",\r\n \"offer\": \"0001-com-ubuntu-server-jammy\"\ + ,\r\n \"sku\": \"22_04-lts-gen2\",\r\n \"version\": \"latest\"\ + ,\r\n \"exactVersion\": \"22.04.202404090\"\r\n },\r\n \"\ + osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": \"myvm1_disk1_210b22a120684ee983ac8426d046a8d0\"\ + ,\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\"\ + ,\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/disks/myvm1_disk1_210b22a120684ee983ac8426d046a8d0\"\ + \r\n },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\"\ + : 30\r\n },\r\n \"dataDisks\": [],\r\n \"diskControllerType\"\ + : \"SCSI\"\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"\ + myvm1\",\r\n \"adminUsername\": \"liwang3\",\r\n \"linuxConfiguration\"\ + : {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\"\ + : {\r\n \"publicKeys\": [\r\n {\r\n \"path\"\ + : \"/home/liwang3/.ssh/authorized_keys\",\r\n \"keyData\": \"\ + ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDadVxR1G/E6PgSUPxoXVdN67BCJQInbOeuxz/hyUt3c2DXVKW6P6zd01Nd2S1C+iWu50wERXoLPWePhcPSJlQTAGuC6ZoaaPf0Gs8NmNnYixvKE7A+J/S/KUcEcGJSKgdIObPgy05+Efu0FxE1j/HVI0C8CCEAPjvjKtljYLYXKRx2WPQuYfQ83mpwDdHAqBMgbhHcy93fS//opl4VnEfTNh19TsbW0Kjh1GCnfMd6i0D30pDtQcgfcOQ2D/giK7Wcy4OcbPOXaUYzqaEE580PxsreQZ7BSRpj8+3w4SkTNxuTZGUkqihOvsCiYWu/EvDR5cL/dh6JF3TeMbVrU+alsrT7/D0L3nYy5o+Jk66+AjciKD6da6aNsUYb10UdZrU5H1EHY2orJ9iet+ag9+UraEnk5pfxgF+zT2aOSZWmzO+PICgAB/Mc7DU5vhG1URSLvi7P2tZjGanviX4hZpGfDLVUsQCVGcjt2U6cv5hTaWOTKGDqvY3d7GuZOL73laE=\ + \ redmond\\\\liwang3@DESKTOP-SAW-LIWA\\n\"\r\n }\r\n ]\r\ + \n },\r\n \"provisionVMAgent\": true,\r\n \"patchSettings\"\ + : {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\"\ + : \"ImageDefault\"\r\n },\r\n \"enableVMAgentPlatformUpdates\"\ + : false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\"\ + : true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"\ + securityProfile\": {\r\n \"uefiSettings\": {\r\n \"secureBootEnabled\"\ + : true,\r\n \"vTpmEnabled\": true\r\n },\r\n \"securityType\"\ + : \"TrustedLaunch\"\r\n },\r\n \"networkProfile\": {\"networkInterfaces\"\ + :[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic\"\ + }]},\r\n \"instanceView\": {\r\n \"computerName\": \"myvm1\",\r\n\ + \ \"osName\": \"ubuntu\",\r\n \"osVersion\": \"22.04\",\r\n \ + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.10.0.8\",\r\n \ + \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\"\ + ,\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"\ + Ready\",\r\n \"message\": \"Guest Agent is running\",\r\n \ + \ \"time\": \"2024-04-11T03:14:16+00:00\"\r\n }\r\n \ + \ ],\r\n \"extensionHandlers\": [\r\n {\r\n \"\ + type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n \ + \ \"typeHandlerVersion\": \"1.19.0\",\r\n \"status\": {\r\ + \n \"code\": \"ProvisioningState/succeeded\",\r\n \ + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n\ + \ \"message\": \"Plugin enabled\"\r\n }\r\n \ + \ }\r\n ]\r\n },\r\n \"disks\": [\r\n {\r\n \ + \ \"name\": \"myvm1_disk1_210b22a120684ee983ac8426d046a8d0\",\r\n \ + \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\"\ + ,\r\n \"level\": \"Info\",\r\n \"displayStatus\"\ + : \"Provisioning succeeded\",\r\n \"time\": \"2024-04-11T03:12:55.3953849+00:00\"\ + \r\n }\r\n ]\r\n }\r\n ],\r\n \"extensions\"\ + : [\r\n {\r\n \"name\": \"OmsAgentForLinux\",\r\n \ + \ \"type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n\ + \ \"typeHandlerVersion\": \"1.19.0\",\r\n \"statuses\":\ + \ [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\"\ + ,\r\n \"level\": \"Info\",\r\n \"displayStatus\"\ + : \"Provisioning succeeded\",\r\n \"message\": \"Enable succeeded\"\ + \r\n }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\"\ + : \"V2\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"\ + ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \ + \ \"displayStatus\": \"Provisioning succeeded\",\r\n \"time\"\ + : \"2024-04-11T03:14:22.8781295+00:00\"\r\n },\r\n {\r\n \ + \ \"code\": \"PowerState/running\",\r\n \"level\": \"Info\"\ + ,\r\n \"displayStatus\": \"VM running\"\r\n }\r\n ]\r\ + \n },\r\n \"timeCreated\": \"2024-04-11T03:12:52.8641846+00:00\"\r\n\ + \ },\r\n \"resources\": [\r\n {\r\n \"name\": \"OmsAgentForLinux\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux\"\ + ,\r\n \"type\": \"Microsoft.Compute/virtualMachines/extensions\",\r\n\ + \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"\ + autoUpgradeMinorVersion\": true,\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"publisher\": \"Microsoft.EnterpriseCloud.Monitoring\",\r\n\ + \ \"type\": \"OmsAgentForLinux\",\r\n \"typeHandlerVersion\"\ + : \"1.0\",\r\n \"settings\": {\"workspaceId\":\"c68736ec-6884-4dd8-b42c-dcf26e5fdfb2\"\ + ,\"stopOnMultipleConnections\":\"true\"}\r\n }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '5914' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGetSubscriptionMaximum;23999,Microsoft.Compute/LowCostGetResource;32 + x-msedge-ref: + - 'Ref A: 261B029837FD4D45A80F9EE10A653409 Ref B: MAA201060515033 Ref C: 2024-04-11T03:14:41Z' + status: + code: 200 + message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic?api-version=2022-01-01 + response: + body: + string: "{\r\n \"name\": \"myvm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic\"\ + ,\r\n \"etag\": \"W/\\\"5cf317c9-9e32-4e72-b3ad-ca590f12e2c1\\\"\",\r\n \ + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"resourceGuid\": \"f43fc55a-fdc2-4a32-848c-e6857aed7f11\",\r\n \ + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigmyvm1\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic/ipConfigurations/ipconfigmyvm1\"\ + ,\r\n \"etag\": \"W/\\\"5cf317c9-9e32-4e72-b3ad-ca590f12e2c1\\\"\"\ + ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ + : \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\":\ + \ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP\"\ + \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET/subnets/myvm1Subnet\"\ + \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ + : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ + \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ + internalDomainNameSuffix\": \"g1jn5dvyyfwevluwc0wee3m3db.bx.internal.cloudapp.net\"\ + \r\n },\r\n \"macAddress\": \"7C-1E-52-0A-74-3A\",\r\n \"enableAcceleratedNetworking\"\ + : false,\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\"\ + : false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG\"\ + \r\n },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1\"\ + \r\n },\r\n \"hostedWorkloads\": [],\r\n \"nicType\": \"Standard\"\ + ,\r\n \"allowPort25Out\": true,\r\n \"auxiliaryMode\": \"None\"\r\n\ + \ },\r\n \"type\": \"Microsoft.Network/networkInterfaces\",\r\n \"location\"\ + : \"eastus\",\r\n \"kind\": \"Regular\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2536' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:43 GMT + etag: + - W/"5cf317c9-9e32-4e72-b3ad-ca590f12e2c1" + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - b4460a69-1f0f-43fc-ab78-070364798f8f + x-msedge-ref: + - 'Ref A: BD9068179A044F248318BA456A3C2493 Ref B: MAA201060513037 Ref C: 2024-04-11T03:14:42Z' + status: + code: 200 + message: '' +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP?api-version=2022-01-01 + response: + body: + string: "{\r\n \"name\": \"myvm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP\"\ + ,\r\n \"etag\": \"W/\\\"1cdc5e14-a29e-4f0f-bd27-f473fb3c8b93\\\"\",\r\n \ + \ \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n\ + \ \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"fc0ee807-d2cf-40c6-b5c8-1c9395d0217c\"\ + ,\r\n \"ipAddress\": \"40.71.224.59\",\r\n \"publicIPAddressVersion\"\ + : \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\"\ + : 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic/ipConfigurations/ipconfigmyvm1\"\ + \r\n }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\ + \n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ + \r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '955' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:44 GMT + etag: + - W/"1cdc5e14-a29e-4f0f-bd27-f473fb3c8b93" + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9e79fb9b-905a-4925-b1fe-2f46f51beed9 + x-msedge-ref: + - 'Ref A: B19D50B9047E4ED489121A92E5F5548D Ref B: MAA201060514011 Ref C: 2024-04-11T03:14:44Z' + status: + code: 200 + message: '' +- request: + body: '{"properties": {"state": "Enabled"}, "kind": "LinuxPerformanceCollection"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '74' + Content-Type: + - application/json + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001?api-version=2020-08-01 + response: + body: + string: '{"properties":{"state":"Enabled"},"kind":"LinuxPerformanceCollection","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","name":"DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T03%3A14%3A47.0515594Z''\""}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 + cache-control: + - no-cache + content-length: + - '538' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:46 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: 94A55A8CA81348CAB7060383B768C73D Ref B: MAA201060513031 Ref C: 2024-04-11T03:14:45Z' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"instanceName": "*", "intervalSeconds": 10, "objectName": + "Memory", "performanceCounters": [{"counterName": "Available MBytes Memory"}, + {"counterName": "% Used Memory"}, {"counterName": "% Used Swap Space"}]}, "kind": + "LinuxPerformanceObject"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '259' + Content-Type: + - application/json + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002?api-version=2020-08-01 + response: + body: + string: '{"properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Memory","performanceCounters":[{"counterName":"Available + MBytes Memory"},{"counterName":"% Used Memory"},{"counterName":"% Used Swap + Space"}]},"kind":"LinuxPerformanceObject","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T03%3A14%3A48.1143273Z''\""}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 + cache-control: + - no-cache + content-length: + - '704' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:47 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: 86305039E4424B529D47844C647A6C82 Ref B: MAA201060513031 Ref C: 2024-04-11T03:14:47Z' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"instanceName": "*", "intervalSeconds": 10, "objectName": + "Processor", "performanceCounters": [{"counterName": "% Processor Time"}, {"counterName": + "% Privileged Time"}]}, "kind": "LinuxPerformanceObject"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '221' + Content-Type: + - application/json + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003?api-version=2020-08-01 + response: + body: + string: '{"properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Processor","performanceCounters":[{"counterName":"% + Processor Time"},{"counterName":"% Privileged Time"}]},"kind":"LinuxPerformanceObject","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T03%3A14%3A49.2390213Z''\""}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 + cache-control: + - no-cache + content-length: + - '668' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:48 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: AB9A3B1EDDF44BADBBB8ACCFB584A3EC Ref B: MAA201060513031 Ref C: 2024-04-11T03:14:48Z' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"instanceName": "*", "intervalSeconds": 10, "objectName": + "Logical Disk", "performanceCounters": [{"counterName": "% Used Inodes"}, {"counterName": + "Free Megabytes"}, {"counterName": "% Used Space"}, {"counterName": "Disk Transfers/sec"}, + {"counterName": "Disk Reads/sec"}, {"counterName": "Disk Writes/sec"}]}, "kind": + "LinuxPerformanceObject"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '361' + Content-Type: + - application/json + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004?api-version=2020-08-01 + response: + body: + string: '{"properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Logical + Disk","performanceCounters":[{"counterName":"% Used Inodes"},{"counterName":"Free + Megabytes"},{"counterName":"% Used Space"},{"counterName":"Disk Transfers/sec"},{"counterName":"Disk + Reads/sec"},{"counterName":"Disk Writes/sec"}]},"kind":"LinuxPerformanceObject","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T03%3A14%3A50.7119556Z''\""}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 + cache-control: + - no-cache + content-length: + - '800' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:50 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: B7CE7D8E5ADC48E6B30018BFAFFF9108 Ref B: MAA201060513031 Ref C: 2024-04-11T03:14:49Z' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"instanceName": "*", "intervalSeconds": 10, "objectName": + "Network", "performanceCounters": [{"counterName": "Total Bytes Transmitted"}, + {"counterName": "Total Bytes Received"}]}, "kind": "LinuxPerformanceObject"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '229' + Content-Type: + - application/json + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005?api-version=2020-08-01 + response: + body: + string: '{"properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Network","performanceCounters":[{"counterName":"Total + Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"kind":"LinuxPerformanceObject","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T03%3A14%3A52.2446156Z''\""}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:51 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: 4D6346D9E0D6435AB435DE2D4B02355D Ref B: MAA201060513031 Ref C: 2024-04-11T03:14:51Z' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"state": "Enabled"}, "kind": "LinuxSyslogCollection"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '69' + Content-Type: + - application/json + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006?api-version=2020-08-01 + response: + body: + string: '{"properties":{"state":"Enabled"},"kind":"LinuxSyslogCollection","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","name":"DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T03%3A14%3A53.8202183Z''\""}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 + cache-control: + - no-cache + content-length: + - '523' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:53 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-msedge-ref: + - 'Ref A: D96691C337DD4E9D9C95DAEBF8857232 Ref B: MAA201060513031 Ref C: 2024-04-11T03:14:52Z' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"syslogName": "syslog", "syslogSeverities": [{"severity": + "notice"}, {"severity": "info"}, {"severity": "debug"}]}, "kind": "LinuxSyslog"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '154' + Content-Type: + - application/json + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007?api-version=2020-08-01 + response: + body: + string: '{"properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"kind":"LinuxSyslog","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","name":"DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","type":"Microsoft.OperationalInsights/workspaces/datasources","etag":"W/\"datetime''2024-04-11T03%3A14%3A55.5555685Z''\""}' + headers: + access-control-allow-origin: + - '*' + api-supported-versions: + - 2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, + 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01 + cache-control: + - no-cache + content-length: + - '581' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:55 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: 9940132D55484033A96942A7F6C2BD3B Ref B: MAA201060513031 Ref C: 2024-04-11T03:14:54Z' + status: + code: 200 + message: OK +- request: + body: '{"location": "Global", "properties": {"enabled": true, "groupShortName": + "clitestd6q43"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor action-group create + Connection: + - keep-alive + Content-Length: + - '89' + Content-Type: + - application/json + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/actionGroups/clitest000003?api-version=2022-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/actionGroups/clitest000003","type":"Microsoft.Insights/ActionGroups","name":"clitest000003","location":"Global","kind":null,"tags":null,"properties":{"groupShortName":"clitestd6q43","enabled":true,"emailReceivers":[],"smsReceivers":[],"webhookReceivers":[],"eventHubReceivers":[],"itsmReceivers":[],"azureAppPushReceivers":[],"automationRunbookReceivers":[],"voiceReceivers":[],"logicAppReceivers":[],"azureFunctionReceivers":[],"armRoleReceivers":[]}}' + headers: + access-control-expose-headers: + - x-activityid + api-supported-versions: + - 2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, + 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, + 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview + cache-control: + - no-cache + content-length: + - '593' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:14:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-activityid: + - abc6f7a8-f7b1-11ee-9022-00155d040a01 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-ratelimit-remaining-subscription-resource-requests: + - '24' + x-msedge-ref: + - 'Ref A: 646A27729DA7424DA5C35982A3C89C69 Ref B: MAA201060515029 Ref C: 2024-04-11T03:14:58Z' + x-servedby: + - EUS2ONEIM000003 + status: + code: 201 + message: Created +- request: + body: '{"location": "Global", "properties": {"enabled": true, "groupShortName": + "clitest7zu65"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor action-group create + Connection: + - keep-alive + Content-Length: + - '89' + Content-Type: + - application/json + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/actionGroups/clitest000004?api-version=2022-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/actionGroups/clitest000004","type":"Microsoft.Insights/ActionGroups","name":"clitest000004","location":"Global","kind":null,"tags":null,"properties":{"groupShortName":"clitest7zu65","enabled":true,"emailReceivers":[],"smsReceivers":[],"webhookReceivers":[],"eventHubReceivers":[],"itsmReceivers":[],"azureAppPushReceivers":[],"automationRunbookReceivers":[],"voiceReceivers":[],"logicAppReceivers":[],"azureFunctionReceivers":[],"armRoleReceivers":[]}}' + headers: + access-control-expose-headers: + - x-activityid + api-supported-versions: + - 2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, + 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, + 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview + cache-control: + - no-cache + content-length: + - '593' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:15:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-activityid: + - ae19b44b-f7b1-11ee-acf7-00155d040a01 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-ratelimit-remaining-subscription-resource-requests: + - '24' + x-msedge-ref: + - 'Ref A: 844F8079473F4A2498CEF377A0FC13EB Ref B: MAA201060513025 Ref C: 2024-04-11T03:15:00Z' + x-servedby: + - eus2oneim000000 + status: + code: 201 + message: Created +- request: + body: '{"location": "Global", "properties": {"enabled": true, "groupShortName": + "clitesty7os4"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor action-group create + Connection: + - keep-alive + Content-Length: + - '89' + Content-Type: + - application/json + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/actionGroups/clitest000005?api-version=2022-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/actionGroups/clitest000005","type":"Microsoft.Insights/ActionGroups","name":"clitest000005","location":"Global","kind":null,"tags":null,"properties":{"groupShortName":"clitesty7os4","enabled":true,"emailReceivers":[],"smsReceivers":[],"webhookReceivers":[],"eventHubReceivers":[],"itsmReceivers":[],"azureAppPushReceivers":[],"automationRunbookReceivers":[],"voiceReceivers":[],"logicAppReceivers":[],"azureFunctionReceivers":[],"armRoleReceivers":[]}}' + headers: + access-control-expose-headers: + - x-activityid + api-supported-versions: + - 2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, + 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, + 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview + cache-control: + - no-cache + content-length: + - '593' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:15:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-activityid: + - af8c6c6a-f7b1-11ee-b36a-00155d040a01 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-ms-ratelimit-remaining-subscription-resource-requests: + - '24' + x-msedge-ref: + - 'Ref A: F0FB3E34801D4CAB92D0B46A5F29E661 Ref B: MAA201060516027 Ref C: 2024-04-11T03:15:03Z' + x-servedby: + - EUS2ONEIM000003 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query create + Connection: + - keep-alive + ParameterSetName: + - -g -n --scopes --condition --condition-query --description + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001","name":"cli_test_scheduled_query_update000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query_update_action_group","date":"2024-04-11T03:12:03Z","module":"scheduled-query","Creator":"liwang3@microsoft.com","DateCreated":"2024-04-11T03:12:13Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '500' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:18:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 52EAAFA1B1B14AEEA3FC8532BF327603 Ref B: MAA201060516033 Ref C: 2024-04-11T03:18:06Z' + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"description": "Test rule", "severity": + 2, "enabled": true, "scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1"], + "evaluationFrequency": "PT5M", "windowSize": "PT5M", "criteria": {"allOf": [{"query": + "union Event, Syslog | where TimeGenerated > ago(1h)", "timeAggregation": "Count", + "dimensions": [], "operator": "GreaterThan", "threshold": 360.0, "failingPeriods": + {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": 1}}]}, "actions": + {"actionGroups": [], "customProperties": {}}, "checkWorkspaceAlertsStorageConfigured": + false, "skipQueryValidation": false, "autoMitigate": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query create + Connection: + - keep-alive + Content-Length: + - '745' + Content-Type: + - application/json + ParameterSetName: + - -g -n --scopes --condition --condition-query --description + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T03:18:07.6525381Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T03:18:07.6525381Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' + headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview + cache-control: + - no-cache + content-length: + - '1150' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:18:14 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=8e83e65379c0d8cc5ed54c78e7f40d5ce2c9fd1dd99cad3634c820a660c28aa4;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=8e83e65379c0d8cc5ed54c78e7f40d5ce2c9fd1dd99cad3634c820a660c28aa4;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: DE9A4F0CC0AE452588547D16B3E090AC Ref B: MAA201060515047 Ref C: 2024-04-11T03:18:06Z' + x-powered-by: + - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '29' + x-rate-limit-reset: + - '2024-04-11T03:19:08.7373865Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query update + Connection: + - keep-alive + ParameterSetName: + - -g -n --description --severity --disabled --evaluation-frequency --window-size + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T03:18:07.6525381Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T03:18:07.6525381Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' + headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview + cache-control: + - no-cache + content-length: + - '1150' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:18:17 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=527877290ecbfb9a829256921dee25802d455287ca06843990e419242e57faa5;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=527877290ecbfb9a829256921dee25802d455287ca06843990e419242e57faa5;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 43F4C66E0E6E481CB6E8161484F306F5 Ref B: MAA201060514009 Ref C: 2024-04-11T03:18:15Z' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"description": "Test rule 2", "severity": + 4, "enabled": false, "scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1"], + "evaluationFrequency": "PT10M", "windowSize": "PT10M", "criteria": {"allOf": + [{"query": "union Event, Syslog | where TimeGenerated > ago(1h)", "timeAggregation": + "Count", "dimensions": [], "operator": "GreaterThan", "threshold": 360.0, "failingPeriods": + {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": 1}}]}, "actions": + {}, "checkWorkspaceAlertsStorageConfigured": false, "skipQueryValidation": false, + "autoMitigate": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query update + Connection: + - keep-alive + Content-Length: + - '708' + Content-Type: + - application/json + ParameterSetName: + - -g -n --description --severity --disabled --evaluation-frequency --window-size + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T03:18:07.6525381Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T03:18:18.2774195Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + rule 2","severity":4,"enabled":false,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' + headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview + cache-control: + - no-cache + content-length: + - '1155' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:18:21 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=9b203f4dd669eec9410e06227637c97cbf17a45d62bb74fb160220a31f240b30;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=9b203f4dd669eec9410e06227637c97cbf17a45d62bb74fb160220a31f240b30;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: 7FDD547A73E24ED3891D66DC5A132667 Ref B: MAA201060516023 Ref C: 2024-04-11T03:18:17Z' + x-powered-by: + - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '29' + x-rate-limit-reset: + - '2024-04-11T03:19:19.2858206Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query update + Connection: + - keep-alive + ParameterSetName: + - -g -n --mad --auto-mitigate --skip-query-validation --action-groups --custom-properties + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T03:18:07.6525381Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T03:18:18.2774195Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + rule 2","severity":4,"enabled":false,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' + headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview + cache-control: + - no-cache + content-length: + - '1155' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:18:23 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=8937d6d9195b95556011246d3e1dc6d7ea257d7e79b10769150a240ffa8f0494;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=8937d6d9195b95556011246d3e1dc6d7ea257d7e79b10769150a240ffa8f0494;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 1B23F575701449DCA4C8A4C4E582E393 Ref B: MAA201060513045 Ref C: 2024-04-11T03:18:22Z' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"description": "Test rule 2", "severity": + 4, "enabled": true, "scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1"], + "evaluationFrequency": "PT10M", "windowSize": "PT10M", "criteria": {"allOf": + [{"query": "union Event, Syslog | where TimeGenerated > ago(1h)", "timeAggregation": + "Count", "dimensions": [], "operator": "GreaterThan", "threshold": 360.0, "failingPeriods": + {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": 1}}]}, "muteActionsDuration": + "PT30M", "actions": {"actionGroups": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/actionGroups/clitest000003"], + "customProperties": {"k1": "v1"}}, "checkWorkspaceAlertsStorageConfigured": + false, "skipQueryValidation": true, "autoMitigate": false}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query update + Connection: + - keep-alive + Content-Length: + - '953' + Content-Type: + - application/json + ParameterSetName: + - -g -n --mad --auto-mitigate --skip-query-validation --action-groups --custom-properties + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T03:18:07.6525381Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T03:18:25.3318758Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + rule 2","severity":4,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":false,"muteActionsDuration":"PT30M","actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/actionGroups/clitest000003"],"customProperties":{"k1":"v1"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":true}}' + headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview + cache-control: + - no-cache + content-length: + - '1407' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:18:28 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=71c5ecfca949e38fa6d8b6899df69a8bc1065f71ea6211c776e43d3b7b216b7d;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=71c5ecfca949e38fa6d8b6899df69a8bc1065f71ea6211c776e43d3b7b216b7d;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: 51D4C3789EC14193A1EF190EA9E285F2 Ref B: MAA201060513031 Ref C: 2024-04-11T03:18:24Z' + x-powered-by: + - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '29' + x-rate-limit-reset: + - '2024-04-11T03:19:26.6889309Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query create + Connection: + - keep-alive + ParameterSetName: + - -g -n --scopes --condition --description --action-groups --custom-properties + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query_update000001?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001","name":"cli_test_scheduled_query_update000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_scheduled_query_update_action_group","date":"2024-04-11T03:12:03Z","module":"scheduled-query","Creator":"liwang3@microsoft.com","DateCreated":"2024-04-11T03:12:13Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '500' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:18:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 232A36314F744BCBB1B0A692B01A5947 Ref B: MAA201060516019 Ref C: 2024-04-11T03:18:30Z' + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"description": "Test rule", "severity": + 2, "enabled": true, "scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001"], + "evaluationFrequency": "PT5M", "windowSize": "PT5M", "criteria": {"allOf": [{"query": + "union Event, Syslog | where TimeGenerated > ago(1h)", "timeAggregation": "Count", + "resourceIdColumn": "_ResourceId", "dimensions": [], "operator": "GreaterThan", + "threshold": 360.0, "failingPeriods": {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": + 1}}]}, "actions": {"actionGroups": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/actionGroups/clitest000003"], + "customProperties": {"k1": "v1"}}, "checkWorkspaceAlertsStorageConfigured": + false, "skipQueryValidation": false, "autoMitigate": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query create + Connection: + - keep-alive + Content-Length: + - '902' + Content-Type: + - application/json + ParameterSetName: + - -g -n --scopes --condition --description --action-groups --custom-properties + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/scheduledQueryRules/sq02?api-version=2021-08-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T03:18:32.3757117Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T03:18:32.3757117Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/actionGroups/clitest000003"],"customProperties":{"k1":"v1"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' + headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview + cache-control: + - no-cache + content-length: + - '1356' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:18:36 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=9b203f4dd669eec9410e06227637c97cbf17a45d62bb74fb160220a31f240b30;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=9b203f4dd669eec9410e06227637c97cbf17a45d62bb74fb160220a31f240b30;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: 7D6F83FAE41A484F82929F538833FA44 Ref B: MAA201060515031 Ref C: 2024-04-11T03:18:31Z' + x-powered-by: + - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '28' + x-rate-limit-reset: + - '2024-04-11T03:19:19.2858206Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query update + Connection: + - keep-alive + ParameterSetName: + - -g -n --action-groups --custom-properties + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/scheduledQueryRules/sq02?api-version=2021-08-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T03:18:32.3757117Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T03:18:32.3757117Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/actionGroups/clitest000003"],"customProperties":{"k1":"v1"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' + headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview + cache-control: + - no-cache + content-length: + - '1356' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:18:39 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=3e7b782186a30014a0b7d72b5e7d1ec8d51c1f4dd874c70959b76530e9a37dd3;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=3e7b782186a30014a0b7d72b5e7d1ec8d51c1f4dd874c70959b76530e9a37dd3;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 7A64944A3F8C49868B1EEC4763C06557 Ref B: MAA201060516029 Ref C: 2024-04-11T03:18:37Z' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"description": "Test rule", "severity": + 2, "enabled": true, "scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001"], + "evaluationFrequency": "PT5M", "windowSize": "PT5M", "criteria": {"allOf": [{"query": + "union Event, Syslog | where TimeGenerated > ago(1h)", "timeAggregation": "Count", + "resourceIdColumn": "_ResourceId", "dimensions": [], "operator": "GreaterThan", + "threshold": 360.0, "failingPeriods": {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": + 1}}]}, "actions": {"actionGroups": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/actionGroups/clitest000004"], + "customProperties": {"k2": "v2"}}, "checkWorkspaceAlertsStorageConfigured": + false, "skipQueryValidation": false, "autoMitigate": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query update + Connection: + - keep-alive + Content-Length: + - '902' + Content-Type: + - application/json + ParameterSetName: + - -g -n --action-groups --custom-properties + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/scheduledQueryRules/sq02?api-version=2021-08-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T03:18:32.3757117Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T03:18:40.4445527Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/actionGroups/clitest000004"],"customProperties":{"k2":"v2"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' + headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview + cache-control: + - no-cache + content-length: + - '1356' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:18:44 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=8da9fd8a58307db44c5e2537763b485cda47aafbc0e99fdead97c7a9c647728f;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=8da9fd8a58307db44c5e2537763b485cda47aafbc0e99fdead97c7a9c647728f;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-msedge-ref: + - 'Ref A: 14EE95134DDD4D689706B7983EFACBB4 Ref B: MAA201060516047 Ref C: 2024-04-11T03:18:40Z' + x-powered-by: + - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '29' + x-rate-limit-reset: + - '2024-04-11T03:19:41.4715513Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/scheduledQueryRules?api-version=2021-08-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T03:18:07.6525381Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T03:18:25.3318758Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + rule 2","severity":4,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":false,"muteActionsDuration":"PT30M","actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/actionGroups/clitest000003"],"customProperties":{"k1":"v1"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":true}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"Microsoft.Insights/scheduledQueryRules","location":"eastus","systemData":{"createdBy":"liwang3@microsoft.com","createdByType":"User","createdAt":"2024-04-11T03:18:32.3757117Z","lastModifiedBy":"liwang3@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-04-11T03:18:40.4445527Z"},"properties":{"createdWithApiVersion":"2021-08-01","description":"Test + rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/microsoft.insights/actionGroups/clitest000004"],"customProperties":{"k2":"v2"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}]}' + headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview + cache-control: + - no-cache + content-length: + - '2776' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 11 Apr 2024 03:18:46 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=422ac376cf9a5b730208f246fe2886eb9014a2316736b65af73d6017dda009cc;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=422ac376cf9a5b730208f246fe2886eb9014a2316736b65af73d6017dda009cc;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-msedge-ref: + - 'Ref A: 8D56BDD08E8541BFACDF1CF0C88503EA Ref B: MAA201060515033 Ref C: 2024-04-11T03:18:45Z' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n -y + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-08-01 + response: + body: + string: '' + headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 11 Apr 2024 03:18:55 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=023a45785bdace8159926e32ed246de2ecb9ebb01ac6c32b6774e624489f5dd2;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=023a45785bdace8159926e32ed246de2ecb9ebb01ac6c32b6774e624489f5dd2;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + x-msedge-ref: + - 'Ref A: 5DB3E9C748954C3D8EE57D6BF433B659 Ref B: MAA201060516023 Ref C: 2024-04-11T03:18:48Z' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n -y + User-Agent: + - AZURECLI/2.59.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.19045-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query_update000001/providers/Microsoft.Insights/scheduledQueryRules/sq02?api-version=2021-08-01 + response: + body: + string: '' + headers: + api-supported-versions: + - 2017-09-01-preview, 2017-09-01, 2018-04-16, 2020-05-01-preview, 2021-02-01-preview, + 2021-08-01, 2022-06-15, 2022-08-01-preview, 2023-03-15-preview, 2023-12-01, + 2024-01-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 11 Apr 2024 03:19:05 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=8da9fd8a58307db44c5e2537763b485cda47aafbc0e99fdead97c7a9c647728f;Path=/;HttpOnly;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + - ARRAffinitySameSite=8da9fd8a58307db44c5e2537763b485cda47aafbc0e99fdead97c7a9c647728f;Path=/;HttpOnly;SameSite=None;Secure;Domain=lsa-eastus-prod.alertsrp.trafficmanager.net + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + x-msedge-ref: + - 'Ref A: D21964A182114270AAE414C2D12D4036 Ref B: MAA201060513021 Ref C: 2024-04-11T03:18:56Z' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/scheduled-query/azext_scheduled_query/tests/latest/test_scheduled_query_scenario.py b/src/scheduled-query/azext_scheduled_query/tests/latest/test_scheduled_query_scenario.py index 8b7071080a3..f7d07e63180 100644 --- a/src/scheduled-query/azext_scheduled_query/tests/latest/test_scheduled_query_scenario.py +++ b/src/scheduled-query/azext_scheduled_query/tests/latest/test_scheduled_query_scenario.py @@ -30,7 +30,7 @@ def test_scheduled_query(self, resource_group): 'action_group2': self.create_random_name('clitest', 20) }) with mock.patch('azure.cli.command_modules.vm.custom._gen_guid', side_effect=self.create_guid): - vm = self.cmd('vm create -n {vm} -g {rg} --image UbuntuLTS --nsg-rule None --workspace {ws} --generate-ssh-keys').get_output_in_json() + vm = self.cmd('vm create -n {vm} -g {rg} --image Ubuntu2204 --nsg-rule None --workspace {ws} --generate-ssh-keys').get_output_in_json() self.kwargs.update({ 'vm_id': vm['id'], 'rg_id': resource_id(subscription=self.get_subscription_id(), @@ -90,11 +90,11 @@ def test_scheduled_query(self, resource_group): }) self.cmd('monitor scheduled-query create -g {rg} -n {name3} --scopes {rg_id} --condition "count \'union Event, Syslog | where TimeGenerated > ago(1h)\' > 360 resource id _ResourceId" --description "Test rule" --action-groups {action_group_id_1} --custom-properties k1=v1', checks=[ self.check('actions.actionGroups', [action_group_1['id']]), - self.check('actions.customProperties', {'k1':'v1'}) + self.check('actions.customProperties', {'k1': 'v1'}) ]) self.cmd('monitor scheduled-query update -g {rg} -n {name3} --action-groups {action_group_id_2} --custom-properties k2=v2', checks=[ self.check('actions.actionGroups', [action_group_2['id']]), - self.check('actions.customProperties', {'k2':'v2'}) + self.check('actions.customProperties', {'k2': 'v2'}) ]) self.cmd('monitor scheduled-query show -g {rg} -n {name1}', checks=[ @@ -112,6 +112,90 @@ def test_scheduled_query(self, resource_group): self.cmd('monitor scheduled-query show -g {rg} -n {name1}') + @ResourceGroupPreparer(name_prefix='cli_test_scheduled_query_update', location='eastus') + def test_scheduled_query_update_action_group(self, resource_group): + from azure.mgmt.core.tools import resource_id + import time + from unittest import mock + self.kwargs.update({ + 'name1': 'sq01', + 'name2': 'sq02', + 'rg': resource_group, + 'vm': 'myvm1', + 'ws': self.create_random_name('clitest', 20), + 'action_group1': self.create_random_name('clitest', 20), + 'action_group2': self.create_random_name('clitest', 20), + 'action_group3': self.create_random_name('clitest', 20) + }) + with mock.patch('azure.cli.command_modules.vm.custom._gen_guid', side_effect=self.create_guid): + vm = self.cmd('vm create -n {vm} -g {rg} --image Ubuntu2204 --nsg-rule None --workspace {ws} --generate-ssh-keys').get_output_in_json() + self.kwargs.update({ + 'vm_id': vm['id'], + 'rg_id': resource_id(subscription=self.get_subscription_id(), + resource_group=resource_group), + 'sub_id': resource_id(subscription=self.get_subscription_id(), + resource_group=resource_group), + }) + action_group_1 = self.cmd('monitor action-group create -n {action_group1} -g {rg}').get_output_in_json() + action_group_2 = self.cmd('monitor action-group create -n {action_group2} -g {rg}').get_output_in_json() + action_group_3 = self.cmd('monitor action-group create -n {action_group3} -g {rg}').get_output_in_json() + self.kwargs.update({ + 'action_group_id_1': action_group_1['id'], + 'action_group_id_2': action_group_2['id'], + 'action_group_id_3': action_group_3['id'] + }) + self.cmd('monitor scheduled-query create -g {rg} -n {name1} --scopes {vm_id} --condition "count \'placeholder_1\' > 360" --condition-query placeholder_1="union Event, Syslog | where TimeGenerated > ago(1h)" --description "Test rule"', + checks=[ + self.check('name', '{name1}'), + self.check('scopes[0]', '{vm_id}'), + self.check('severity', 2), + self.check('actions', None), + self.check('criteria.allOf[0].query', 'union Event, Syslog | where TimeGenerated > ago(1h)'), + self.check('criteria.allOf[0].threshold', 360), + self.check('criteria.allOf[0].timeAggregation', 'Count'), + self.check('criteria.allOf[0].operator', 'GreaterThan'), + self.check('criteria.allOf[0].failingPeriods.minFailingPeriodsToAlert', 1), + self.check('criteria.allOf[0].failingPeriods.numberOfEvaluationPeriods', 1), + self.check('criteria.allOf[0].failingPeriods.minFailingPeriodsToAlert', 1), + self.check('criteria.allOf[0].failingPeriods.numberOfEvaluationPeriods', 1), + self.check('autoMitigate', True), + self.check('skipQueryValidation', False), + self.check('checkWorkspaceAlertsStorageConfigured', False) + ]) + self.cmd('monitor scheduled-query update -g {rg} -n {name1} --description "Test rule 2" --severity 4 --disabled --evaluation-frequency 10m --window-size 10m', + checks=[ + self.check('name', '{name1}'), + self.check('scopes[0]', '{vm_id}'), + self.check('severity', 4), + self.check('windowSize', '0:10:00'), + self.check('evaluationFrequency', '0:10:00') + ]) + self.cmd('monitor scheduled-query update -g {rg} -n {name1} --mad PT30M --auto-mitigate False --skip-query-validation True --action-groups {action_group_id_1} --custom-properties k1=v1', + checks=[ + self.check('skipQueryValidation', True), + self.check('muteActionsDuration', '0:30:00'), + self.check('actions.actionGroups', [action_group_1['id']]), + self.check('actions.customProperties', {'k1': 'v1'}), + self.check('autoMitigate', False) + ]) + + self.cmd('monitor scheduled-query create -g {rg} -n {name2} --scopes {rg_id} --condition "count \'union Event, Syslog | where TimeGenerated > ago(1h)\' > 360 resource id _ResourceId" --description "Test rule" --action-groups {action_group_id_1} --custom-properties k1=v1', checks=[ + self.check('actions.actionGroups', [action_group_1['id']]), + self.check('actions.customProperties', {'k1':'v1'}) + ]) + + self.cmd('monitor scheduled-query update -g {rg} -n {name2} --action-groups {action_group_id_2} --custom-properties k2=v2', checks=[ + self.check('actions.actionGroups', [action_group_2['id']]), + self.check('actions.customProperties', {'k2':'v2'}) + ]) + self.cmd('monitor scheduled-query list -g {rg}', + checks=[ + self.check('length(@)', 2) + ]) + self.cmd('monitor scheduled-query delete -g {rg} -n {name1} -y') + self.cmd('monitor scheduled-query delete -g {rg} -n {name2} -y') + + @ResourceGroupPreparer(name_prefix='cli_test_scheduled_query_operator', location='eastus') def test_scheduled_query_condition_operator(self, resource_group): from azure.mgmt.core.tools import resource_id @@ -124,7 +208,7 @@ def test_scheduled_query_condition_operator(self, resource_group): 'ws': self.create_random_name('clitest', 20), }) with mock.patch('azure.cli.command_modules.vm.custom._gen_guid', side_effect=self.create_guid): - vm = self.cmd('vm create -n {vm} -g {rg} --image UbuntuLTS --nsg-rule None --workspace {ws} --generate-ssh-keys').get_output_in_json() + vm = self.cmd('vm create -n {vm} -g {rg} --image Ubuntu2204 --nsg-rule None --workspace {ws} --generate-ssh-keys').get_output_in_json() self.kwargs.update({ 'vm_id': vm['id'], 'rg_id': resource_id(subscription=self.get_subscription_id(), diff --git a/src/scheduled-query/setup.py b/src/scheduled-query/setup.py index 8dc7dd4e848..b43ebcd3b8c 100644 --- a/src/scheduled-query/setup.py +++ b/src/scheduled-query/setup.py @@ -16,7 +16,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '0.5.3' +VERSION = '1.0.0b1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers